Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncHeightManager ¶
type SyncHeightManager struct { cmn.BaseService // contains filtered or unexported fields }
SyncHeightManager is the struct to check wether the height of our node is the same with the height of linkchain
func NewSyncHeightManager ¶
func NewSyncHeightManager(sw *p2p.Switch, app *app.LinkApplication, checkInterval time.Duration, logger log.Logger) *SyncHeightManager
func (*SyncHeightManager) OnStart ¶
func (sm *SyncHeightManager) OnStart() error
func (*SyncHeightManager) OnStop ¶
func (sm *SyncHeightManager) OnStop()
Click to show internal directories.
Click to hide internal directories.