components

package
v0.0.0-...-76c1feb Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeContext

type NodeContext interface {
	// IsCatchingUp returns true if our sync routine is currently running
	IsCatchingUp() bool

	// IsInitialCatchupComplete returns true if the initial sync has completed (doesn't mean it succeeded)
	IsInitialCatchupComplete() bool

	// HasCaughtUp returns true if we have completely caught up at least once
	HasCaughtUp() bool

	// SetLastLiveRound is called to record observation of a round completion
	SetLastLiveRound(round basics.Round)
}

NodeContext is an interface representing various context information regarding a specific node instance (per AlgorandFullNode)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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