Documentation ¶
Index ¶
- func ComputeDepositDomain(forkVersion [4]byte) ([]byte, error)
- func ComputeDepositForkDataRoot(currentVersion [4]byte) ([]byte, error)
- func ComputeForkDataRoot(currentVersion [4]byte, genesisValidatorsRoot [32]byte) ([]byte, error)
- func ComputeSigningRoot(sszObject ssz.HashRoot, domain []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeDepositDomain ¶
ComputeDepositDomain Deposit-only `compute_domain`
func ComputeDepositForkDataRoot ¶
ComputeDepositForkDataRoot Return the appropriate ForkData root for a given deposit version.
func ComputeForkDataRoot ¶
ComputeForkDataRoot Return the appropriate ForkData root for a given deposit version.
func ComputeSigningRoot ¶
ComputeSigningRoot Return the signing root of an object by calculating the root of the object-domain tree. The root is the hash tree root of: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#signingdata
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.