Module v2

Source
Expand description

v2 network protocol types.

Structs§

BackedCandidateAcknowledgement
An acknowledgement of a backed candidate being known.
BackedCandidateManifest
A manifest of a known backed candidate, along with a description of the statements backing it.
StatementFilter
Bitfields indicating the statements that are known or undesired about a candidate.

Enums§

ApprovalDistributionMessage
Network messages used by the approval distribution subsystem.
BitfieldDistributionMessage
Network messages used by the bitfield distribution subsystem.
CollationProtocol
All network messages on the collation peer-set.
CollatorProtocolMessage
Network messages used by the collator protocol subsystem
GossipSupportNetworkMessage
Dummy network message type, so we will receive connect/disconnect events.
StatementDistributionMessage
Network messages used by the statement distribution subsystem.
ValidationProtocol
All network messages on the validation peer-set.

Functions§

declare_signature_payload
Get the payload that should be signed and included in a Declare message.