package
0.31.5
Repository: https://github.com/rnssolution/prism.git
Documentation: pkg.go.dev

# Functions

NewMonitor creates new instance of a Monitor.
No description provided by the author
No description provided by the author
No description provided by the author
RecalculateNetworkUptimeEvery lets you change network uptime update interval.
SetCheckIsValidatorInterval lets you change interval for checking whenever node is still a validator or not.
SetNumValidatorsUpdateInterval lets you change num validators update interval.
UnmarshalEvent unmarshals a json event.

# Constants

Dead means we're not making blocks due to all validators freezing or crashing.
FullHealth means all nodes online, synced, validators making blocks.
ModerateHealth means we're making blocks.

# Structs

Monitor keeps track of the nodes and updates common statistics upon receiving new events from nodes.
Common statistics for network of nodes.
No description provided by the author
UptimeData stores data for how long network has been running.

# Type aliases

Health describes the health of the network.