Vote out offline authorities (#524)
* notify when an authority appears to have missed their block * Runtime API * offline tracker * Move to consensus * generating reports of offline indices * stubbed-out evaluation logic * Slashing data pathwat * usize -> u32 * Slash bad validators. * update to rhododendron 0.3 * fix compilation of polkadot-consensus * Support offline noting in checked_block * include offline reports in block authorship voting * do not vote validators offline after some time * add test for offline-tracker * fix test build * bump spec version * update wasm * Only allow validators that are possible to slash * Fix grumble * More idiomatic * New Wasm. * update rhododendron * improve logging and reduce round time exponent * format offline validators in ss58
Showing
- polkadot/api/src/full.rs 19 additions, 8 deletionspolkadot/api/src/full.rs
- polkadot/api/src/lib.rs 7 additions, 5 deletionspolkadot/api/src/lib.rs
- polkadot/api/src/light.rs 7 additions, 4 deletionspolkadot/api/src/light.rs
- polkadot/consensus/Cargo.toml 1 addition, 1 deletionpolkadot/consensus/Cargo.toml
- polkadot/consensus/src/dynamic_inclusion.rs 3 additions, 0 deletionspolkadot/consensus/src/dynamic_inclusion.rs
- polkadot/consensus/src/lib.rs 98 additions, 11 deletionspolkadot/consensus/src/lib.rs
- polkadot/consensus/src/offline_tracker.rs 137 additions, 0 deletionspolkadot/consensus/src/offline_tracker.rs
- polkadot/consensus/src/service.rs 4 additions, 0 deletionspolkadot/consensus/src/service.rs
- polkadot/network/Cargo.toml 1 addition, 1 deletionpolkadot/network/Cargo.toml
- polkadot/primitives/src/lib.rs 11 additions, 0 deletionspolkadot/primitives/src/lib.rs
- polkadot/runtime/src/checked_block.rs 11 additions, 1 deletionpolkadot/runtime/src/checked_block.rs
- polkadot/runtime/src/lib.rs 5 additions, 2 deletionspolkadot/runtime/src/lib.rs
- polkadot/runtime/src/parachains.rs 1 addition, 0 deletionspolkadot/runtime/src/parachains.rs
- polkadot/runtime/src/utils.rs 23 additions, 20 deletionspolkadot/runtime/src/utils.rs
- polkadot/runtime/wasm/Cargo.lock 15 additions, 10 deletionspolkadot/runtime/wasm/Cargo.lock
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm 0 additions, 0 deletions...m32-unknown-unknown/release/polkadot_runtime.compact.wasm
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm 0 additions, 0 deletions...rget/wasm32-unknown-unknown/release/polkadot_runtime.wasm
- polkadot/transaction-pool/src/lib.rs 5 additions, 5 deletionspolkadot/transaction-pool/src/lib.rs
Please register or sign in to comment