-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Remove Taproot activation height #26201
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
base: master
Are you sure you want to change the base?
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/26201. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste 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. |
|
Concept ~0, but I object the claim in general that commits "sufficiently buried by other commits, and thus less likely to be reverted". Git isn't PoW, and "burying" commits does not make them less likely to be reverted. |
|
@luke-jr changed the wording to "is (probably) included in v24.0". |
|
This should be updating |
b0f4391 to
8f96e52
Compare
|
@ajtowns done |
b8c2cc1 to
20ef70f
Compare
|
Are you still working on this? |
|
I'll rebase soon(tm). |
src/deploymentinfo.cpp
Outdated
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 will need aRules in rpc/mining.cpp updated
20687de to
7fb3287
Compare
src/rpc/mining.cpp
Outdated
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.
@luke-jr like this?
This will need
aRulesinrpc/mining.cppupdated
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.
Oh wait, without !
I'll push a fix and add a test...
Before and after this change it should be:
bitcoin-cli getblocktemplate '{"rules": ["segwit"]}' | jq '.rules'
[
"csv",
"!segwit",
"taproot"
]
7fb3287 to
b5d8ddb
Compare
|
Rebased after kernel changes. Fixed a regression in |
src/rpc/mining.cpp
Outdated
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.
In #27433 I propose getting rid of fPreSegWit.
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 was #31625, but then closed
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.
f88b9cb to
1e9c19e
Compare
|
Rebased after #29039. |
1e9c19e to
6eff04e
Compare
|
Trivial rebase after #32386. |
6eff04e to
f08e573
Compare
|
Rebased after #31981 for minor conflict in |
8ee8a95 doc: taproot became always active in v24.0 (Sjors Provoost) Pull request description: Split from #26201. ACKs for top commit: maflcko: lgtm ACK 8ee8a95 janb84: ACK 8ee8a95 Tree-SHA512: 1ac6994c6775ca5423f022d1e02e3d531fb7fa295be9940355b8aa9d173787a8d65945a0cf976ab344bcaa3ea8a0f3aa6f8da851325bf475e59375981b115cab
f08e573 to
84287a3
Compare
|
Rebased after splitting the |
Drop DEPLOYMENT_TAPROOT from consensus.vDeployments.
Bump MinBIP9WarningHeight.
Clarify what is considered a BuriedDeployment and
drop taproot from getdeploymentinfo RPC.
Add a test to getblocktemplate to ensure the taproot
rule is still set.
Co-Authored-By: MarcoFalke <*~=`'#}+{/-|&$^[email protected]>
84287a3 to
ec17c82
Compare
|
Rebased after #33274. |
|
Concept ACK Seems reasonable given that we say "Consensus changes for which the new rules are enforced from genesis are not listed here." |
Drop
DEPLOYMENT_TAPROOTfromconsensus.vDeployments.Now that the commit (7c08d81) which changes taproot to be enforced for all blocks is included in v24.0, it seems a good time to remove no longer needed non-consensus code.
Clarify what is considered a
BuriedDeployment.We drop taproot from
getdeploymentinfoRPC, rather than mark it asburied, because this is not a buried deployment in the sense of BIP 90. This is because the activation height has been completely removed from the code, rather than hard coded.See discussion in #24737 and #26162.