You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
info!("Relayer: will not extend tenure -- we won sortition {}, but the highest valid sortition is {}",&canonical_stacks_snapshot.consensus_hash,&highest_valid_sortition.consensus_hash);
1423
-
returnOk(None);
1418
+
// The miner will be able to extend its tenure even if there are higher
1419
+
// valid sortitions, but IFF it determines that the miners of the sortition
1420
+
// has yet to produce a valid block.
1421
+
if canonical_stacks_snapshot.consensus_hash == highest_valid_sortition.consensus_hash{
1422
+
info!("Relayer: will not extend tenure -- we won sortition {}, but the highest valid sortition is {} and has already produced a valid Stacks block.",&canonical_stacks_snapshot.consensus_hash,&highest_valid_sortition.consensus_hash);
1423
+
returnOk(None);
1424
+
}
1424
1425
}
1425
1426
1426
1427
Ok(Some(canonical_stacks_snapshot))
@@ -1431,7 +1432,8 @@ impl RelayerThread {
1431
1432
/// elected the local view of the canonical Stacks fork's ongoing tenure.
1432
1433
///
1433
1434
/// This function assumes that the caller has checked that the sortition referred to by
1434
-
/// `new_burn_view` does not have a sortition winner.
1435
+
/// `new_burn_view` does not have a sortition winner or that the winner has not produced a
0 commit comments