Documentation
¶
Overview ¶
Package eth2util contains packages and logic relating to eth2 functionality. Note these packages may not import other business logic packages like dkg, core, cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignedEpoch ¶ added in v0.10.0
type SignedEpoch struct { Epoch eth2p0.Epoch Signature eth2p0.BLSSignature }
SignedEpoch represents signature of corresponding epoch.
func (SignedEpoch) GetTree ¶ added in v0.10.0
func (s SignedEpoch) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SignedEpoch object.
func (SignedEpoch) HashTreeRoot ¶ added in v0.10.0
func (s SignedEpoch) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedEpoch object.
func (SignedEpoch) HashTreeRootWith ¶ added in v0.10.0
func (s SignedEpoch) HashTreeRootWith(hh ssz.HashWalker) error
HashTreeRootWith ssz hashes the epoch from SignedEpoch.
func (SignedEpoch) MarshalJSON ¶ added in v0.10.0
func (s SignedEpoch) MarshalJSON() ([]byte, error)
func (*SignedEpoch) UnmarshalJSON ¶ added in v0.10.0
func (s *SignedEpoch) UnmarshalJSON(b []byte) error
Directories
¶
Path | Synopsis |
---|---|
Package deposit provides functions to create deposit data files.
|
Package deposit provides functions to create deposit data files. |
Package keystore provides functions to store and load private keys to/from EIP 2335 (https://eips.ethereum.org/EIPS/eip-2335) compatible keystore files.
|
Package keystore provides functions to store and load private keys to/from EIP 2335 (https://eips.ethereum.org/EIPS/eip-2335) compatible keystore files. |
Click to show internal directories.
Click to hide internal directories.