Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHeartbeatV2Monitor ¶
func NewHeartbeatV2Monitor(args ArgHeartbeatV2Monitor) (*heartbeatV2Monitor, error)
NewHeartbeatV2Monitor creates a new instance of heartbeatV2Monitor
Types ¶
type ArgHeartbeatV2Monitor ¶
type ArgHeartbeatV2Monitor struct { Cache storage.Cacher PubKeyConverter core.PubkeyConverter Marshaller marshal.Marshalizer MaxDurationPeerUnresponsive time.Duration HideInactiveValidatorInterval time.Duration ShardId uint32 PeerTypeProvider heartbeat.PeerTypeProviderHandler }
ArgHeartbeatV2Monitor holds the arguments needed to create a new instance of heartbeatV2Monitor
Click to show internal directories.
Click to hide internal directories.