Add support for sighash flags in PSBT (like SINGLE|ANYONECANPAY) #712

issue orenyomtov openend this issue on February 24, 2023
  1. orenyomtov commented at 0:30 am on February 24, 2023: none

    Is your feature request related to a problem? Please describe. When using Bitcoin Core’s GUI to sign a PSBT that has a UTXO with sighash=SINGLE|ANYONECANPAY, it throws following error:

    0Specified sighash value does not match value stored in PSBT
    

    Describe the solution you’d like I’d like it to successfully sign PSBTs containing sighash=SINGLE|ANYONECANPAY

    Describe alternatives you’ve considered The current non-idea workaround is to use the console window as described here: https://github.com/orenyomtov/openordex/issues/1#issuecomment-1439162997

    Additional context Example PSBT:

    0cHNidP8BAF4CAAAAAXeYThreN2BAK3ExrpqGUIX/ZZZnz3ICQcL0HdIyNBraAAAAAAD/////ARCkAAAAAAAAIlEgVWMpPJTgiS8bEHeTZiizvHOP7LskZAgXa50KvKsv/2IAAAAAAAEAyAIAAAABtliktgpzhuZ4feeNzIMfd1gmwpdZVivt3Fs9jE62veQAAAAAakcwRAIgSRen/81qQ0C5MVYtZQjRa8zkXzv4TIAnCxBQgUHeqUECICINPEFntasthDMzMOryuQFWuHvJ8GUA3o0blSKi8kRXASEDs2NwiId+uHhKaiiSgNi+bs+C0mPlQzoLte4Vz8l4lOP9////AWweAAAAAAAAIlEgVWMpPJTgiS8bEHeTZiizvHOP7LskZAgXa50KvKsv/2LL3QsAAQMEgwAAAAAA
    

    (taken from https://openordex.org/inscription?number=151969)

    Originally opened here https://github.com/bitcoin/bitcoin/issues/27141 But I’ve been told this repo is the better fit

  2. orenyomtov added the label Feature on Feb 24, 2023
  3. hebasto added the label Wallet on Mar 16, 2023
  4. bitcoin-core deleted a comment on Jun 10, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-23 09:20 UTC

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