Warn validators with slow hardware (#12620)
* move Metric * run hardware bench if validiator flag is being used * fix rustdoc & update node-template * fix * unused improt * warn * move Requirement * bench_result * ensure_requirements * make the code compile * check if authority * Update client/sysinfo/src/sysinfo.rs Co-authored-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * nit fixes * warning signs * Update client/sysinfo/src/sysinfo.rs Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Showing
- substrate/bin/node/cli/src/service.rs 6 additions, 1 deletionsubstrate/bin/node/cli/src/service.rs
- substrate/client/sysinfo/src/lib.rs 2 additions, 1 deletionsubstrate/client/sysinfo/src/lib.rs
- substrate/client/sysinfo/src/sysinfo.rs 131 additions, 4 deletionssubstrate/client/sysinfo/src/sysinfo.rs
- substrate/utils/frame/benchmarking-cli/src/lib.rs 1 addition, 1 deletionsubstrate/utils/frame/benchmarking-cli/src/lib.rs
- substrate/utils/frame/benchmarking-cli/src/machine/hardware.rs 1 addition, 90 deletions...rate/utils/frame/benchmarking-cli/src/machine/hardware.rs
- substrate/utils/frame/benchmarking-cli/src/machine/mod.rs 3 additions, 2 deletionssubstrate/utils/frame/benchmarking-cli/src/machine/mod.rs
Please register or sign in to comment