![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "bitcoinconsensus.h"#include "primitives/transaction.h"#include "script/interpreter.h"#include "version.h"Go to the source code of this file.
Functions | |
| int | bitcoinconsensus_verify_script (const unsigned char *scriptPubKey, unsigned int scriptPubKeyLen, const unsigned char *txTo, unsigned int txToLen, unsigned int nIn, unsigned int flags, bitcoinconsensus_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. More... | |
| unsigned int | bitcoinconsensus_version () |
| int bitcoinconsensus_verify_script | ( | const unsigned char * | scriptPubKey, |
| unsigned int | scriptPubKeyLen, | ||
| const unsigned char * | txTo, | ||
| unsigned int | txToLen, | ||
| unsigned int | nIn, | ||
| unsigned int | flags, | ||
| bitcoinconsensus_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 nullptr, err will contain an error/success code for the operation
Definition at line 75 of file bitcoinconsensus.cpp.
| unsigned int bitcoinconsensus_version | ( | ) |
Definition at line 97 of file bitcoinconsensus.cpp.