Documentation ¶
Index ¶
- type Crosslinks
- func (a *Crosslinks) LastKnownCrosslinkHeartbeatSignal() *types.CrosslinkHeartbeat
- func (a *Crosslinks) LatestSentCrosslinkBlockNumber() uint64
- func (a *Crosslinks) SetLastKnownCrosslinkHeartbeatSignal(signal *types.CrosslinkHeartbeat)
- func (a *Crosslinks) SetLatestSentCrosslinkBlockNumber(number uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crosslinks ¶
type Crosslinks struct {
// contains filtered or unexported fields
}
Crosslinks is helper for processing crosslinks. It has meaning only for shards.
func (*Crosslinks) LastKnownCrosslinkHeartbeatSignal ¶
func (a *Crosslinks) LastKnownCrosslinkHeartbeatSignal() *types.CrosslinkHeartbeat
LastKnownCrosslinkHeartbeatSignal returns last set value for heartbeat or nil if not.
func (*Crosslinks) LatestSentCrosslinkBlockNumber ¶
func (a *Crosslinks) LatestSentCrosslinkBlockNumber() uint64
LatestSentCrosslinkBlockNumber returns last set value for crosslink block number or zero if not.
func (*Crosslinks) SetLastKnownCrosslinkHeartbeatSignal ¶
func (a *Crosslinks) SetLastKnownCrosslinkHeartbeatSignal(signal *types.CrosslinkHeartbeat)
SetLastKnownCrosslinkHeartbeatSignal sets last known heartbeat.
func (*Crosslinks) SetLatestSentCrosslinkBlockNumber ¶
func (a *Crosslinks) SetLatestSentCrosslinkBlockNumber(number uint64)
SetLatestSentCrosslinkBlockNumber sets last crosslink block number.
Click to show internal directories.
Click to hide internal directories.