chain

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_MAX_RETRY_INTERVAL = 15 * time.Minute
View Source
const DEFAULT_MAX_RETRY_TIME = MAX_RETRY_TIME_ALWAYS_RETRY
View Source
const DEFAULT_POLLING_INTERVAL = 5 * time.Second
View Source
const MAX_RETRY_TIME_ALWAYS_RETRY = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockHeightTracker

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

func NewBlockHeightTracker

func NewBlockHeightTracker(logger applogger.Logger, client tendermint.Client) *BlockHeightTracker

func (*BlockHeightTracker) GetLatestBlockHeight

func (tracker *BlockHeightTracker) GetLatestBlockHeight() *int64

func (*BlockHeightTracker) Run

func (tracker *BlockHeightTracker) Run()

func (*BlockHeightTracker) Subscribe

func (tracker *BlockHeightTracker) Subscribe(ch chan<- int64)

Jump to

Keyboard shortcuts

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