File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1756,12 +1756,16 @@ impl RelayerThread {
1756
1756
) )
1757
1757
}
1758
1758
1759
- /// Try to start up a tenure-extend.
1759
+ /// Try to start up a tenure-extend if the tenure_extend_time has expired.
1760
+ ///
1760
1761
/// Will check if the tenure-extend time was set and has expired and one of the following is true:
1761
- /// - the miner won the highest valid sortition but the burn view has changed.
1762
+ /// - this miner won the highest valid sortition but the burn view has changed.
1762
1763
/// - the subsequent miner appears to be offline.
1763
1764
/// If so, it will stop any existing tenure and attempt to start a new one with an Extended reason.
1764
1765
/// Otherwise, it will do nothing.
1766
+ ///
1767
+ /// Note: tenure_extend_time is only set to Some(_) if during sortition processing, the sortition
1768
+ /// winner commit is corrupted or the winning miner has yet to produce a block.
1765
1769
fn try_continue_tenure ( & mut self ) {
1766
1770
// Should begin a tenure-extend?
1767
1771
if let Some ( tenure_extend_time) = & self . tenure_extend_time {
You can’t perform that action at this time.
0 commit comments