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

issue orenyomtov openend this issue on February 21, 2023
  1. orenyomtov commented at 10:22 pm on February 21, 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)

  2. orenyomtov added the label Feature on Feb 21, 2023
  3. ghost commented at 11:37 pm on February 21, 2023: none

    Concept ACK

    However GUI issues and PRs are in https://github.com/bitcoin-core/gui

  4. ghost commented at 3:57 pm on March 11, 2023: none

    This is a duplicate for https://github.com/bitcoin-core/gui/issues/712 and can be closed

    Cc: @hebasto

  5. hebasto commented at 4:57 pm on March 16, 2023: member

    This is a duplicate for bitcoin-core/gui#712 and can be closed

    Let’s continue the discussion in https://github.com/bitcoin-core/gui/issues/712.

  6. hebasto closed this on Mar 16, 2023

  7. bitcoin locked this on Mar 15, 2024

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: 2024-09-19 10:12 UTC

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