relay

package
v0.0.0-...-2cc199d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address [20]byte

func (Address) String

func (e Address) String() string

type BLSPubKey

type BLSPubKey [48]byte

func (BLSPubKey) String

func (h BLSPubKey) String() string

type BuilderBlockBid

type BuilderBlockBid struct {
	Pubkey phase0.BLSPubKey `json:"pubkey" ssz-size:"48"`

	Value *big.Int `json:"value"`

	ExecutionPayloadHeader *commonTypes.VersionedExecutionPayloadHeader `json:"header"`
}

BuilderBlockBid is a BuilderBlockBid similar to builder.BuilderBlockBid This is just leaner with only necessary feilds passed to valiator proxy software

func (*BuilderBlockBid) GetTree

func (b *BuilderBlockBid) GetTree() (*ssz.Node, error)

GetTree ssz hashes the BidPayload object

func (*BuilderBlockBid) HashTreeRoot

func (b *BuilderBlockBid) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BidPayload object

func (*BuilderBlockBid) HashTreeRootWith

func (b *BuilderBlockBid) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the BidPayload object with a hasher

type EcdsaAddress

type EcdsaAddress [20]byte

func (EcdsaAddress) String

func (e EcdsaAddress) String() string

type EcdsaSignature

type EcdsaSignature [65]byte

func (EcdsaSignature) String

func (e EcdsaSignature) String() string

type Hash

type Hash [32]byte

func (Hash) String

func (h Hash) String() string

type Signature

type Signature phase0.BLSSignature

type SignedBuilderBlockBid

type SignedBuilderBlockBid struct {
	Message   *BuilderBlockBid    `json:"message"`
	Signature phase0.BLSSignature `ssz-size:"96"`
}

SignedBuilderBlockBid is a signed BuilderBlockBid similar to builder.SignedBuilderBlockBid

type Transaction

type Transaction []byte

func (Transaction) String

func (t Transaction) String() string

type ValidatorIndexes

type ValidatorIndexes struct {
	Mu                   sync.Mutex
	ValidatorPubkeyIndex map[string]uint64
	ValidatorIndexPubkey map[uint64]string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL