Skip to content

Conversation

theStack
Copy link
Contributor

@theStack theStack commented Aug 2, 2024

This small PR adds a sanity check to verify that transactions with P2A inputs can be 'signed' successfully, using the non-wallet RPC signrawtransactionwithkey. Note that in the this flow, SignStep (which was also extended for the new ANCHOR output type in #30352) is never called, as signing is only tried if the locking script verification isn't successful already. See the review discussion #30352 (comment) ff.

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 2, 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, tdb3, glozow

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

@DrahtBot DrahtBot added the Tests label Aug 2, 2024
@instagibbs
Copy link
Member

ACK 5e87f30

Copy link
Contributor

@tdb3 tdb3 left a comment

Choose a reason for hiding this comment

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

ACK 5e87f30
Nice addition.

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.

code review ACK 5e87f30

compared this with what I wrote while reviewing p2a, and this is way cleaner

@glozow glozow merged commit 5d682d4 into bitcoin:master Aug 5, 2024
16 checks passed
@theStack theStack deleted the 202408-test-check_keyless_p2a_signing branch August 5, 2024 09:02
@bitcoin bitcoin locked and limited conversation to collaborators Aug 5, 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.

6 participants