Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: 37e143c4767ae3a4c1cb6342ce07a7f966d89e0eab083b471fcd4f7d7b13bb09 Version: 0.1.3
Index ¶
- type ForkData
- func (f *ForkData) GetTree() (*ssz.Node, error)
- func (f *ForkData) HashTreeRoot() ([32]byte, error)
- func (f *ForkData) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (f *ForkData) MarshalSSZ() ([]byte, error)
- func (f *ForkData) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (f *ForkData) SizeSSZ() (size int)
- func (f *ForkData) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForkData ¶
type ForkData struct { CurrentVersion []byte `ssz-size:"4"` GenesisValidatorsRoot []byte `ssz-size:"32"` }
ForkData is a spec struct.
func (*ForkData) HashTreeRoot ¶
HashTreeRoot ssz hashes the ForkData object
func (*ForkData) HashTreeRootWith ¶
func (f *ForkData) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ForkData object with a hasher
func (*ForkData) MarshalSSZ ¶
MarshalSSZ ssz marshals the ForkData object
func (*ForkData) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the ForkData object to a target array
func (*ForkData) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the ForkData object
Click to show internal directories.
Click to hide internal directories.