Fix cycle dispute-coordinator <-> dispute-distribution (#6489)
* First iteration of message sender. * dyn Fn variant (no cloning) * Full implementation + Clone, without allocs on `Send` * Further clarifications/cleanup. * MessageSender -> NestingSender * Doc update/clarification. * dispute-coordinator: Send disputes on startup. + Some fixes, cleanup. * Fix whitespace. * Dispute distribution fixes, cleanup. * Cargo.lock * Fix spaces. * More format fixes. What is cargo fmt doing actually? * More fmt fixes. * Fix nesting sender. * Fixes. * Whitespace * Enable logging. * Guide update. * Fmt fixes, typos. * Remove unused function. * Simplifications, doc fixes. * Update roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md Co-authored-by:Marcin S. <marcin@bytedude.com> * Fmt + doc example fix. Co-authored-by:
eskimor <eskimor@no-such-url.com> Co-authored-by:
Marcin S. <marcin@bytedude.com>
Showing
- polkadot/Cargo.lock 2 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/node/core/dispute-coordinator/Cargo.toml 1 addition, 0 deletionspolkadot/node/core/dispute-coordinator/Cargo.toml
- polkadot/node/core/dispute-coordinator/src/import.rs 61 additions, 43 deletionspolkadot/node/core/dispute-coordinator/src/import.rs
- polkadot/node/core/dispute-coordinator/src/initialized.rs 32 additions, 104 deletionspolkadot/node/core/dispute-coordinator/src/initialized.rs
- polkadot/node/core/dispute-coordinator/src/lib.rs 211 additions, 56 deletionspolkadot/node/core/dispute-coordinator/src/lib.rs
- polkadot/node/core/dispute-coordinator/src/tests.rs 56 additions, 112 deletionspolkadot/node/core/dispute-coordinator/src/tests.rs
- polkadot/node/network/dispute-distribution/src/lib.rs 39 additions, 31 deletionspolkadot/node/network/dispute-distribution/src/lib.rs
- polkadot/node/network/dispute-distribution/src/sender/mod.rs 133 additions, 211 deletionspolkadot/node/network/dispute-distribution/src/sender/mod.rs
- polkadot/node/network/dispute-distribution/src/sender/send_task.rs 11 additions, 11 deletions...node/network/dispute-distribution/src/sender/send_task.rs
- polkadot/node/network/dispute-distribution/src/tests/mod.rs 2 additions, 60 deletionspolkadot/node/network/dispute-distribution/src/tests/mod.rs
- polkadot/node/primitives/src/disputes/message.rs 1 addition, 1 deletionpolkadot/node/primitives/src/disputes/message.rs
- polkadot/node/subsystem-util/Cargo.toml 1 addition, 0 deletionspolkadot/node/subsystem-util/Cargo.toml
- polkadot/node/subsystem-util/src/lib.rs 6 additions, 0 deletionspolkadot/node/subsystem-util/src/lib.rs
- polkadot/node/subsystem-util/src/nesting_sender.rs 207 additions, 0 deletionspolkadot/node/subsystem-util/src/nesting_sender.rs
- polkadot/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md 13 additions, 8 deletions...plementers-guide/src/node/disputes/dispute-coordinator.md
- polkadot/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md 2 additions, 5 deletions...lementers-guide/src/node/disputes/dispute-distribution.md
Please register or sign in to comment