Don't store available data on disputes (#5950)
* Don't store available data on disputes
If there are lots of disputes, this leads to blowing up disk space on
validators. Rob luckily remembered that we do store the full
availability in participation.
The argument in the code does not make too much sense with the current
implementation, as no validator will ever request anything else from us,
than the one piece we are meant to posess.
* Fix warnings.
* Fix compile warnings
* Remove redundant field.
Co-authored-by:
Vsevolod Stakhov <vsevolod.stakhov@parity.io>
Showing
- polkadot/node/core/dispute-coordinator/src/initialized.rs 1 addition, 5 deletionspolkadot/node/core/dispute-coordinator/src/initialized.rs
- polkadot/node/core/dispute-coordinator/src/lib.rs 1 addition, 6 deletionspolkadot/node/core/dispute-coordinator/src/lib.rs
- polkadot/node/core/dispute-coordinator/src/participation/mod.rs 1 addition, 33 deletions...ot/node/core/dispute-coordinator/src/participation/mod.rs
- polkadot/node/core/dispute-coordinator/src/participation/queues/mod.rs 2 additions, 10 deletions.../core/dispute-coordinator/src/participation/queues/mod.rs
- polkadot/node/core/dispute-coordinator/src/participation/queues/tests.rs 1 addition, 1 deletion...ore/dispute-coordinator/src/participation/queues/tests.rs
- polkadot/node/core/dispute-coordinator/src/participation/tests.rs 2 additions, 63 deletions.../node/core/dispute-coordinator/src/participation/tests.rs
Please register or sign in to comment