spec

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: Apache-2.0 Imports: 6 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderVersion

type BuilderVersion int

BuilderVersion defines the builder spec version.

const (
	// BuilderVersionV1 is applicable for the V1 release of the builder spec.
	BuilderVersionV1 BuilderVersion = iota
)

func (*BuilderVersion) MarshalJSON

func (d *BuilderVersion) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (BuilderVersion) String

func (d BuilderVersion) String() string

String returns a string representation of the

func (*BuilderVersion) UnmarshalJSON

func (d *BuilderVersion) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

type VersionedSignedBuilderBid

type VersionedSignedBuilderBid struct {
	Version consensusspec.DataVersion   `json:"version"`
	Data    *bellatrix.SignedBuilderBid `json:"data,omitempty"`
}

VersionedSignedBuilderBid contains a versioned signed builder bid.

func (*VersionedSignedBuilderBid) IsEmpty

func (v *VersionedSignedBuilderBid) IsEmpty() bool

IsEmpty returns true if there is no bid.

func (*VersionedSignedBuilderBid) String

func (v *VersionedSignedBuilderBid) String() string

String returns a string version of the structure.

func (*VersionedSignedBuilderBid) TransactionsRoot added in v0.1.1

func (v *VersionedSignedBuilderBid) TransactionsRoot() (phase0.Root, error)

TransactionsRoot returns the transactions root of the bid.

Jump to

Keyboard shortcuts

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