Documentation
¶
Overview ¶
Code generated by dynamic-ssz. DO NOT EDIT. Hash: f8041a7afb0a99b84827b9e4491e29ef67a8548aaff51736b43e448612b4dbdb Version: v1.3.1 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 1b94c82e334df324c6304a6dd3c2687fa700d2df4b27ce8d4a59072a32a85aab Version: v1.3.1 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: b4bbcd70ab0ab973423a54de96a4e9d745c321eabe630fa1c49273bdb1256f6b Version: v1.3.1 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: d867d17c7c05702a658c20fe70e41d27422b1fdf1ed2c32b8d8741e798bac8a2 Version: v1.3.1 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 6ac13cd747b4e17741252b9388f6f32a3ad46f8a13c060e2be30bcbbb4898afd Version: v1.3.1 (https://github.com/pk910/dynamic-ssz)
Index ¶
- type BlindedBeaconBlock
- func (t *BlindedBeaconBlock) HashTreeRoot() (root [32]byte, err error)
- func (t *BlindedBeaconBlock) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BlindedBeaconBlock) MarshalJSON() ([]byte, error)
- func (t *BlindedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (t *BlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BlindedBeaconBlock) MarshalYAML() ([]byte, error)
- func (t *BlindedBeaconBlock) SizeSSZ() (size int)
- func (b *BlindedBeaconBlock) String() string
- func (b *BlindedBeaconBlock) UnmarshalJSON(input []byte) error
- func (t *BlindedBeaconBlock) UnmarshalSSZ(buf []byte) (err error)
- func (b *BlindedBeaconBlock) UnmarshalYAML(input []byte) error
- type BlindedBeaconBlockBody
- func (t *BlindedBeaconBlockBody) HashTreeRoot() (root [32]byte, err error)
- func (t *BlindedBeaconBlockBody) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BlindedBeaconBlockBody) MarshalJSON() ([]byte, error)
- func (t *BlindedBeaconBlockBody) MarshalSSZ() ([]byte, error)
- func (t *BlindedBeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BlindedBeaconBlockBody) MarshalYAML() ([]byte, error)
- func (t *BlindedBeaconBlockBody) SizeSSZ() (size int)
- func (b *BlindedBeaconBlockBody) String() string
- func (b *BlindedBeaconBlockBody) UnmarshalJSON(input []byte) error
- func (t *BlindedBeaconBlockBody) UnmarshalSSZ(buf []byte) (err error)
- func (b *BlindedBeaconBlockBody) UnmarshalYAML(input []byte) error
- type BlockContents
- func (t *BlockContents) HashTreeRoot() (root [32]byte, err error)
- func (t *BlockContents) HashTreeRootWith(hh sszutils.HashWalker) error
- func (b *BlockContents) MarshalJSON() ([]byte, error)
- func (t *BlockContents) MarshalSSZ() ([]byte, error)
- func (t *BlockContents) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BlockContents) MarshalYAML() ([]byte, error)
- func (t *BlockContents) SizeSSZ() (size int)
- func (b *BlockContents) String() string
- func (b *BlockContents) UnmarshalJSON(input []byte) error
- func (t *BlockContents) UnmarshalSSZ(buf []byte) (err error)
- func (b *BlockContents) UnmarshalYAML(input []byte) error
- type SignedBlindedBeaconBlock
- func (t *SignedBlindedBeaconBlock) HashTreeRoot() (root [32]byte, err error)
- func (t *SignedBlindedBeaconBlock) HashTreeRootWith(hh sszutils.HashWalker) error
- func (s *SignedBlindedBeaconBlock) MarshalJSON() ([]byte, error)
- func (t *SignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (t *SignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedBlindedBeaconBlock) MarshalYAML() ([]byte, error)
- func (t *SignedBlindedBeaconBlock) SizeSSZ() (size int)
- func (s *SignedBlindedBeaconBlock) String() string
- func (s *SignedBlindedBeaconBlock) UnmarshalJSON(input []byte) error
- func (t *SignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) (err error)
- func (s *SignedBlindedBeaconBlock) UnmarshalYAML(input []byte) error
- type SignedBlockContents
- func (t *SignedBlockContents) HashTreeRoot() (root [32]byte, err error)
- func (t *SignedBlockContents) HashTreeRootWith(hh sszutils.HashWalker) error
- func (s *SignedBlockContents) MarshalJSON() ([]byte, error)
- func (t *SignedBlockContents) MarshalSSZ() ([]byte, error)
- func (t *SignedBlockContents) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedBlockContents) MarshalYAML() ([]byte, error)
- func (t *SignedBlockContents) SizeSSZ() (size int)
- func (s *SignedBlockContents) String() string
- func (s *SignedBlockContents) UnmarshalJSON(input []byte) error
- func (t *SignedBlockContents) UnmarshalSSZ(buf []byte) (err error)
- func (s *SignedBlockContents) UnmarshalYAML(input []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlindedBeaconBlock ¶
type BlindedBeaconBlock struct {
Slot phase0.Slot
ProposerIndex phase0.ValidatorIndex
ParentRoot phase0.Root `ssz-size:"32"`
StateRoot phase0.Root `ssz-size:"32"`
Body *BlindedBeaconBlockBody
}
BlindedBeaconBlock represents a blinded beacon block.
func (*BlindedBeaconBlock) HashTreeRoot ¶
func (t *BlindedBeaconBlock) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BlindedBeaconBlock.
func (*BlindedBeaconBlock) HashTreeRootWith ¶
func (t *BlindedBeaconBlock) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BlindedBeaconBlock using the given hash walker.
func (*BlindedBeaconBlock) MarshalJSON ¶
func (b *BlindedBeaconBlock) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BlindedBeaconBlock) MarshalSSZ ¶
func (t *BlindedBeaconBlock) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BlindedBeaconBlock to SSZ-encoded bytes.
func (*BlindedBeaconBlock) MarshalSSZTo ¶
func (t *BlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BlindedBeaconBlock to SSZ-encoded bytes, appending to the provided buffer.
func (*BlindedBeaconBlock) MarshalYAML ¶
func (b *BlindedBeaconBlock) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BlindedBeaconBlock) SizeSSZ ¶
func (t *BlindedBeaconBlock) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BlindedBeaconBlock.
func (*BlindedBeaconBlock) String ¶
func (b *BlindedBeaconBlock) String() string
String returns a string version of the structure.
func (*BlindedBeaconBlock) UnmarshalJSON ¶
func (b *BlindedBeaconBlock) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*BlindedBeaconBlock) UnmarshalSSZ ¶
func (t *BlindedBeaconBlock) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BlindedBeaconBlock from SSZ-encoded bytes.
func (*BlindedBeaconBlock) UnmarshalYAML ¶
func (b *BlindedBeaconBlock) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type BlindedBeaconBlockBody ¶
type BlindedBeaconBlockBody struct {
RANDAOReveal phase0.BLSSignature `ssz-size:"96"`
ETH1Data *phase0.ETH1Data
Graffiti [32]byte `ssz-size:"32"`
ProposerSlashings []*phase0.ProposerSlashing `dynssz-max:"MAX_PROPOSER_SLASHINGS" ssz-max:"16"`
AttesterSlashings []*phase0.AttesterSlashing `dynssz-max:"MAX_ATTESTER_SLASHINGS" ssz-max:"2"`
Attestations []*phase0.Attestation `dynssz-max:"MAX_ATTESTATIONS" ssz-max:"128"`
Deposits []*phase0.Deposit `dynssz-max:"MAX_DEPOSITS" ssz-max:"16"`
VoluntaryExits []*phase0.SignedVoluntaryExit `dynssz-max:"MAX_VOLUNTARY_EXITS" ssz-max:"16"`
SyncAggregate *altair.SyncAggregate
ExecutionPayloadHeader *deneb.ExecutionPayloadHeader
BLSToExecutionChanges []*capella.SignedBLSToExecutionChange `dynssz-max:"MAX_BLS_TO_EXECUTION_CHANGES" ssz-max:"16"`
BlobKZGCommitments []deneb.KZGCommitment `dynssz-max:"MAX_BLOB_COMMITMENTS_PER_BLOCK" ssz-max:"4096" ssz-size:"?,48"`
}
BlindedBeaconBlockBody represents the body of a blinded beacon block.
func (*BlindedBeaconBlockBody) HashTreeRoot ¶
func (t *BlindedBeaconBlockBody) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BlindedBeaconBlockBody.
func (*BlindedBeaconBlockBody) HashTreeRootWith ¶
func (t *BlindedBeaconBlockBody) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BlindedBeaconBlockBody using the given hash walker.
func (*BlindedBeaconBlockBody) MarshalJSON ¶
func (b *BlindedBeaconBlockBody) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BlindedBeaconBlockBody) MarshalSSZ ¶
func (t *BlindedBeaconBlockBody) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BlindedBeaconBlockBody to SSZ-encoded bytes.
func (*BlindedBeaconBlockBody) MarshalSSZTo ¶
func (t *BlindedBeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BlindedBeaconBlockBody to SSZ-encoded bytes, appending to the provided buffer.
func (*BlindedBeaconBlockBody) MarshalYAML ¶
func (b *BlindedBeaconBlockBody) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BlindedBeaconBlockBody) SizeSSZ ¶
func (t *BlindedBeaconBlockBody) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BlindedBeaconBlockBody.
func (*BlindedBeaconBlockBody) String ¶
func (b *BlindedBeaconBlockBody) String() string
String returns a string version of the structure.
func (*BlindedBeaconBlockBody) UnmarshalJSON ¶
func (b *BlindedBeaconBlockBody) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*BlindedBeaconBlockBody) UnmarshalSSZ ¶
func (t *BlindedBeaconBlockBody) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BlindedBeaconBlockBody from SSZ-encoded bytes.
func (*BlindedBeaconBlockBody) UnmarshalYAML ¶
func (b *BlindedBeaconBlockBody) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type BlockContents ¶
type BlockContents struct {
Block *deneb.BeaconBlock
KZGProofs []deneb.KZGProof `dynssz-max:"MAX_BLOB_COMMITMENTS_PER_BLOCK" ssz-max:"4096" ssz-size:"?,48"`
Blobs []deneb.Blob `dynssz-max:"MAX_BLOB_COMMITMENTS_PER_BLOCK" ssz-max:"4096" ssz-size:"?,131072"`
}
BlockContents represents the contents of a block, both block and blob.
func (*BlockContents) HashTreeRoot ¶
func (t *BlockContents) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *BlockContents.
func (*BlockContents) HashTreeRootWith ¶
func (t *BlockContents) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *BlockContents using the given hash walker.
func (*BlockContents) MarshalJSON ¶
func (b *BlockContents) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BlockContents) MarshalSSZ ¶
func (t *BlockContents) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *BlockContents to SSZ-encoded bytes.
func (*BlockContents) MarshalSSZTo ¶
func (t *BlockContents) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *BlockContents to SSZ-encoded bytes, appending to the provided buffer.
func (*BlockContents) MarshalYAML ¶
func (b *BlockContents) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BlockContents) SizeSSZ ¶
func (t *BlockContents) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *BlockContents.
func (*BlockContents) String ¶
func (b *BlockContents) String() string
String returns a string version of the structure.
func (*BlockContents) UnmarshalJSON ¶
func (b *BlockContents) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*BlockContents) UnmarshalSSZ ¶
func (t *BlockContents) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *BlockContents from SSZ-encoded bytes.
func (*BlockContents) UnmarshalYAML ¶
func (b *BlockContents) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type SignedBlindedBeaconBlock ¶
type SignedBlindedBeaconBlock struct {
Message *BlindedBeaconBlock
Signature phase0.BLSSignature `ssz-size:"96"`
}
SignedBlindedBeaconBlock is a signed beacon block.
func (*SignedBlindedBeaconBlock) HashTreeRoot ¶
func (t *SignedBlindedBeaconBlock) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *SignedBlindedBeaconBlock.
func (*SignedBlindedBeaconBlock) HashTreeRootWith ¶
func (t *SignedBlindedBeaconBlock) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *SignedBlindedBeaconBlock using the given hash walker.
func (*SignedBlindedBeaconBlock) MarshalJSON ¶
func (s *SignedBlindedBeaconBlock) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*SignedBlindedBeaconBlock) MarshalSSZ ¶
func (t *SignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *SignedBlindedBeaconBlock to SSZ-encoded bytes.
func (*SignedBlindedBeaconBlock) MarshalSSZTo ¶
func (t *SignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *SignedBlindedBeaconBlock to SSZ-encoded bytes, appending to the provided buffer.
func (*SignedBlindedBeaconBlock) MarshalYAML ¶
func (s *SignedBlindedBeaconBlock) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*SignedBlindedBeaconBlock) SizeSSZ ¶
func (t *SignedBlindedBeaconBlock) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *SignedBlindedBeaconBlock.
func (*SignedBlindedBeaconBlock) String ¶
func (s *SignedBlindedBeaconBlock) String() string
String returns a string version of the structure.
func (*SignedBlindedBeaconBlock) UnmarshalJSON ¶
func (s *SignedBlindedBeaconBlock) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*SignedBlindedBeaconBlock) UnmarshalSSZ ¶
func (t *SignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *SignedBlindedBeaconBlock from SSZ-encoded bytes.
func (*SignedBlindedBeaconBlock) UnmarshalYAML ¶
func (s *SignedBlindedBeaconBlock) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
type SignedBlockContents ¶
type SignedBlockContents struct {
SignedBlock *deneb.SignedBeaconBlock
KZGProofs []deneb.KZGProof `dynssz-max:"MAX_BLOB_COMMITMENTS_PER_BLOCK" ssz-max:"4096" ssz-size:"?,48"`
Blobs []deneb.Blob `dynssz-max:"MAX_BLOB_COMMITMENTS_PER_BLOCK" ssz-max:"4096" ssz-size:"?,131072"`
}
SignedBlockContents represents the contents of a block, both block and blob.
func (*SignedBlockContents) HashTreeRoot ¶
func (t *SignedBlockContents) HashTreeRoot() (root [32]byte, err error)
HashTreeRoot computes the SSZ hash tree root of the *SignedBlockContents.
func (*SignedBlockContents) HashTreeRootWith ¶
func (t *SignedBlockContents) HashTreeRootWith(hh sszutils.HashWalker) error
HashTreeRootWith computes the SSZ hash tree root of the *SignedBlockContents using the given hash walker.
func (*SignedBlockContents) MarshalJSON ¶
func (s *SignedBlockContents) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*SignedBlockContents) MarshalSSZ ¶
func (t *SignedBlockContents) MarshalSSZ() ([]byte, error)
MarshalSSZ marshals the *SignedBlockContents to SSZ-encoded bytes.
func (*SignedBlockContents) MarshalSSZTo ¶
func (t *SignedBlockContents) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo marshals the *SignedBlockContents to SSZ-encoded bytes, appending to the provided buffer.
func (*SignedBlockContents) MarshalYAML ¶
func (s *SignedBlockContents) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*SignedBlockContents) SizeSSZ ¶
func (t *SignedBlockContents) SizeSSZ() (size int)
SizeSSZ returns the SSZ encoded size of the *SignedBlockContents.
func (*SignedBlockContents) String ¶
func (s *SignedBlockContents) String() string
String returns a string version of the structure.
func (*SignedBlockContents) UnmarshalJSON ¶
func (s *SignedBlockContents) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
func (*SignedBlockContents) UnmarshalSSZ ¶
func (t *SignedBlockContents) UnmarshalSSZ(buf []byte) (err error)
UnmarshalSSZ unmarshals the *SignedBlockContents from SSZ-encoded bytes.
func (*SignedBlockContents) UnmarshalYAML ¶
func (s *SignedBlockContents) UnmarshalYAML(input []byte) error
UnmarshalYAML implements yaml.Unmarshaler.
Source Files
¶
- blindedbeaconblock.go
- blindedbeaconblock_json.go
- blindedbeaconblock_ssz.go
- blindedbeaconblock_yaml.go
- blindedbeaconblockbody.go
- blindedbeaconblockbody_json.go
- blindedbeaconblockbody_ssz.go
- blindedbeaconblockbody_yaml.go
- blockcontents.go
- blockcontents_json.go
- blockcontents_ssz.go
- blockcontents_yaml.go
- generate.go
- signedblindedbeaconblock.go
- signedblindedbeaconblock_json.go
- signedblindedbeaconblock_ssz.go
- signedblindedbeaconblock_yaml.go
- signedblockcontents.go
- signedblockcontents_json.go
- signedblockcontents_ssz.go
- signedblockcontents_yaml.go