referrerpolicy=no-referrer-when-downgrade

Crate polkadot_approval_distribution

Source
Expand description

ApprovalDistribution implementation.

See the documentation on approval distribution in the implementers’ guide.

Modules§

metrics
Approval distribution metrics.

Structs§

ApprovalDistribution
The Approval Distribution subsystem.
State
The State struct is responsible for tracking the overall state of the subsystem.

Constants§

MAX_APPROVAL_BATCH_SIZE
The maximum amount of approvals per batch is 33% of maximum allowed by protocol.
MAX_ASSIGNMENT_BATCH_SIZE
The maximum amount of assignments per batch is 33% of maximum allowed by protocol. This is an arbitrary value. Bumping this up increases the maximum amount of approvals or assignments we send in a single message to peers. Exceeding MAX_NOTIFICATION_SIZE will violate the protocol configuration.