Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
dashconsensus.cpp
Go to the documentation of this file.
99 return VerifyScript(tx.vin[nIn].scriptSig, CScript(scriptPubKey, scriptPubKey + scriptPubKeyLen), flags, TransactionSignatureChecker(&tx, nIn, am, txdata), nullptr);
int dashconsensus_verify_script(const unsigned char *scriptPubKey, unsigned int scriptPubKeyLen, const unsigned char *txTo, unsigned int txToLen, unsigned int nIn, unsigned int flags, dashconsensus_error *err)
Returns 1 if the input nIn of the serialized transaction pointed to by txTo correctly spends the scri...
Definition: dashconsensus.cpp:79
size_t GetSerializeSize(const T &t, int nType, int nVersion=0)
Definition: serialize.h:1295
static bool verify_flags(unsigned int flags)
Check that all specified flags are part of the libconsensus interface.
Definition: dashconsensus.cpp:74
Definition: interpreter.h:102
Definition: interpreter.h:137
Definition: dashconsensus.h:40
bool VerifyScript(const CScript &scriptSig, const CScript &scriptPubKey, unsigned int flags, const BaseSignatureChecker &checker, ScriptError *serror)
Definition: interpreter.cpp:1287
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition: transaction.h:198
enum dashconsensus_error_t dashconsensus_error
Definition: dashconsensus.h:41
Definition: serialize.h:160