what’d you mean by hashtype?

Reply to this note

Please Login to reply.

Discussion

I meant the field which follows signature, such as SIGHASH_ALL, SIGHASH_NONE, SIGHASH_SIGNLE and SIGHASH_ANYONECANPAY. I understand how these could be used, but I am wondering if there are any actual usecases.

Ah ok. So they’re always mentioned as sighash types and the wiki might be of interest.

https://en.bitcoin.it/wiki/Contract#SIGHASH_flags

I sometimes see people use other flags for customs protocols on top of bitcoin

thank you for sharing🤙🤙🤙