aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2015-11-08 01:16:45 +0100
committerPieter Wuille <[email protected]>2016-06-22 15:42:59 +0200
commit449f9b8debcceb61a92043bc7031528a53627c47 (patch)
treec55434295cae8c338fe8ec128c325fa254303ecb /src/script/script_error.h
parentBIP144: Serialization, hashes, relay (sender side) (diff)
downloaddiscoin-449f9b8debcceb61a92043bc7031528a53627c47.tar.xz
discoin-449f9b8debcceb61a92043bc7031528a53627c47.zip
BIP141: Witness program
Diffstat (limited to 'src/script/script_error.h')
-rw-r--r--src/script/script_error.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/script/script_error.h b/src/script/script_error.h
index 26df33932..09dc6945a 100644
--- a/src/script/script_error.h
+++ b/src/script/script_error.h
@@ -51,6 +51,15 @@ typedef enum ScriptError_t
/* softfork safeness */
SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS,
+ SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM,
+
+ /* segregated witness */
+ SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH,
+ SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY,
+ SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH,
+ SCRIPT_ERR_WITNESS_MALLEATED,
+ SCRIPT_ERR_WITNESS_MALLEATED_P2SH,
+ SCRIPT_ERR_WITNESS_UNEXPECTED,
SCRIPT_ERR_ERROR_COUNT
} ScriptError;