staking miner: Check the queue one last time before submission (#4819)
* 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 * feat: add `ensure_no_better_solution` function * storage access for submissions and indices * check ensure_no_previous_solution before remote ext * fix todos * grumbles: Perbill::from_percent * hacky fix * use modified EPM pallet and various fixes * diener update --substrate --branch na-epm-pub * Revert "diener update --substrate --branch na-epm-pub" This reverts commit b3b9a58c9313372c8f21cf247ba0c8528d9953c0. * update substrate * tokio spawn on concurrent stuff * cleanup * Update utils/staking-miner/src/monitor.rs * Update utils/staking-miner/src/monitor.rs * more cleanup * fix nits * address grumbles * only run batch reqs when signed phase * better help menu for submission strategy CLI * add tests for submission strategy
Showing
- polkadot/utils/staking-miner/Cargo.toml 0 additions, 1 deletionpolkadot/utils/staking-miner/Cargo.toml
- polkadot/utils/staking-miner/src/main.rs 70 additions, 2 deletionspolkadot/utils/staking-miner/src/main.rs
- polkadot/utils/staking-miner/src/monitor.rs 116 additions, 30 deletionspolkadot/utils/staking-miner/src/monitor.rs
Please register or sign in to comment