Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proof ¶
type Proof struct { // Value is the value we are attempting to prove. Value phase0.Root // Path are the bits stating which side of the hash each step falls on. Path uint64 // Hashes are the intermediate hashes. Hashes []phase0.Root }
Proof contains the elements of a proof.
type ValidatorProof ¶
type ValidatorProof struct { Validator *phase0.Validator ValidatorIndex phase0.ValidatorIndex Slot phase0.Slot Version spec.DataVersion Path uint64 Hashes []phase0.Root }
ValidatorProof holds a validator plus its proof at a given slot.
func (*ValidatorProof) MarshalJSON ¶
func (v *ValidatorProof) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.