ssz

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeDepositDomain

func ComputeDepositDomain(forkVersion [4]byte) ([]byte, error)

ComputeDepositDomain Deposit-only `compute_domain`

func ComputeDepositForkDataRoot

func ComputeDepositForkDataRoot(currentVersion [4]byte) ([]byte, error)

ComputeDepositForkDataRoot Return the appropriate ForkData root for a given deposit version.

func ComputeForkDataRoot

func ComputeForkDataRoot(currentVersion [4]byte, genesisValidatorsRoot [32]byte) ([]byte, error)

ComputeForkDataRoot Return the appropriate ForkData root for a given deposit version.

func ComputeSigningRoot

func ComputeSigningRoot(sszObject ssz.HashRoot, domain []byte) ([]byte, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL