Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NodeIDSlicePb ¶
NodeIDSlicePb converts a slice of NodeIDs to a slice of the native type underlying NodeID. This is required for serialization using Protocol Buffers.
Types ¶
type NumRequests ¶
type NumRequests uint64
NumRequests represents the number of requests (e.g. pending in some buffer)
func (NumRequests) Pb ¶
func (nr NumRequests) Pb() uint64
Pb converts an EpochNr number to its underlying native type.
type PBFTViewNr ¶
type PBFTViewNr uint64
PBFTViewNr represents the view number in the PBFT protocol (used as a sub-protocol of ISS)
func (PBFTViewNr) Pb ¶
func (v PBFTViewNr) Pb() uint64
Pb converts a PBFTViewNr to its underlying native type
type SBInstanceID ¶
type SBInstanceID uint64
SBInstanceID represents the ID of an instance of Sequenced Broadcast (SB)
func (SBInstanceID) Pb ¶
func (iid SBInstanceID) Pb() uint64
Pb converts a SBInstanceID to its underlying native type.
type SeqNr ¶
type SeqNr uint64
SeqNr represents the sequence number of a batch as assigned by the ordering protocol.
type WALRetIndex ¶
type WALRetIndex uint64
WALRetIndex represents the WAL (Write-Ahead Log) retention index assigned to every entry (and used for truncating).
func (WALRetIndex) Pb ¶
func (wri WALRetIndex) Pb() uint64
Pb converts a WALRetIndex to its underlying native type.