-
Notifications
You must be signed in to change notification settings - Fork 668
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
Feat/more multi miner fixes jude #5093
Conversation
…a better understanding of when it becomes readable by other threads
… wanted tenure and availability calculations at reward cycle boundaries, and fix the transition logic for confirmed/unconfirmed states
…ainstate can mark the tenure as complete
…i.e. right after a sortition
…'t abort a walk because we can't find any always-allowed peers (use the seed peers in that case)
…nakamoto blocks if told to (don't look at the chainstate, since the caller stores the block before relaying it). This latter change fixes nakamoto block push
Pushed bfdb6e4 -- this should fix the unit test failures. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
After checking the failing CI tests:
Failed tests:
-- this is new to this PR, and it seems like it just has networking issues in CI? nakamoto_integrations::follower_bootup_across_multiple_cycles
v0::bitcoind_forking_test * fixed downstream in #5138
v0::miner_forking * broken in develop, fixed by another PR against develop
Working locally
v0::forked_tenure_okay
nakamoto_integrations::mock_mining
This seems okay to merge as is -- we can work on making sure the downstream PRs fix the CI issues.
doh! looks like we still need a formatting fix. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR fixes several more bugs and performance regressions in the networking stack and relayer. These bugs were discovered in a six-node topology with three miners and three stacker-signer followers, where each node was paired to its own bitcoin node and each stacker-signer follower was paired to a single follower (see schematic below):
Fixes included the following:
burnchain.poll_time_secs
.Things I still need to do: