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