synced_data

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncedDataManager

type SyncedDataManager struct {
	// contains filtered or unexported fields
}

func NewSyncedDataManager

func NewSyncedDataManager(enabled bool, cfg *clparams.BeaconChainConfig) *SyncedDataManager

func (*SyncedDataManager) HeadSlot

func (s *SyncedDataManager) HeadSlot() uint64

func (*SyncedDataManager) HeadState

func (s *SyncedDataManager) HeadState() (state *state.CachingBeaconState, cancel func())

func (*SyncedDataManager) OnHeadState

func (s *SyncedDataManager) OnHeadState(newState *state.CachingBeaconState) (err error)

func (*SyncedDataManager) Syncing

func (s *SyncedDataManager) Syncing() bool

Jump to

Keyboard shortcuts

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