Documentation
¶
Overview ¶
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 4e07721dc17ecc8c904da40da11a282b73769a6fab0a1c01f08e51a18d8716db Version: v1.3.1 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: 1b8492e1bb706c87c5b5ca6d4ad5fee81dfcafc4f88e2f999dca0446977cebdd Version: v1.3.1 (https://github.com/pk910/dynamic-ssz)
Code generated by dynamic-ssz. DO NOT EDIT. Hash: f02189c7c0e4e47cb3353c76cde7fc880fb5243e86accb323ba66af34f4caf0e 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 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 *bellatrix.ExecutionPayloadHeader
}
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