We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137dcf0 commit 47ec2d4Copy full SHA for 47ec2d4
testnet/stacks-node/src/nakamoto_node/miner.rs
@@ -443,6 +443,11 @@ impl BlockMinerThread {
443
"Failed to open chainstate DB. Cannot mine! {e:?}"
444
))
445
})?;
446
+ // Late block tenures are initiated only to issue the BlockFound
447
+ // tenure change tx (because they can be immediately extended to
448
+ // the next burn view). This checks whether or not we're in such a
449
+ // tenure and have produced a block already. If so, it exits the
450
+ // mining thread to allow the tenure extension thread to take over.
451
if self.last_block_mined.is_some() && self.reason.is_late_block() {
452
info!("Miner: finished mining a late tenure");
453
return Err(NakamotoNodeError::StacksTipChanged);
0 commit comments