diff --git a/tig-protocol/src/add_block.rs b/tig-protocol/src/add_block.rs index 8d430dc8..edd855cd 100644 --- a/tig-protocol/src/add_block.rs +++ b/tig-protocol/src/add_block.rs @@ -667,7 +667,7 @@ async fn update_influence(ctx: &mut T, block: &Block) { let zero = PreciseNumber::from(0); let one = PreciseNumber::from(1); let imbalance_multiplier = - PreciseNumber::from_f64(config.multi_factor_proof_of_work.imbalance_multiplier); + PreciseNumber::from_f64(config.optimisable_proof_of_work.imbalance_multiplier); let num_challenges = PreciseNumber::from(active_challenge_ids.len()); let mut weights = Vec::::new(); diff --git a/tig-structs/src/config.rs b/tig-structs/src/config.rs index 72b61d22..6f8d6951 100644 --- a/tig-structs/src/config.rs +++ b/tig-structs/src/config.rs @@ -12,7 +12,7 @@ serializable_struct_with_getters! { solution_signature: SolutionSignatureConfig, qualifiers: QualifiersConfig, difficulty: DifficultyConfig, - multi_factor_proof_of_work: MultiFactorProofOfWorkConfig, + optimisable_proof_of_work: OptimisableProofOfWorkConfig, rounds: RoundsConfig, algorithm_submissions: AlgorithmSubmissionsConfig, rewards: RewardsConfig, @@ -79,7 +79,7 @@ serializable_struct_with_getters! { } } serializable_struct_with_getters! { - MultiFactorProofOfWorkConfig { + OptimisableProofOfWorkConfig { imbalance_multiplier: f64, } }