basic integration of cryptoconditions

This commit is contained in:
Scott Sadler
2017-10-19 14:08:32 -07:00
parent e06dbfbbbc
commit 07f83521f7
11 changed files with 92 additions and 7 deletions

View File

@@ -52,7 +52,10 @@ typedef enum ScriptError_t
/* softfork safeness */
SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS,
SCRIPT_ERR_ERROR_COUNT
SCRIPT_ERR_ERROR_COUNT,
SCRIPT_ERR_CRYPTOCONDITION_VERIFY,
SCRIPT_ERR_CRYPTOCONDITION_INVALID_FULFILLMENT
} ScriptError;
#define SCRIPT_ERR_LAST SCRIPT_ERR_ERROR_COUNT