Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: dbc14590fc585623f53092dd238b70766e2512892fb89acaeb1d6026c9fc556a Version: 0.1.3
Code generated by fastssz. DO NOT EDIT. Hash: dbc14590fc585623f53092dd238b70766e2512892fb89acaeb1d6026c9fc556a Version: 0.1.3
Code generated by fastssz. DO NOT EDIT. Hash: dbc14590fc585623f53092dd238b70766e2512892fb89acaeb1d6026c9fc556a Version: 0.1.3
Index ¶
- type BlindedBeaconBlock
- func (b *BlindedBeaconBlock) GetTree() (*ssz.Node, error)
- func (b *BlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
- func (b *BlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BlindedBeaconBlock) MarshalJSON() ([]byte, error)
- func (b *BlindedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (b *BlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BlindedBeaconBlock) MarshalYAML() ([]byte, error)
- func (b *BlindedBeaconBlock) SizeSSZ() (size int)
- func (b *BlindedBeaconBlock) String() string
- func (b *BlindedBeaconBlock) UnmarshalJSON(input []byte) error
- func (b *BlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
- func (b *BlindedBeaconBlock) UnmarshalYAML(input []byte) error
- type BlindedBeaconBlockBody
- func (b *BlindedBeaconBlockBody) GetTree() (*ssz.Node, error)
- func (b *BlindedBeaconBlockBody) HashTreeRoot() ([32]byte, error)
- func (b *BlindedBeaconBlockBody) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (b *BlindedBeaconBlockBody) MarshalJSON() ([]byte, error)
- func (b *BlindedBeaconBlockBody) MarshalSSZ() ([]byte, error)
- func (b *BlindedBeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (b *BlindedBeaconBlockBody) MarshalYAML() ([]byte, error)
- func (b *BlindedBeaconBlockBody) SizeSSZ() (size int)
- func (b *BlindedBeaconBlockBody) String() string
- func (b *BlindedBeaconBlockBody) UnmarshalJSON(input []byte) error
- func (b *BlindedBeaconBlockBody) UnmarshalSSZ(buf []byte) error
- func (b *BlindedBeaconBlockBody) UnmarshalYAML(input []byte) error
- type SignedBlindedBeaconBlock
- func (s *SignedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
- func (s *SignedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
- func (s *SignedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SignedBlindedBeaconBlock) MarshalJSON() ([]byte, error)
- func (s *SignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (s *SignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SignedBlindedBeaconBlock) MarshalYAML() ([]byte, error)
- func (s *SignedBlindedBeaconBlock) SizeSSZ() (size int)
- func (s *SignedBlindedBeaconBlock) String() string
- func (s *SignedBlindedBeaconBlock) UnmarshalJSON(input []byte) error
- func (s *SignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) 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) GetTree ¶
func (b *BlindedBeaconBlock) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BlindedBeaconBlock object
func (*BlindedBeaconBlock) HashTreeRoot ¶
func (b *BlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BlindedBeaconBlock object
func (*BlindedBeaconBlock) HashTreeRootWith ¶
func (b *BlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BlindedBeaconBlock object with a hasher
func (*BlindedBeaconBlock) MarshalJSON ¶
func (b *BlindedBeaconBlock) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BlindedBeaconBlock) MarshalSSZ ¶
func (b *BlindedBeaconBlock) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BlindedBeaconBlock object
func (*BlindedBeaconBlock) MarshalSSZTo ¶
func (b *BlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BlindedBeaconBlock object to a target array
func (*BlindedBeaconBlock) MarshalYAML ¶
func (b *BlindedBeaconBlock) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BlindedBeaconBlock) SizeSSZ ¶
func (b *BlindedBeaconBlock) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BlindedBeaconBlock object
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 (b *BlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BlindedBeaconBlock object
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 `ssz-max:"16"` AttesterSlashings []*phase0.AttesterSlashing `ssz-max:"2"` Attestations []*phase0.Attestation `ssz-max:"128"` Deposits []*phase0.Deposit `ssz-max:"16"` VoluntaryExits []*phase0.SignedVoluntaryExit `ssz-max:"16"` SyncAggregate *altair.SyncAggregate ExecutionPayloadHeader *capella.ExecutionPayloadHeader BLSToExecutionChanges []*capella.SignedBLSToExecutionChange `ssz-max:"16"` }
BlindedBeaconBlockBody represents the body of a blinded beacon block.
func (*BlindedBeaconBlockBody) GetTree ¶
func (b *BlindedBeaconBlockBody) GetTree() (*ssz.Node, error)
GetTree ssz hashes the BlindedBeaconBlockBody object
func (*BlindedBeaconBlockBody) HashTreeRoot ¶
func (b *BlindedBeaconBlockBody) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BlindedBeaconBlockBody object
func (*BlindedBeaconBlockBody) HashTreeRootWith ¶
func (b *BlindedBeaconBlockBody) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the BlindedBeaconBlockBody object with a hasher
func (*BlindedBeaconBlockBody) MarshalJSON ¶
func (b *BlindedBeaconBlockBody) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*BlindedBeaconBlockBody) MarshalSSZ ¶
func (b *BlindedBeaconBlockBody) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BlindedBeaconBlockBody object
func (*BlindedBeaconBlockBody) MarshalSSZTo ¶
func (b *BlindedBeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BlindedBeaconBlockBody object to a target array
func (*BlindedBeaconBlockBody) MarshalYAML ¶
func (b *BlindedBeaconBlockBody) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*BlindedBeaconBlockBody) SizeSSZ ¶
func (b *BlindedBeaconBlockBody) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BlindedBeaconBlockBody object
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 (b *BlindedBeaconBlockBody) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BlindedBeaconBlockBody object
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) GetTree ¶ added in v0.15.8
func (s *SignedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedBlindedBeaconBlock object
func (*SignedBlindedBeaconBlock) HashTreeRoot ¶ added in v0.15.8
func (s *SignedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedBlindedBeaconBlock object
func (*SignedBlindedBeaconBlock) HashTreeRootWith ¶ added in v0.15.8
func (s *SignedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SignedBlindedBeaconBlock object with a hasher
func (*SignedBlindedBeaconBlock) MarshalJSON ¶
func (s *SignedBlindedBeaconBlock) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*SignedBlindedBeaconBlock) MarshalSSZ ¶ added in v0.15.8
func (s *SignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedBlindedBeaconBlock object
func (*SignedBlindedBeaconBlock) MarshalSSZTo ¶ added in v0.15.8
func (s *SignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedBlindedBeaconBlock object to a target array
func (*SignedBlindedBeaconBlock) MarshalYAML ¶
func (s *SignedBlindedBeaconBlock) MarshalYAML() ([]byte, error)
MarshalYAML implements yaml.Marshaler.
func (*SignedBlindedBeaconBlock) SizeSSZ ¶ added in v0.15.8
func (s *SignedBlindedBeaconBlock) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedBlindedBeaconBlock object
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 ¶ added in v0.15.8
func (s *SignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedBlindedBeaconBlock object
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