test: check that keyless P2A 'signing' via `signrawtransactionwithkey` succeeds #30576

pull theStack wants to merge 1 commits into bitcoin:master from theStack:202408-test-check_keyless_p2a_signing changing 2 files +17 −0
  1. theStack commented at 6:26 PM on August 2, 2024: contributor

    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 (review) ff.

  2. test: check that keyless P2A 'signing' via `signrawtransactionwithkey` succeeds 5e87f30f7c
  3. DrahtBot commented at 6:26 PM on August 2, 2024: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage

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

    <!--021abf342d371248e50ceaed478a90ca-->

    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.

  4. DrahtBot added the label Tests on Aug 2, 2024
  5. instagibbs commented at 6:59 PM on August 2, 2024: member

    ACK 5e87f30f7c9f6b276ccace88a55b7f0abced591b

  6. tdb3 approved
  7. tdb3 commented at 12:06 AM on August 3, 2024: contributor

    ACK 5e87f30f7c9f6b276ccace88a55b7f0abced591b Nice addition.

  8. Mahmoud198425 approved
  9. glozow commented at 8:41 AM on August 5, 2024: member

    code review ACK 5e87f30f7c9f6b276ccace88a55b7f0abced591b

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

  10. glozow merged this on Aug 5, 2024
  11. glozow closed this on Aug 5, 2024

  12. theStack deleted the branch on Aug 5, 2024
  13. bitcoin locked this on Aug 5, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 21:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me