Documentation
¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: 3282cafedd7c38c40d775371540fad5f4b8ddf4cb4c7adbf109e91c0678af4ac Version: 0.1.2
Index ¶
- type ENRForkID
- func (e *ENRForkID) GetTree() (*ssz.Node, error)
- func (e *ENRForkID) HashTreeRoot() ([32]byte, error)
- func (e *ENRForkID) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (e *ENRForkID) MarshalSSZ() ([]byte, error)
- func (e *ENRForkID) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (e *ENRForkID) SizeSSZ() (size int)
- func (e *ENRForkID) UnmarshalSSZ(buf []byte) error
- type Node
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ENRForkID ¶
type ENRForkID struct {
CurrentForkDigest []byte `ssz-size:"4"`
NextForkVersion []byte `ssz-size:"4"`
NextForkEpoch phase0.Epoch
}
func (*ENRForkID) HashTreeRoot ¶
HashTreeRoot ssz hashes the ENRForkID object
func (*ENRForkID) HashTreeRootWith ¶
func (e *ENRForkID) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the ENRForkID object with a hasher
func (*ENRForkID) MarshalSSZ ¶
MarshalSSZ ssz marshals the ENRForkID object
func (*ENRForkID) MarshalSSZTo ¶
MarshalSSZTo ssz marshals the ENRForkID object to a target array
func (*ENRForkID) UnmarshalSSZ ¶
UnmarshalSSZ ssz unmarshals the ENRForkID object
type Options ¶
type Options struct {
Logger *zap.Logger
PrivateKey string `yaml:"PrivateKey" env:"BOOT_NODE_PRIVATE_KEY" env-description:"boot node private key (default will generate new)"`
ExternalIP string `yaml:"ExternalIP" env:"BOOT_NODE_EXTERNAL_IP" env-description:"Override boot node's IP' "`
Network string `yaml:"Network" env:"NETWORK" env-default:"prater"`
}
Options contains options to create the node
Click to show internal directories.
Click to hide internal directories.