5 #ifndef PIVX_CONSENSUS_TX_VERIFY_H
6 #define PIVX_CONSENSUS_TX_VERIFY_H
The block chain is a tree shaped structure starting with the genesis block at the root,...
CChainParams defines various tweakable parameters of a given instance of the PIVX system.
CCoinsView that adds a memory cache for transactions to another CCoinsView.
The basic transaction that is broadcasted on the network and contained in blocks.
Capture information about block/transaction validation.
std::shared_ptr< const CTransaction > CTransactionRef
unsigned int GetP2SHSigOpCount(const CTransaction &tx, const CCoinsViewCache &mapInputs)
Count ECDSA signature operations in pay-to-script-hash inputs.
bool CheckTransaction(const CTransaction &tx, CValidationState &state, bool fColdStakingActive)
Transaction validation functions.
bool ContextualCheckTransaction(const CTransactionRef &tx, CValidationState &state, const CChainParams &chainparams, int nHeight, bool isMined, bool fIBD)
Context-dependent validity checks.
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.
unsigned int GetLegacySigOpCount(const CTransaction &tx)
Count ECDSA signature operations the old-fashioned (pre-0.6) way.