Module message

Source
Expand description

Definitions central to BPCon messages.

This module defines the structures and functionality for messages used in the BPCon consensus protocol. It includes message contents, routing information, and utilities for packing and unpacking messages.

Structs§

ArchivedMessage1aContent
An archived Message1aContent
ArchivedMessage1bContent
An archived Message1bContent
ArchivedMessage2aContent
An archived Message2aContent
ArchivedMessage2avContent
An archived Message2avContent
ArchivedMessage2bContent
An archived Message2bContent
Message1aContent
Contents of a BPCon message of type 1a.
Message1aContentResolver
The resolver for an archived Message1aContent
Message1bContent
Contents of a BPCon message of type 1b.
Message1bContentResolver
The resolver for an archived Message1bContent
Message2aContent
Contents of a BPCon message of type 2a.
Message2aContentResolver
The resolver for an archived Message2aContent
Message2avContent
Contents of a BPCon message of type 2av.
Message2avContentResolver
The resolver for an archived Message2avContent
Message2bContent
Contents of a BPCon message of type 2b.
Message2bContentResolver
The resolver for an archived Message2bContent
MessagePacket
A message ready for transfer within the BPCon protocol.
MessageRoundState
A struct to keep track of senders and the cumulative weight of their messages.
MessageRouting
Full routing information for a BPCon message. This struct is used to manage and route messages through the BPCon protocol.

Enums§

ProtocolMessage
Enumeration of the different types of protocol messages used in BPCon.