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

test: default acceptnonstdtxn=0 on all chains #28354

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

ajtowns
Copy link
Contributor

@ajtowns ajtowns commented Aug 28, 2023

Changes -acceptnonstxtxn to default to 0 on testnet, matching the other chains. Allowing non-standard txs on testnet by default contributed to the difficulties RSK described in #26348: "We see that there are two script paths and, to reduce the script size, a single CHECKMULTISIG is used for the two paths, separating the signer count from the CHECKMULTISIG opcode. This script worked on testnet, because it lacks the standard checks performed in Mainnet."

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 28, 2023

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

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK MarcoFalke, sipa, instagibbs, 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:

  • #28207 (mempool: Persist with XOR by MarcoFalke)
  • #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.

src/init.cpp Outdated Show resolved Hide resolved
@maflcko
Copy link
Member

maflcko commented Aug 28, 2023

lgtm ACK 1dcf221

Previously, the default for acceptnonstdtxn defaulted to 0 on all
chains except testnet. Change this to be consistent across all
chains, and remove the parameter from chainparams entirely.
@maflcko
Copy link
Member

maflcko commented Aug 28, 2023

lgtm ACK 13eb8aa

I think the pull request title should start with policy: , or test: , no?

@ajtowns ajtowns changed the title config: default acceptnonstdtxn=0 on all chains test: default acceptnonstdtxn=0 on all chains Aug 28, 2023
@DrahtBot DrahtBot added the Tests label Aug 28, 2023
@sipa
Copy link
Member

sipa commented Aug 28, 2023

utACK 13eb8aa

@instagibbs
Copy link
Member

utACK 13eb8aa

Copy link
Contributor

@theStack theStack 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 13eb8aa

@fanquake fanquake merged commit 5175ae4 into bitcoin:master Aug 29, 2023
15 checks passed
Copy link
Member

@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.

ACK 13eb8aa

Copy link
Contributor

@jonatack jonatack left a comment

Choose a reason for hiding this comment

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

Post-merge ACK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants