Ankan
a3fefccbeb
[Companion] Bound Election and Staking by MaxActiveValidators ( #6157 )
...
* add maximum winners to multi phase election provider
* fallback to noelection
* fmt
* missing values
* convert boundedvec to inner before sort
* dont clone
* pr feedback
* update lockfile for {"substrate"}
* run onchain election on westend benchmark
Co-authored-by: parity-processbot <>
2022-11-09 12:00:03 +01:00
Niklas Adolfsson
8ea9b676a9
companion for #10945 ( #5012 )
...
* companion for #10945
* fix build
* fix bad merge
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-03-03 23:26:05 +00:00
Niklas Adolfsson
4210d014ec
staking miner: reuse ws conn for remote-ext ( #4849 )
...
* 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
* staking miner: reuse ws conn for remote-ext
* Revert "revert polkadot runtime changes"
This reverts commit 5fddbbec40702c122b079526915cabac8facdbc1.
* cargo fmt
* revert unintentional change
* revert unintentional change
* add type SharedRpcClient
* cargo fmt
* fix nits
* spelling
* use tracing_subcriber and cleanup
* remove some needless clones
* fix some nits
* fix spellcheck
2022-02-18 11:41:56 +00:00
Niklas Adolfsson
d278b63f6d
staking miner: use config for emergency solution ( #4694 )
2022-01-11 19:30:24 +01:00
Kian Paimani
51b694e05c
fix restart issue of staking miner ( #4073 )
...
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2021-10-14 13:12:01 +01:00
Zeke Mostov
b048be06fe
Allow staking miner to use different election algorithms ( #3752 )
...
* WIP
* Dry run cmd working
* Monitor cmd works
* Configure balance with parameter type
* Comments
* cleannnn
* Add balancing to PhragMMS
* Move OffchainRanomBalancing to common
* DRY mine_unchecked over config.solver
* FMT
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Improve docs for any_runtime_unit!
* Some cleanup
* fmt
* Correct capitilaztion
* Improve version mismatch log
* Revert "Improve version mismatch log"
This reverts commit 57570403f654f1efa4307956cda2de6f0c64f70a.
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Remove Balancing struct and use Balancing Parameter type instead
* update Substrate
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2021-09-09 20:21:54 +00:00
Kian Paimani
961b9621ec
check runtime version in staking miner ( #3628 )
...
* check runtime version in staking miner
* fmt
* add short alias for things
* fix fee
* print length as well
* fix build
* review comments
2021-08-16 15:49:03 +00:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Kian Paimani
505145efd3
Staking Miner ( #3141 )
...
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
Co-authored-by: Peter Goodspeed-Niklaus <peter.r.goodspeedniklaus@gmail.com >
2021-07-01 20:22:35 +01:00