types

package
v0.0.23-theta Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BLSSignatureSize = 96

Variables

This section is empty.

Functions

func CopyHeader added in v0.7.0

func CopyHeader(h *eth1Types.Header) *eth1Types.Header

CopyHeader creates a deep copy of a block header to prevent side effects from modifying a header variable.

Types

type BlsSignatureBytes added in v0.7.0

type BlsSignatureBytes [BLSSignatureSize]byte

type ExtraData added in v0.7.0

type ExtraData struct {
	Slot          uint64
	Epoch         uint64
	ProposerIndex uint64
}

ExtraData

type HeaderHash

type HeaderHash struct {
	HeaderHash common.Hash `json:"headerHash"`
	Status     Status      `json:"status"`
}

generic header hash

type MinimalEpochConsensusInfo

type MinimalEpochConsensusInfo struct {
	Epoch            uint64        `json:"epoch"`
	ValidatorList    []string      `json:"validatorList"`
	EpochStartTime   uint64        `json:"epochTimeStart"`
	SlotTimeDuration time.Duration `json:"slotTimeDuration"`
}

type PanExtraDataWithBLSSig added in v0.7.0

type PanExtraDataWithBLSSig struct {
	ExtraData
	BlsSignatureBytes *BlsSignatureBytes
}

type PandoraPendingHeaderFilter added in v0.7.0

type PandoraPendingHeaderFilter struct {
	FromBlockHash common.Hash `json:"fromBlockHash"`
}

PandoraPendingHeaderFilter

type Status added in v0.7.0

type Status int
const (
	Pending Status = iota
	Verified
	Invalid
	Skipped
)

Jump to

Keyboard shortcuts

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