Fabcoin Core  0.16.2
P2P Digital Currency
script_error.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2017 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef FABCOIN_SCRIPT_SCRIPT_ERROR_H
7 #define FABCOIN_SCRIPT_SCRIPT_ERROR_H
8 
9 typedef enum ScriptError_t
10 {
15 
16  /* Max sizes */
23 
24  /* Failed verify operations */
30 
31  /* Logical/Format/Canonical errors */
37 
38  /* CHECKLOCKTIMEVERIFY and CHECKSEQUENCEVERIFY */
41 
42  /* Malleability */
53 
54  /* softfork safeness */
57 
58  /* segregated witness */
66 
68 } ScriptError;
69 
70 #define SCRIPT_ERR_LAST SCRIPT_ERR_ERROR_COUNT
71 
72 const char* ScriptErrorString(const ScriptError error);
73 
74 #endif // FABCOIN_SCRIPT_SCRIPT_ERROR_H
bool error(const char *fmt, const Args &...args)
Definition: util.h:178
enum ScriptError_t ScriptError
const char * ScriptErrorString(const ScriptError error)
Definition: script_error.cpp:8
ScriptError_t
Definition: script_error.h:9