Skip to content

Conversation

@glozow
Copy link
Member

@glozow glozow commented Jun 12, 2024

Adds a release note for TRUC policy which will be live in v28.0.

For clarity, replaces mentions of "v3" with "TRUC" in most places. Suggested in

I changed error strings from "v3-violation" to "TRUC-violation" but left v3 in the debug strings because I think it might be clearer for somebody who is debugging. Similarly, I left some variables unchanged because I think they're more descriptive this way, e.g. tx_v3_from_v2_and_v3. I'm happy to debate places that should or shouldn't be documented differently in this PR, whatever is clearest to everyone.

@glozow glozow added the Docs label Jun 12, 2024
@glozow glozow added this to the 28.0 milestone Jun 12, 2024
@DrahtBot
Copy link
Contributor

DrahtBot commented Jun 12, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK instagibbs, ismaelsadeeq, achow101
Concept ACK theStack

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #30239 (Ephemeral Anchors, take 2 by instagibbs)
  • #30079 (Fee Estimation: Ignore all transactions that are CPFP'd by ismaelsadeeq)
  • #29790 ([DO NOT MERGE] cmake: Migrate CI scripts to CMake-based build system -- WIP by hebasto)
  • #28710 (Remove the legacy wallet and BDB dependency by achow101)
  • #28690 (build: Introduce internal kernel library by TheCharlatan)
  • #28676 ([WIP] Cluster mempool implementation by sdaftuar)
  • #28132 (policy: Enable full-rbf by default by petertodd)

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.

Copy link
Member

@ismaelsadeeq ismaelsadeeq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

@glozow glozow force-pushed the 2024-06-v3-followups branch from ce007e8 to a6821a0 Compare June 18, 2024 12:10
@glozow glozow marked this pull request as ready for review June 18, 2024 12:12
@theStack
Copy link
Contributor

Concept ACK 🚜

Copy link
Member

@instagibbs instagibbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a6821a0a4e1cf2aba679962289f4beeefd3d539a

fairly mechanical changes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@glozow
Copy link
Member Author

glozow commented Jun 19, 2024

cc @murchandamus @ismaelsadeeq since you suggested the doc changes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe update test/functional/wallet_create_tx.py test.

see d3fa531, if it makes sense feel free to cherry-pick

glozow added 3 commits July 2, 2024 11:57
Keep mentions of v3 in debug strings to help people who might not know
that TRUC is applied when version=3.
Also keep variable names in tests, as it is less verbose to keep v3 and v2.
-BEGIN VERIFY SCRIPT-
sed -i 's/SingleV3Checks/SingleTRUCChecks/g' $(git grep -l 'SingleV3Checks')
sed -i 's/PackageV3Checks/PackageTRUCChecks/g' $(git grep -l 'PackageV3Checks')
sed -i 's/PV3C/PTRUCC/g' src/policy/truc_policy.h
sed -i 's/V3_MAX_VSIZE/TRUC_MAX_VSIZE/g' $(git grep -l 'V3_MAX_VSIZE')
sed -i 's/V3_CHILD_MAX_VSIZE/TRUC_CHILD_MAX_VSIZE/g' $(git grep -l 'V3_CHILD_MAX_VSIZE')
sed -i 's/V3_DESCENDANT_LIMIT/TRUC_DESCENDANT_LIMIT/g' $(git grep -l 'V3_DESCENDANT_LIMIT')
sed -i 's/V3_ANCESTOR_LIMIT/TRUC_ANCESTOR_LIMIT/g' $(git grep -l 'V3_ANCESTOR_LIMIT')
sed -i 's/CheckMempoolV3Invariants/CheckMempoolTRUCInvariants/g' $(git grep -l 'CheckMempoolV3Invariants')
-END VERIFY SCRIPT-
@glozow glozow force-pushed the 2024-06-v3-followups branch from a6821a0 to 4664f50 Compare July 2, 2024 11:07
Copy link
Member Author

@glozow glozow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @ismaelsadeeq! Took your suggestions and fixed docs in a few more places

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@glozow glozow force-pushed the 2024-06-v3-followups branch from 4664f50 to 926b8e3 Compare July 2, 2024 11:20
@instagibbs
Copy link
Member

reACK 926b8e3

reviewed via "git range-diff master a6821a0 926b8e3"

Copy link
Member

@ismaelsadeeq ismaelsadeeq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK 926b8e3

@DrahtBot DrahtBot requested a review from achow101 July 2, 2024 21:37
@achow101
Copy link
Member

achow101 commented Jul 2, 2024

ACK 926b8e3

@hebasto
Copy link
Member

hebasto commented Jul 14, 2024

Ported to the CMake-based build system in hebasto#264.

@bitcoin bitcoin locked and limited conversation to collaborators Jul 14, 2025
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