[#_04enum-07]
= Unnamed enum
:mrdocs:

Signature hash types&sol;flags

== Synopsis

Declared in `&lt;script&sol;interpreter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum Unnamed enum;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `SIGHASH&lowbar;ALL` 
| Sign all inputs and all outputs&period;
| `SIGHASH&lowbar;NONE` 
| Sign all inputs but none of the outputs&period;
| `SIGHASH&lowbar;SINGLE` 
| Sign all inputs and only the output at the same index&period;
| `SIGHASH&lowbar;ANYONECANPAY` 
| Modifier bit&colon; sign only the current input, allowing others to be added&period;
| `SIGHASH&lowbar;DEFAULT` 
| Taproot only&semi; implied when sighash byte is missing, and equivalent to SIGHASH&lowbar;ALL
| `SIGHASH&lowbar;OUTPUT&lowbar;MASK` 
| Mask selecting the output&hyphen;mode bits (ALL&sol;NONE&sol;SINGLE) of a Taproot sighash type&period;
| `SIGHASH&lowbar;INPUT&lowbar;MASK` 
| Mask selecting the ANYONECANPAY input&hyphen;mode bit of a Taproot sighash type&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
