![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include "dashconsensus.h"
#include "primitives/transaction.h"
#include "pubkey.h"
#include "script/interpreter.h"
#include "version.h"
Go to the source code of this file.
Functions | |
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) |
unsigned int | dashconsensus_version () |
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 scriptPubKey pointed to by scriptPubKey under the additional constraints specified by flags. If not NULL, err will contain an error/success code for the operation
Definition at line 72 of file dashconsensus.cpp.
unsigned int dashconsensus_version | ( | ) |
Definition at line 94 of file dashconsensus.cpp.