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

testmempoolaccept: feed genesis hash into sighash computation #1239

Conversation

apoelstra
Copy link
Member

I cannot test this because of #1238 and #1237 as well as the lack of functionality in the PSBT RPCs, inability to inform the wallet about a UTXO without broadcasting the transaction it comes from, etc etc.

Copy link
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

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

utACK ccffeba

@jamesdorfman jamesdorfman merged commit de94251 into ElementsProject:master May 5, 2023
@apoelstra apoelstra deleted the 2023-05--fix-testmempoolaccept branch May 8, 2023 14:29
delta1 added a commit to delta1/elements that referenced this pull request Jul 3, 2023
bitcoin/bitcoin#23381 refactored PolicyScriptChecks to store the
precomputed txdata in the workspace, so I have added the genesis hash to
the transform of the workspaces in AcceptMultipleTransactions.

I don't think there was a specific test for this, so during review it
may be worth checking this thoroughly. We also need a test to cover
this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants