gui icon indicating copy to clipboard operation
gui copied to clipboard

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

Open orenyomtov opened this issue 2 years ago • 0 comments

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:

Specified 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:

cHNidP8BAF4CAAAAAXeYThreN2BAK3ExrpqGUIX/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

orenyomtov avatar Feb 24 '23 00:02 orenyomtov