types

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ATTESTATION_SUBNET_COUNT = 64

Variables

View Source
var AttnetBitsSSZ = zssz.GetSSZ((*AttnetBits)(nil))
View Source
var Eth2DataSSZ = zssz.GetSSZ((*Eth2Data)(nil))

Functions

This section is empty.

Types

type AttnetBits

type AttnetBits [attnetByteLen]byte

func (*AttnetBits) BitLen

func (ab *AttnetBits) BitLen() uint64

func (AttnetBits) MarshalText added in v0.2.1

func (p AttnetBits) MarshalText() ([]byte, error)

func (AttnetBits) String added in v0.2.1

func (p AttnetBits) String() string

func (*AttnetBits) UnmarshalText added in v0.2.1

func (p *AttnetBits) UnmarshalText(text []byte) error

type Eth2Data

type Eth2Data struct {
	ForkDigest      beacon.ForkDigest `json:"fork_digest"`
	NextForkVersion beacon.Version    `json:"next_fork_version"`
	NextForkEpoch   beacon.Epoch      `json:"next_fork_epoch"`
}

Jump to

Keyboard shortcuts

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