types

package
v0.1.1-experimental.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: eedb2fe9d083ceaeed54810cfe29fd387b16ceca03aa83998019a067f426fd0d Version: 0.1.3

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidatorsMarshaling

type ValidatorsMarshaling struct {
	Validators []*types.Validator `json:"validators" ssz-max:"1099511627776"`
}

func (*ValidatorsMarshaling) GetTree

func (v *ValidatorsMarshaling) GetTree() (*ssz.Node, error)

GetTree ssz hashes the ValidatorsMarshaling object

func (*ValidatorsMarshaling) HashTreeRoot

func (v *ValidatorsMarshaling) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ValidatorsMarshaling object

func (*ValidatorsMarshaling) HashTreeRootWith

func (v *ValidatorsMarshaling) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith ssz hashes the ValidatorsMarshaling object with a hasher

func (*ValidatorsMarshaling) MarshalSSZ

func (v *ValidatorsMarshaling) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ValidatorsMarshaling object

func (*ValidatorsMarshaling) MarshalSSZTo

func (v *ValidatorsMarshaling) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ValidatorsMarshaling object to a target array

func (*ValidatorsMarshaling) SizeSSZ

func (v *ValidatorsMarshaling) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ValidatorsMarshaling object

func (*ValidatorsMarshaling) UnmarshalSSZ

func (v *ValidatorsMarshaling) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ValidatorsMarshaling object

Jump to

Keyboard shortcuts

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