staking miner: spawn separate task for each block (#4716)

* staking miner: use config for emergency solution

Fixes #4678

* bump jsonrpsee

* run `monitor_cmd_for` until the connection is closed

* new tokio task for submit_and_watch xt

* re-use header subscription

* update jsonrpsee + simplify code

* revert polkadot runtime changes

* fix grumbles

* Update utils/staking-miner/src/monitor.rs

* grumbles: fix logs + nits
This commit is contained in:
Niklas Adolfsson
2022-02-07 11:21:56 +01:00
committed by GitHub
parent aa2af6a460
commit 188840dca1
6 changed files with 233 additions and 98 deletions
+1 -1
View File
@@ -10401,7 +10401,7 @@ dependencies = [
"frame-election-provider-support",
"frame-support",
"frame-system",
"jsonrpsee 0.4.1",
"jsonrpsee 0.8.0",
"kusama-runtime",
"log",
"pallet-balances",