types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 License: MIT Imports: 3 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 [(ATTESTATION_SUBNET_COUNT + 7) / 8]byte

func (*AttnetBits) BitLen

func (ab *AttnetBits) BitLen() uint64

func (*AttnetBits) MarshalJSON

func (ab *AttnetBits) MarshalJSON() ([]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