Add new Runtime API messages and make runtime API request fallible (#1485)
* polkadot-subsystem: update runtime API message types * update all networking subsystems to use fallible runtime APIs * fix bitfield-signing and make it use new runtime APIs * port candidate-backing to handle runtime API errors and new types * remove old runtime API messages * remove unused imports * fix grumbles * fix backing tests
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/node/core/backing/Cargo.toml 1 addition, 0 deletionspolkadot/node/core/backing/Cargo.toml
- polkadot/node/core/backing/src/lib.rs 92 additions, 55 deletionspolkadot/node/core/backing/src/lib.rs
- polkadot/node/core/bitfield-signing/src/lib.rs 36 additions, 20 deletionspolkadot/node/core/bitfield-signing/src/lib.rs
- polkadot/node/network/bitfield-distribution/src/lib.rs 30 additions, 15 deletionspolkadot/node/network/bitfield-distribution/src/lib.rs
- polkadot/node/network/pov-distribution/src/lib.rs 18 additions, 1 deletionpolkadot/node/network/pov-distribution/src/lib.rs
- polkadot/node/network/statement-distribution/src/lib.rs 23 additions, 3 deletionspolkadot/node/network/statement-distribution/src/lib.rs
- polkadot/node/subsystem/src/messages.rs 34 additions, 16 deletionspolkadot/node/subsystem/src/messages.rs
- polkadot/node/subsystem/src/util.rs 33 additions, 29 deletionspolkadot/node/subsystem/src/util.rs
Please register or sign in to comment