Documentation
¶
Overview ¶
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 37f24353820f6fcea76d5a7142fa19b4948bbb343342dc031e83c42fdab79408 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: bd38e229c4edde658c8d714c0aada5ad4a3f9d1e5ff6b11231e0e7cfe5c1a2e7 Version: v1.3.0 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 0a259d24bb4066a2bf9016030e9e54cfd7eb1f222ff3ef7028fa9f3e67272ad7 Version: v1.3.0 (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 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
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 *capella.ExecutionPayloadHeader
BLSToExecutionChanges []*capella.SignedBLSToExecutionChange `dynssz-max:"MAX_BLS_TO_EXECUTION_CHANGES" ssz-max:"16"`
}
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 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.
Source Files
¶
- blindedbeaconblock.go
- blindedbeaconblock_json.go
- blindedbeaconblock_ssz.go
- blindedbeaconblock_yaml.go
- blindedbeaconblockbody.go
- blindedbeaconblockbody_json.go
- blindedbeaconblockbody_ssz.go
- blindedbeaconblockbody_yaml.go
- generate.go
- signedblindedbeaconblock.go
- signedblindedbeaconblock_json.go
- signedblindedbeaconblock_ssz.go
- signedblindedbeaconblock_yaml.go