approval-distribution: batched approval/assignment sending (#6401)
* Imple batched send Signed-off-by:Andrei Sandu <andrei-mihail@parity.io> * Add batch tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * pub MAX_NOTIFICATION_SIZE Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * spell check Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * spellcheck ... Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix comment Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * o.O Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * 2 constants Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Ensure batch size is at least 1 element Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * feedback impl Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io>
Showing
- polkadot/node/network/approval-distribution/src/lib.rs 77 additions, 30 deletionspolkadot/node/network/approval-distribution/src/lib.rs
- polkadot/node/network/approval-distribution/src/tests.rs 144 additions, 0 deletionspolkadot/node/network/approval-distribution/src/tests.rs
- polkadot/node/network/protocol/src/peer_set.rs 1 addition, 1 deletionpolkadot/node/network/protocol/src/peer_set.rs
Please register or sign in to comment