mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
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:
@@ -5,16 +5,16 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "2.0.0" }
|
||||
tokio = { version = "1.15", features = ["macros"] }
|
||||
log = "0.4.11"
|
||||
env_logger = "0.9.0"
|
||||
clap = { version = "3.0", features = ["derive", "env"] }
|
||||
jsonrpsee = { version = "0.4.1", default-features = false, features = ["ws-client"] }
|
||||
serde_json = "1.0"
|
||||
serde = "1.0.132"
|
||||
codec = { package = "parity-scale-codec", version = "2.0.0" }
|
||||
env_logger = "0.9.0"
|
||||
jsonrpsee = { version = "0.8", features = ["ws-client"] }
|
||||
log = "0.4.11"
|
||||
paste = "1.0.6"
|
||||
serde = "1.0.132"
|
||||
serde_json = "1.0"
|
||||
thiserror = "1.0.30"
|
||||
tokio = { version = "1.15", features = ["macros", "rt-multi-thread", "sync"] }
|
||||
|
||||
remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user