Skip to main content

Questions tagged [sighash-flags]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
1 answer
285 views

What SIGHASH flags does CoinJoin use?

What SIGHASH flags are used when constructing a CoinJoin transaction?
Nick ODell's user avatar
  • 29.4k
5 votes
1 answer
359 views

What is SIGHASH_ANYPREVOUTANYSCRIPT?

BIP 118 describes SIGHASH_ANYPREVOUT, but also mentions SIGHASH_ANYPREVOUTANYSCRIPT. What is the difference, and why is the later sighash flag needed?
JordanPedersenCommitments's user avatar
4 votes
1 answer
365 views

Why are SIGHASH flags signed as 4 bytes when only 1 byte is included in the transaction?

This article brought to my attention that SIGHASH flags are 4 bytes long when signed, but only the last byte is actually included in the transaction. Then OP_CHECKSIG adds 3 bytes 0x000000 back on ...
pinhead's user avatar
  • 5,144