Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Wait until in nakamoto to shutdown 2.x block downloader #5676 #5735

Merged
merged 19 commits into from
Feb 6, 2025
Merged
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e667b82
fix: only shut off the epoch2x state machines once the Stacks tip is …
jcnelson Jan 22, 2025
413a89c
Merge branch 'develop' into fix/5676
jcnelson Jan 22, 2025
f035175
chore: make the epoch2x state machine check testable, and extend Test…
jcnelson Jan 23, 2025
fb18290
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jcnelson Jan 23, 2025
683586f
Merge branch 'develop' into fix/5676
jcnelson Jan 23, 2025
b060bce
Merge branch 'fix/5676' of https://github.com/stacks-network/stacks-c…
jcnelson Jan 23, 2025
4b5402c
Merge branch 'develop' into fix/5676
jcnelson Jan 23, 2025
56e0581
chore: address PR feedback
jcnelson Jan 24, 2025
25515f9
Merge branch 'fix/5676' of https://github.com/stacks-network/stacks-c…
jcnelson Jan 24, 2025
27ba315
Merge branch 'develop' into fix/5676
jcnelson Jan 24, 2025
5d81c61
Merge branch 'develop' into fix/5676
aldur Jan 29, 2025
3420de3
chore: honor config option to force nakamoto state machine transition
jcnelson Feb 4, 2025
d5201e7
Merge branch 'fix/5676' of https://github.com/stacks-network/stacks-c…
jcnelson Feb 4, 2025
e7df7a4
Merge branch 'develop' of https://github.com/stacks-network/stacks-co…
jcnelson Feb 4, 2025
57f44d7
Merge branch 'develop' into fix/5676
jcnelson Feb 4, 2025
0915796
chore: fix failing unit test
jcnelson Feb 5, 2025
d371d38
Merge branch 'develop' into fix/5676
jcnelson Feb 5, 2025
d6a1c64
Merge branch 'develop' into fix/5676
jcnelson Feb 5, 2025
d5308ce
Merge branch 'develop' into fix/5676
jcnelson Feb 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions stackslib/src/net/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3606,12 +3606,7 @@ impl PeerNetwork {

// in Nakamoto epoch, but we might still be doing epoch 2.x things since Nakamoto does
// not begin on a reward cycle boundary.
if cur_epoch.epoch_id == StacksEpochId::Epoch30
&& (self.burnchain_tip.block_height
<= cur_epoch.start_height
+ u64::from(self.burnchain.pox_constants.reward_cycle_length)
|| self.connection_opts.force_nakamoto_epoch_transition)
{
if cur_epoch.epoch_id >= StacksEpochId::Epoch30 && !self.stacks_tip.is_nakamoto {
jcnelson marked this conversation as resolved.
Show resolved Hide resolved
debug!(
"{:?}: run Epoch 2.x work loop in Nakamoto epoch",
self.get_local_peer()
Expand Down