Documentation ¶
Index ¶
- type Protocol
- func (p *Protocol) CalculateNextCheckpointSlot(slot uint64) uint64
- func (p *Protocol) ComputeEpochAtSlot(slot uint64) uint64
- func (p *Protocol) ComputeSyncPeriodAtSlot(slot uint64) uint64
- func (p *Protocol) DenebForked(slot uint64) bool
- func (p *Protocol) IsStartOfEpoch(slot uint64) bool
- func (p *Protocol) SyncCommitteeSuperMajority(syncCommitteeHex string) (bool, error)
- func (p *Protocol) SyncPeriodLength() uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct { Settings config.SpecSettings SlotsPerHistoricalRoot uint64 HeaderRedundancy uint64 }
func (*Protocol) CalculateNextCheckpointSlot ¶
func (*Protocol) ComputeEpochAtSlot ¶
func (*Protocol) ComputeSyncPeriodAtSlot ¶
func (*Protocol) DenebForked ¶
func (*Protocol) IsStartOfEpoch ¶
func (*Protocol) SyncCommitteeSuperMajority ¶
func (*Protocol) SyncPeriodLength ¶
Click to show internal directories.
Click to hide internal directories.