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
Click to show internal directories.
Click to hide internal directories.