[#_04enum-07] = Unnamed enum :mrdocs: Signature hash types/flags == Synopsis Declared in `<script/interpreter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum Unnamed enum; ---- == Members [cols="1,4"] |=== | Name| Description | `SIGHASH_ALL` | Sign all inputs and all outputs. | `SIGHASH_NONE` | Sign all inputs but none of the outputs. | `SIGHASH_SINGLE` | Sign all inputs and only the output at the same index. | `SIGHASH_ANYONECANPAY` | Modifier bit: sign only the current input, allowing others to be added. | `SIGHASH_DEFAULT` | Taproot only; implied when sighash byte is missing, and equivalent to SIGHASH_ALL | `SIGHASH_OUTPUT_MASK` | Mask selecting the output‐mode bits (ALL/NONE/SINGLE) of a Taproot sighash type. | `SIGHASH_INPUT_MASK` | Mask selecting the ANYONECANPAY input‐mode bit of a Taproot sighash type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#