Adds some missing logs and is meant to be an aggregated PR for other minor convenient additions. Please open a PR over this branch if you wish to add anything. All changes should be small in scope.
Some suggestions to add here:
Add to Consensus an atomic boolean set at Consensus::signal_exit which can be used by processors such as the pruning processor to exit long operations early if the app is shutting down. Another place to use this flag is PruningProofManager::validate_pruning_point_proof.
Add --norpc flag support to kaspad cmd options
Metrics logs: split perf-monitor metrics log to two more readable and short lines. Consider printing numbers also in readable format with units such as KB,MB,GB. Change cmd option perf_metrics_interval_sec default value to 10. **
Adds some missing logs and is meant to be an aggregated PR for other minor convenient additions. Please open a PR over this branch if you wish to add anything. All changes should be small in scope.
Some suggestions to add here:
Consensus
an atomic boolean set atConsensus::signal_exit
which can be used by processors such as the pruning processor to exit long operations early if the app is shutting down. Another place to use this flag isPruningProofManager::validate_pruning_point_proof
.--norpc
flag support tokaspad
cmd optionsperf-monitor
metrics log to two more readable and short lines. Consider printing numbers also in readable format with units such as KB,MB,GB. Change cmd optionperf_metrics_interval_sec
default value to 10. **** Current state:
Desired state:
(the only reason to keep the long numbers as well is for log parsing)