File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1460,6 +1460,8 @@ fn multiple_miners() {
1460
1460
let node_2_rpc_bind = format ! ( "{localhost}:{node_2_rpc}" ) ;
1461
1461
let mut node_2_listeners = Vec :: new ( ) ;
1462
1462
1463
+
1464
+ let max_nakamoto_tenures = 30 ;
1463
1465
// partition the signer set so that ~half are listening and using node 1 for RPC and events,
1464
1466
// and the rest are using node 2
1465
1467
@@ -1481,7 +1483,7 @@ fn multiple_miners() {
1481
1483
config. node . p2p_address = format ! ( "{localhost}:{node_1_p2p}" ) ;
1482
1484
config. miner . wait_on_interim_blocks = Duration :: from_secs ( 5 ) ;
1483
1485
config. node . pox_sync_sample_secs = 30 ;
1484
- config. burnchain . pox_reward_length = Some ( 30 ) ;
1486
+ config. burnchain . pox_reward_length = Some ( max_nakamoto_tenures ) ;
1485
1487
1486
1488
config. node . seed = btc_miner_1_seed. clone ( ) ;
1487
1489
config. node . local_peer_seed = btc_miner_1_seed. clone ( ) ;
@@ -1561,8 +1563,6 @@ fn multiple_miners() {
1561
1563
1562
1564
info ! ( "------------------------- Reached Epoch 3.0 -------------------------" ) ;
1563
1565
1564
- let max_nakamoto_tenures = 20 ;
1565
-
1566
1566
// due to the random nature of mining sortitions, the way this test is structured
1567
1567
// is that we keep track of how many tenures each miner produced, and once enough sortitions
1568
1568
// have been produced such that each miner has produced 3 tenures, we stop and check the
You can’t perform that action at this time.
0 commit comments