Go to the source code of this file.
◆ BITCOINCONSENSUS_API_VER
#define BITCOINCONSENSUS_API_VER 0 |
◆ EXPORT_SYMBOL
◆ dashconsensus_error
◆ anonymous enum
Script verification flags
Enumerator |
---|
dashconsensus_SCRIPT_FLAGS_VERIFY_NONE | |
dashconsensus_SCRIPT_FLAGS_VERIFY_P2SH | |
dashconsensus_SCRIPT_FLAGS_VERIFY_DERSIG | |
dashconsensus_SCRIPT_FLAGS_VERIFY_CHECKLOCKTIMEVERIFY | |
Definition at line 45 of file dashconsensus.h.
◆ dashconsensus_error_t
Enumerator |
---|
dashconsensus_ERR_OK | |
dashconsensus_ERR_TX_INDEX | |
dashconsensus_ERR_TX_SIZE_MISMATCH | |
dashconsensus_ERR_TX_DESERIALIZE | |
Definition at line 36 of file dashconsensus.h.
◆ dashconsensus_verify_script()
EXPORT_SYMBOL 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.
◆ dashconsensus_version()