Dispute coordinator overlay (#3462)
* node/dispute-coordinator: Modify db to return SubsystemResult. In preparation of moving to the overlayed backend pattern, this commit moves the db to return SubsystemResult values. * node/dispute-coordinator: Add the Backend and OverlayedBackend. This commit adds the backend and overlayed backend structs to the dispute-coordinator subsystem. * node/dispute-coordinator: Implement backend and overlayed-backend. This commit finalizes the move from the previous transactional model to the common overlay pattern in subsystem persistency. This can be observed in the ApprovalVoting and ChainSelection subsystems. * Add module docs + license * Touchup merge
parent
7948eae5
Showing
- polkadot/node/core/dispute-coordinator/src/backend.rs 183 additions, 0 deletionspolkadot/node/core/dispute-coordinator/src/backend.rs
- polkadot/node/core/dispute-coordinator/src/db/v1.rs 263 additions, 288 deletionspolkadot/node/core/dispute-coordinator/src/db/v1.rs
- polkadot/node/core/dispute-coordinator/src/lib.rs 94 additions, 119 deletionspolkadot/node/core/dispute-coordinator/src/lib.rs
- polkadot/node/core/dispute-coordinator/src/tests.rs 2 additions, 1 deletionpolkadot/node/core/dispute-coordinator/src/tests.rs
Please register or sign in to comment