Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

script_error.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2014 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 BITCOIN_SCRIPT_SCRIPT_ERROR_H
7 #define BITCOIN_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  /* BIP62 */
52 
53  /* softfork safeness */
55 
57 } ScriptError;
58 
59 #define SCRIPT_ERR_LAST SCRIPT_ERR_ERROR_COUNT
60 
61 const char* ScriptErrorString(const ScriptError error);
62 
63 #endif // BITCOIN_SCRIPT_SCRIPT_ERROR_H
enum ScriptError_t ScriptError
const char * ScriptErrorString(const ScriptError error)
Definition: script_error.cpp:8
ScriptError_t
Definition: script_error.h:9
bool error(const char *fmt, const Args &... args)
Definition: util.h:222
Released under the MIT license