5 #ifndef PIVX_CONSENSUS_ZEROCOIN_VERIFY_H
6 #define PIVX_CONSENSUS_ZEROCOIN_VERIFY_H
35 std::vector<std::pair<CBigNum, uint256>>& vSpendsRet);
const CChainParams & Params()
Return the currently selected parameters.
The basic transaction that is broadcasted on the network and contained in blocks.
Capture information about block/transaction validation.
The complete proof needed to spend a zerocoin.
Parameters that influence chain consensus.
std::shared_ptr< const CTransaction > CTransactionRef
bool ParseAndValidateZerocoinSpends(const Consensus::Params &consensus, const CTransaction &tx, int chainHeight, CValidationState &state, std::vector< std::pair< CBigNum, uint256 >> &vSpendsRet)
bool IsSerialInBlockchain(const CBigNum &bnSerial, int &nHeightTx)
bool ContextualCheckZerocoinSpend(const CTransaction &tx, const libzerocoin::CoinSpend *spend, int nHeight)
bool ContextualCheckZerocoinTx(const CTransactionRef &tx, CValidationState &state, const Consensus::Params &consensus, int nHeight, bool isMined)
bool isBlockBetweenFakeSerialAttackRange(int nHeight)
bool ContextualCheckZerocoinSpendNoSerialCheck(const CTransaction &tx, const libzerocoin::CoinSpend *spend, int nHeight)
bool CheckPublicCoinSpendEnforced(int blockHeight, bool isPublicSpend)