6 #ifndef PIVX_SAPLING_SAPLING_VALIDATION_H
7 #define PIVX_SAPLING_SAPLING_VALIDATION_H
25 const CChainParams &chainparams,
int nHeight,
bool isMined,
26 bool sInitBlockDownload);
int64_t CAmount
Amount in PIV (Can be negative)
CChainParams defines various tweakable parameters of a given instance of the PIVX system.
The basic transaction that is broadcasted on the network and contained in blocks.
Capture information about block/transaction validation.
bool CheckTransactionWithoutProofVerification(const CTransaction &tx, CValidationState &state, CAmount &nValueOut)
bool CheckTransaction(const CTransaction &tx, CValidationState &state, CAmount &nValueOut)
Context-independent validity checks.
bool ContextualCheckTransaction(const CTransaction &tx, CValidationState &state, const CChainParams &chainparams, const int nHeight, const bool isMined, bool isInitBlockDownload)
Check a transaction contextually against a set of consensus rules valid at a given block height.