bitfield dist logging cleanup and enhancements (#5147)
* split metrics from bitfield signing * cleanup all logging * add a unit test for subset generation * chore: add one more test to assert need is properly represented * u8 as usize * chore: overseer fixin * fix test * Update node/network/bitfield-distribution/src/metrics.rs Co-authored-by:Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Update node/network/bitfield-distribution/src/metrics.rs Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com> * fallout from suggested rename * consistency Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/node/network/bitfield-distribution/Cargo.toml 1 addition, 0 deletionspolkadot/node/network/bitfield-distribution/Cargo.toml
- polkadot/node/network/bitfield-distribution/src/lib.rs 83 additions, 156 deletionspolkadot/node/network/bitfield-distribution/src/lib.rs
- polkadot/node/network/bitfield-distribution/src/metrics.rs 108 additions, 0 deletionspolkadot/node/network/bitfield-distribution/src/metrics.rs
- polkadot/node/network/bitfield-distribution/src/tests.rs 67 additions, 1 deletionpolkadot/node/network/bitfield-distribution/src/tests.rs
- polkadot/node/overseer/src/lib.rs 1 addition, 1 deletionpolkadot/node/overseer/src/lib.rs
- polkadot/node/subsystem-util/src/tests.rs 11 additions, 0 deletionspolkadot/node/subsystem-util/src/tests.rs
Please register or sign in to comment