grandpa: add voting rule to pause new votes for a period (#904)

* grandpa: add voting rule to pause new votes for a period

* grandpa: increase delay

* grandpa: parse custom pause delay from cli

* grandpa: log scheduled pause on startup

* grandpa: rename parameter to grandpa_pause

* grandpa: make pause voting rule generic on block

* grandpa: add test for pause voting rule

* grandpa: add hardcoded pause

* collator: fix test compilation
This commit is contained in:
André Silva
2020-03-17 14:26:09 +00:00
committed by GitHub
parent d07116a577
commit b9de1c0244
6 changed files with 277 additions and 11 deletions
+2
View File
@@ -4071,8 +4071,10 @@ dependencies = [
"polkadot-primitives 0.7.26-pre1",
"polkadot-rpc 0.7.26-pre1",
"polkadot-runtime 0.7.26-pre1",
"polkadot-test-runtime-client 2.0.0",
"polkadot-validation 0.7.26-pre1",
"sc-authority-discovery 0.8.0-alpha.3 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sc-block-builder 0.8.0-alpha.3 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sc-chain-spec 2.0.0-alpha.3 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sc-client 0.8.0-alpha.3 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",
"sc-client-api 2.0.0-alpha.3 (git+https://github.com/paritytech/substrate?branch=polkadot-master)",