@@ -2332,8 +2332,8 @@ pub struct MinerConfig {
2332
2332
pub max_reorg_depth : u64 ,
2333
2333
/// Amount of time while mining in nakamoto to wait for signers to respond to a proposed block
2334
2334
pub wait_on_signers : Duration ,
2335
- /// Whether to send miner messages in Epoch 2.5 through the .miners contract. This is used for testing.
2336
- pub pre_nakamoto_miner_messaging : bool ,
2335
+ /// Whether to mock sign in Epoch 2.5 through the .miners and .signers contracts. This is used for testing purposes in Epoch 2.5 only .
2336
+ pub pre_nakamoto_mock_signing : bool ,
2337
2337
}
2338
2338
2339
2339
impl Default for MinerConfig {
@@ -2364,7 +2364,7 @@ impl Default for MinerConfig {
2364
2364
max_reorg_depth : 3 ,
2365
2365
// TODO: update to a sane value based on stackerdb benchmarking
2366
2366
wait_on_signers : Duration :: from_secs ( 200 ) ,
2367
- pre_nakamoto_miner_messaging : true ,
2367
+ pre_nakamoto_mock_signing : true ,
2368
2368
}
2369
2369
}
2370
2370
}
@@ -2696,7 +2696,7 @@ pub struct MinerConfigFile {
2696
2696
pub filter_origins : Option < String > ,
2697
2697
pub max_reorg_depth : Option < u64 > ,
2698
2698
pub wait_on_signers_ms : Option < u64 > ,
2699
- pub pre_nakamoto_miner_messaging : Option < bool > ,
2699
+ pub pre_nakamoto_mock_signing : Option < bool > ,
2700
2700
}
2701
2701
2702
2702
impl MinerConfigFile {
@@ -2799,7 +2799,7 @@ impl MinerConfigFile {
2799
2799
. wait_on_signers_ms
2800
2800
. map ( Duration :: from_millis)
2801
2801
. unwrap_or ( miner_default_config. wait_on_signers ) ,
2802
- pre_nakamoto_miner_messaging : self . pre_nakamoto_miner_messaging . unwrap_or ( true ) ,
2802
+ pre_nakamoto_mock_signing : self . pre_nakamoto_mock_signing . unwrap_or ( true ) ,
2803
2803
} )
2804
2804
}
2805
2805
}
0 commit comments