@@ -1227,8 +1227,9 @@ fn bitcoind_forking_test() {
1227
1227
let pre_epoch_3_nonce = get_account ( & http_origin, & miner_address) . nonce ;
1228
1228
let pre_fork_tenures = 10 ;
1229
1229
1230
- for _i in 0 ..pre_fork_tenures {
1231
- let _mined_block = signer_test. mine_nakamoto_block ( Duration :: from_secs ( 30 ) ) ;
1230
+ for i in 0 ..pre_fork_tenures {
1231
+ debug ! ( "Mining pre-fork tenure {} of {pre_fork_tenures}" , i + 1 ) ;
1232
+ signer_test. mine_nakamoto_block ( Duration :: from_secs ( 30 ) ) ;
1232
1233
}
1233
1234
1234
1235
let pre_fork_1_nonce = get_account ( & http_origin, & miner_address) . nonce ;
@@ -1255,7 +1256,11 @@ fn bitcoind_forking_test() {
1255
1256
thread:: sleep ( Duration :: from_secs ( 15 ) ) ;
1256
1257
1257
1258
// we need to mine some blocks to get back to being considered a frequent miner
1258
- for _i in 0 ..3 {
1259
+ for i in 0 ..3 {
1260
+ debug ! (
1261
+ "Mining block {} of 3 to be considered a frequent miner" ,
1262
+ i + 1
1263
+ ) ;
1259
1264
let commits_count = signer_test
1260
1265
. running_nodes
1261
1266
. commits_submitted
@@ -1278,7 +1283,8 @@ fn bitcoind_forking_test() {
1278
1283
1279
1284
assert_eq ! ( post_fork_1_nonce, pre_fork_1_nonce - 1 * 2 ) ;
1280
1285
1281
- for _i in 0 ..5 {
1286
+ for i in 0 ..5 {
1287
+ debug ! ( "Mining post-fork tenure {} of 5" , i + 1 ) ;
1282
1288
signer_test. mine_nakamoto_block ( Duration :: from_secs ( 30 ) ) ;
1283
1289
}
1284
1290
@@ -1310,7 +1316,11 @@ fn bitcoind_forking_test() {
1310
1316
thread:: sleep ( Duration :: from_secs ( 15 ) ) ;
1311
1317
1312
1318
// we need to mine some blocks to get back to being considered a frequent miner
1313
- for _i in 0 ..3 {
1319
+ for i in 0 ..3 {
1320
+ debug ! (
1321
+ "Mining block {} of 3 to be considered a frequent miner" ,
1322
+ i + 1
1323
+ ) ;
1314
1324
let commits_count = signer_test
1315
1325
. running_nodes
1316
1326
. commits_submitted
@@ -1333,7 +1343,8 @@ fn bitcoind_forking_test() {
1333
1343
1334
1344
assert_eq ! ( post_fork_2_nonce, pre_fork_2_nonce - 4 * 2 ) ;
1335
1345
1336
- for _i in 0 ..5 {
1346
+ for i in 0 ..5 {
1347
+ debug ! ( "Mining post-fork tenure {} of 5" , i + 1 ) ;
1337
1348
signer_test. mine_nakamoto_block ( Duration :: from_secs ( 30 ) ) ;
1338
1349
}
1339
1350
0 commit comments