@@ -11415,6 +11415,11 @@ fn tenure_extend_after_failed_miner() {
11415
11415
#[test]
11416
11416
#[ignore]
11417
11417
/// Test that a miner will extend its tenure after the succeding miner commits to the wrong block.
11418
+ ///
11419
+ /// This test is quite similar to `tenure_extend_after_stale_commit_different_miner`,
11420
+ /// with the difference that signers will reject a reorg attempt due to the reorg attempt
11421
+ /// being more than `first_proposal_burn_block_timing` seconds.
11422
+ ///
11418
11423
/// - Miner 1 wins a tenure and mines normally
11419
11424
/// - Miner 1 wins another tenure and mines normally, but miner 2 does not see any blocks from this tenure
11420
11425
/// - Miner 2 wins a tenure and is unable to mine a block
@@ -18861,10 +18866,14 @@ fn signers_treat_signatures_as_precommits() {
18861
18866
/// We're verifying that, in this scenario, the tenure is extended,
18862
18867
/// instead of a new one being created (and forking the tip).
18863
18868
///
18864
- /// - Miner A wins tenure A
18865
- /// - Miner B wins tenure B, with 2 blocks
18866
- /// - Miner A wins tenure C, but with a block commit to tip A
18867
- /// - We verify that Miner B extends Tenure B
18869
+ /// This test is quite similar to `tenure_extend_after_bad_commit`, but
18870
+ /// with the difference of the fact that there are 2 blocks mined in tenure B,
18871
+ /// which means signers will always reject a reorg attempt (regardless of timing).
18872
+ ///
18873
+ /// - Miner 1 wins tenure A
18874
+ /// - Miner 2 wins tenure B, with 2 blocks
18875
+ /// - Miner 1 wins tenure C, but with a block commit to tip A
18876
+ /// - We verify that Miner 1 extends Tenure B
18868
18877
fn tenure_extend_after_stale_commit_different_miner() {
18869
18878
if env::var("BITCOIND_TEST") != Ok("1".into()) {
18870
18879
return;
0 commit comments