![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "tx_verify.h"#include "consensus/consensus.h"#include "consensus/zerocoin_verify.h"#include "sapling/sapling_validation.h"#include "../validation.h"Go to the source code of this file.
Functions | |
| bool | IsFinalTx (const CTransactionRef &tx, int nBlockHeight, int64_t nBlockTime) |
| Check if transaction is final and can be included in a block with the specified height and time. More... | |
| unsigned int | GetLegacySigOpCount (const CTransaction &tx) |
| Count ECDSA signature operations the old-fashioned (pre-0.6) way. More... | |
| unsigned int | GetP2SHSigOpCount (const CTransaction &tx, const CCoinsViewCache &inputs) |
| Count ECDSA signature operations in pay-to-script-hash inputs. More... | |
| bool | CheckTransaction (const CTransaction &tx, CValidationState &state, bool fColdStakingActive) |
| Transaction validation functions. More... | |
| bool | ContextualCheckTransaction (const CTransactionRef &tx, CValidationState &state, const CChainParams &chainparams, int nHeight, bool isMined, bool fIBD) |
| Context-dependent validity checks. More... | |
| bool CheckTransaction | ( | const CTransaction & | tx, |
| CValidationState & | state, | ||
| bool | fColdStakingActive | ||
| ) |
Transaction validation functions.
Context-independent validity checks
Definition at line 54 of file tx_verify.cpp.
| bool ContextualCheckTransaction | ( | const CTransactionRef & | tx, |
| CValidationState & | state, | ||
| const CChainParams & | chainparams, | ||
| int | nHeight, | ||
| bool | isMined, | ||
| bool | fIBD | ||
| ) |
Context-dependent validity checks.
Definition at line 134 of file tx_verify.cpp.
| unsigned int GetLegacySigOpCount | ( | const CTransaction & | tx | ) |
Count ECDSA signature operations the old-fashioned (pre-0.6) way.
Definition at line 27 of file tx_verify.cpp.
| unsigned int GetP2SHSigOpCount | ( | const CTransaction & | tx, |
| const CCoinsViewCache & | mapInputs | ||
| ) |
Count ECDSA signature operations in pay-to-script-hash inputs.
| [in] | mapInputs | Map of previous transactions that have outputs we're spending |
Definition at line 39 of file tx_verify.cpp.
| bool IsFinalTx | ( | const CTransactionRef & | tx, |
| int | nBlockHeight, | ||
| int64_t | nBlockTime = 0 |
||
| ) |
Check if transaction is final and can be included in a block with the specified height and time.
Consensus critical.
Definition at line 12 of file tx_verify.cpp.