mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 06:57:58 +00:00
PVF: Add Secure Validator Mode (#2486)
Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
@@ -238,6 +238,8 @@ where
|
||||
let node_version =
|
||||
if cli.run.disable_worker_version_check { None } else { Some(NODE_VERSION.to_string()) };
|
||||
|
||||
let secure_validator_mode = cli.run.base.validator && !cli.run.insecure_validator;
|
||||
|
||||
runner.run_node_until_exit(move |config| async move {
|
||||
let hwbench = (!cli.run.no_hardware_benchmarks)
|
||||
.then_some(config.database.path().map(|database_path| {
|
||||
@@ -256,6 +258,7 @@ where
|
||||
jaeger_agent,
|
||||
telemetry_worker_handle: None,
|
||||
node_version,
|
||||
secure_validator_mode,
|
||||
workers_path: cli.run.workers_path,
|
||||
workers_names: None,
|
||||
overseer_gen,
|
||||
|
||||
Reference in New Issue
Block a user