Documentation
¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: b20fd3fa36a90f0d2dfc51a0390f2c30f66d1b12329c79ff0dea63ed2849f592 Version: 0.1.3
Code generated by fastssz. DO NOT EDIT. Hash: b20fd3fa36a90f0d2dfc51a0390f2c30f66d1b12329c79ff0dea63ed2849f592 Version: 0.1.3
Code generated by fastssz. DO NOT EDIT. Hash: b20fd3fa36a90f0d2dfc51a0390f2c30f66d1b12329c79ff0dea63ed2849f592 Version: 0.1.3
Index ¶
- type BlobsBundle
- func (b *BlobsBundle) GetTree() (*ssz.Node, error)
- func (b *BlobsBundle) HashTreeRoot() ([32]byte, error)
- func (b *BlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BlobsBundle) MarshalJSON() ([]byte, error)
- func (b *BlobsBundle) MarshalSSZ() ([]byte, error)
- func (b *BlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BlobsBundle) MarshalYAML() ([]byte, error)
- func (b *BlobsBundle) SizeSSZ() (size int)
- func (b *BlobsBundle) String() string
- func (b *BlobsBundle) UnmarshalJSON(input []byte) error
- func (b *BlobsBundle) UnmarshalSSZ(buf []byte) error
- func (b *BlobsBundle) UnmarshalYAML(input []byte) error
- type ExecutionPayloadAndBlobsBundle
- func (e *ExecutionPayloadAndBlobsBundle) GetTree() (*ssz.Node, error)
- func (e *ExecutionPayloadAndBlobsBundle) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadAndBlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (e *ExecutionPayloadAndBlobsBundle) MarshalJSON() ([]byte, error)
- func (e *ExecutionPayloadAndBlobsBundle) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadAndBlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ExecutionPayloadAndBlobsBundle) MarshalYAML() ([]byte, error)
- func (e *ExecutionPayloadAndBlobsBundle) SizeSSZ() (size int)
- func (e *ExecutionPayloadAndBlobsBundle) String() string
- func (e *ExecutionPayloadAndBlobsBundle) UnmarshalJSON(input []byte) error
- func (e *ExecutionPayloadAndBlobsBundle) UnmarshalSSZ(buf []byte) error
- func (e *ExecutionPayloadAndBlobsBundle) UnmarshalYAML(input []byte) error
- type SubmitBlockRequest
- func (s *SubmitBlockRequest) GetTree() (*ssz.Node, error)
- func (s *SubmitBlockRequest) HashTreeRoot() ([32]byte, error)
- func (s *SubmitBlockRequest) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SubmitBlockRequest) MarshalJSON() ([]byte, error)
- func (s *SubmitBlockRequest) MarshalSSZ() ([]byte, error)
- func (s *SubmitBlockRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SubmitBlockRequest) MarshalYAML() ([]byte, error)
- func (s *SubmitBlockRequest) SizeSSZ() (size int)
- func (s *SubmitBlockRequest) String() string
- func (s *SubmitBlockRequest) UnmarshalJSON(input []byte) error
- func (s *SubmitBlockRequest) UnmarshalSSZ(buf []byte) error
- func (s *SubmitBlockRequest) UnmarshalYAML(input []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobsBundle ¶
type BlobsBundle struct {
Commitments []deneb.KZGCommitment `ssz-max:"4096" ssz-size:"?,48"`
Proofs []deneb.KZGProof `ssz-max:"33554432" ssz-size:"?,48"`
Blobs []deneb.Blob `ssz-max:"4096" ssz-size:"?,131072"`
}
BlobsBundle is the structure used to store the blobs bundle.
func (*BlobsBundle) GetTree ¶
func (b *BlobsBundle) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BlobsBundle object
func (*BlobsBundle) HashTreeRoot ¶
func (b *BlobsBundle) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BlobsBundle object
func (*BlobsBundle) HashTreeRootWith ¶
func (b *BlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BlobsBundle object with a hasher
func (*BlobsBundle) MarshalJSON ¶
func (b *BlobsBundle) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BlobsBundle) MarshalSSZ ¶
func (b *BlobsBundle) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BlobsBundle object
func (*BlobsBundle) MarshalSSZTo ¶
func (b *BlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BlobsBundle object to a target array
func (*BlobsBundle) MarshalYAML ¶
func (b *BlobsBundle) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BlobsBundle) SizeSSZ ¶
func (b *BlobsBundle) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BlobsBundle object
func (*BlobsBundle) String ¶
func (b *BlobsBundle) String() string
String returns a string version of the structure.
func (*BlobsBundle) UnmarshalJSON ¶
func (b *BlobsBundle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*BlobsBundle) UnmarshalSSZ ¶
func (b *BlobsBundle) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BlobsBundle object
func (*BlobsBundle) UnmarshalYAML ¶
func (b *BlobsBundle) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type ExecutionPayloadAndBlobsBundle ¶
type ExecutionPayloadAndBlobsBundle struct {
ExecutionPayload *deneb.ExecutionPayload
BlobsBundle *BlobsBundle
}
ExecutionPayloadAndBlobsBundle represents an execution layer payload.
func (*ExecutionPayloadAndBlobsBundle) GetTree ¶
func (e *ExecutionPayloadAndBlobsBundle) GetTree() (*ssz.Node, error)
GetTree ssz hashes the ExecutionPayloadAndBlobsBundle object
func (*ExecutionPayloadAndBlobsBundle) HashTreeRoot ¶
func (e *ExecutionPayloadAndBlobsBundle) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadAndBlobsBundle object
func (*ExecutionPayloadAndBlobsBundle) HashTreeRootWith ¶
func (e *ExecutionPayloadAndBlobsBundle) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadAndBlobsBundle object with a hasher
func (*ExecutionPayloadAndBlobsBundle) MarshalJSON ¶
func (e *ExecutionPayloadAndBlobsBundle) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ExecutionPayloadAndBlobsBundle) MarshalSSZ ¶
func (e *ExecutionPayloadAndBlobsBundle) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadAndBlobsBundle object
func (*ExecutionPayloadAndBlobsBundle) MarshalSSZTo ¶
func (e *ExecutionPayloadAndBlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadAndBlobsBundle object to a target array
func (*ExecutionPayloadAndBlobsBundle) MarshalYAML ¶
func (e *ExecutionPayloadAndBlobsBundle) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*ExecutionPayloadAndBlobsBundle) SizeSSZ ¶
func (e *ExecutionPayloadAndBlobsBundle) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadAndBlobsBundle object
func (*ExecutionPayloadAndBlobsBundle) String ¶
func (e *ExecutionPayloadAndBlobsBundle) String() string
String returns a string version of the structure.
func (*ExecutionPayloadAndBlobsBundle) UnmarshalJSON ¶
func (e *ExecutionPayloadAndBlobsBundle) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*ExecutionPayloadAndBlobsBundle) UnmarshalSSZ ¶
func (e *ExecutionPayloadAndBlobsBundle) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadAndBlobsBundle object
func (*ExecutionPayloadAndBlobsBundle) UnmarshalYAML ¶
func (e *ExecutionPayloadAndBlobsBundle) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type SubmitBlockRequest ¶
type SubmitBlockRequest struct {
Message *apiv1.BidTrace
ExecutionPayload *deneb.ExecutionPayload
BlobsBundle *BlobsBundle
ExecutionRequests *electra.ExecutionRequests
Signature phase0.BLSSignature `ssz-size:"96"`
}
SubmitBlockRequest is the request from the builder to submit a block.
func (*SubmitBlockRequest) GetTree ¶
func (s *SubmitBlockRequest) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SubmitBlockRequest object
func (*SubmitBlockRequest) HashTreeRoot ¶
func (s *SubmitBlockRequest) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SubmitBlockRequest object
func (*SubmitBlockRequest) HashTreeRootWith ¶
func (s *SubmitBlockRequest) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SubmitBlockRequest object with a hasher
func (*SubmitBlockRequest) MarshalJSON ¶
func (s *SubmitBlockRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*SubmitBlockRequest) MarshalSSZ ¶
func (s *SubmitBlockRequest) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SubmitBlockRequest object
func (*SubmitBlockRequest) MarshalSSZTo ¶
func (s *SubmitBlockRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SubmitBlockRequest object to a target array
func (*SubmitBlockRequest) MarshalYAML ¶
func (s *SubmitBlockRequest) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*SubmitBlockRequest) SizeSSZ ¶
func (s *SubmitBlockRequest) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SubmitBlockRequest object
func (*SubmitBlockRequest) String ¶
func (s *SubmitBlockRequest) String() string
String returns a string version of the structure.
func (*SubmitBlockRequest) UnmarshalJSON ¶
func (s *SubmitBlockRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*SubmitBlockRequest) UnmarshalSSZ ¶
func (s *SubmitBlockRequest) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SubmitBlockRequest object
func (*SubmitBlockRequest) UnmarshalYAML ¶
func (s *SubmitBlockRequest) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
Source Files
¶
- blobsbundle.go
- blobsbundle_json.go
- blobsbundle_ssz.go
- blobsbundle_yaml.go
- executionpayloadandblobsbundle.go
- executionpayloadandblobsbundle_json.go
- executionpayloadandblobsbundle_ssz.go
- executionpayloadandblobsbundle_yaml.go
- generate.go
- submitblockrequest.go
- submitblockrequest_json.go
- submitblockrequest_ssz.go
- submitblockrequest_yaml.go