Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
orenyomtov opened this issue Feb 24, 2023 · 0 comments
Open

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

orenyomtov opened this issue Feb 24, 2023 · 0 comments

Comments

@orenyomtov
Copy link

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:
orenyomtov/openordex#1 (comment)

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 bitcoin/bitcoin#27141
But I've been told this repo is the better fit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants