Repository navigation
policy: Treat taproot as always active - #23512
Merged
Merged
Conversation
maflcko
force-pushed
the
2111-policyTaprootActive
branch
from
November 15, 2021 10:02
fa4e1d9 to
76a903b
Compare
maflcko
force-pushed
the
2111-policyTaprootActive
branch
from
November 15, 2021 11:19
76a903b to
fa49d61
Compare
Member
|
Concept ACK |
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
maflcko
force-pushed
the
2111-policyTaprootActive
branch
from
November 16, 2021 07:21
fa49d61 to
fa3e0da
Compare
Member
Author
|
@achow101 Sorry, I accidentally deleted your comment. It was a comment on the docstring of
Thanks, I've force pushed a new docstring. |
This was referenced Nov 16, 2021
Contributor
|
Code Review ACK fa3e0da |
Member
|
ACK fa3e0da |
This was referenced Nov 16, 2021
Member
|
utACK fa3e0da |
Contributor
|
ACK fa3e0da |
rajarshimaitra
left a comment
Contributor
There was a problem hiding this comment.
code review + tACK fa3e0da
Contributor
|
Code Review + tACK fa3e0da |
fanquake
added a commit
that referenced
this pull request
Mar 11, 2022
40e871d [miner] always assume we can create witness blocks (glozow) Pull request description: Given the low possibility of a reorg reverting the segwit soft fork, there is no longer a need to check whether segwit is active to see if it's okay to add to the block template (see also #23512, #21009, etc). `TestBlockValidity()` is also run on the block template at the end of `CreateNewBlock()`, so any invalid block would be caught there. ACKs for top commit: gruve-p: ACK 40e871d jnewbery: utACK 40e871d, although I disagree about changing the test for segwit transaction in mempool before activagtion, instead of just removing it: #24421 (comment). achow101: ACK 40e871d theStack: Code-review ACK 40e871d Tree-SHA512: bf4860bf2bed8339622d05228d11d60286edb0c32a9a3c434b8d154913c07ea56e50649f4af7009c2a1c6a58a81d2299ab43b41a6f16dee7d08cc89cc1603019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now that taproot is active, it can be treated as if it was always active for policy for the next major release. This simplifies the code and changes two things:
trdescriptors can be done before the chain is fully synced. This is fine, because the wallet will already generatetrdescriptors by default (regardless of the taproot status) after commit 47fe744.A similar change was done for segwit v0 in #13120 .
This effectively reverts commit c5ec036.