mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 01:01:04 +00:00
PVF: Add Secure Validator Mode (#2486)
Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
@@ -633,6 +633,8 @@ pub struct NewFullParams<OverseerGenerator: OverseerGen> {
|
||||
/// The version of the node. TESTING ONLY: `None` can be passed to skip the node/worker version
|
||||
/// check, both on startup and in the workers.
|
||||
pub node_version: Option<String>,
|
||||
/// Whether the node is attempting to run as a secure validator.
|
||||
pub secure_validator_mode: bool,
|
||||
/// An optional path to a directory containing the workers.
|
||||
pub workers_path: Option<std::path::PathBuf>,
|
||||
/// Optional custom names for the prepare and execute workers.
|
||||
@@ -722,6 +724,7 @@ pub fn new_full<OverseerGenerator: OverseerGen>(
|
||||
jaeger_agent,
|
||||
telemetry_worker_handle,
|
||||
node_version,
|
||||
secure_validator_mode,
|
||||
workers_path,
|
||||
workers_names,
|
||||
overseer_gen,
|
||||
@@ -953,6 +956,7 @@ pub fn new_full<OverseerGenerator: OverseerGen>(
|
||||
.ok_or(Error::DatabasePathRequired)?
|
||||
.join("pvf-artifacts"),
|
||||
node_version,
|
||||
secure_validator_mode,
|
||||
prep_worker_path,
|
||||
exec_worker_path,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user