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

Feat/time based tenure extend merge #5504

Merged

Conversation

obycode
Copy link
Contributor

@obycode obycode commented Nov 26, 2024

Merge develop into feat/time-based-tenure-extend.

…there can be a test function called shadow_load_tenure_info() for shadow tenures
… via a SIP in order to fix a chain stall. Update the validation and processing logic to handle shadow blocks, since they won't have corresponding sortitions.
…reward (since there won't be any burns for it)
…t fetch them again. This would make it so we'd "discover" shadow tenures
…lly first and advance the tenure downloader state machine from that
…entory bitvec (required for the downloader to work)
…t build atop shadow blocks point to the coinbase tx
… assumed to have descended from a shadow block, and thus the current PoX anchor block
…minnig after a shadow tenure (in which case ATC-C forbids us from winning)
…vailable if their shadow tenure isn't mined yet, and validate a block's block-commit against a parent shadow block's sortition (since we can't do that in LeaderBlockCommitOp::check_pox())
… that no blocks ever conflict with a shadow block
…s in ATC-C, and add functionality for mining shadow tenures
…wnloaders in order to have tenure downloaders load up local shadow block state. Also, update tenure downloaders to try and load block data locally before asking for it over the network.
…hadow tenure, for replacing the anchor block with a shadow block, and for replacing a reward cycle with shadow tenures
ASuciuX and others added 21 commits November 21, 2024 13:09
…nd-remove

Add info logs for adding and removing a neighbor
…d-message

 Fix/http stall on invalid message
This is safe because schema 4 has not yet been released
…ocks

Tenure extend when the previous tenure is bad
Feat: Shadow block recovery mechanism
@obycode obycode requested review from a team as code owners November 26, 2024 15:02
@obycode obycode merged commit ecb92c4 into feat/time-based-tenure-extend Nov 26, 2024
1 check passed
@obycode obycode deleted the feat/time-based-tenure-extend-merge branch November 26, 2024 15:16
@blockstack-devops
Copy link
Contributor

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.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants