sync

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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()

Jump to

Keyboard shortcuts

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