![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "zerocoin_verify.h"#include "chainparams.h"#include "consensus/consensus.h"#include "invalid.h"#include "script/interpreter.h"#include "txdb.h"#include "utilmoneystr.h"#include "../validation.h"#include "zpiv/zpivmodule.h"Go to the source code of this file.
Functions | |
| bool | isBlockBetweenFakeSerialAttackRange (int nHeight) |
| bool | CheckPublicCoinSpendEnforced (int blockHeight, bool isPublicSpend) |
| bool | ContextualCheckZerocoinTx (const CTransactionRef &tx, CValidationState &state, const Consensus::Params &consensus, int nHeight, bool isMined) |
| bool | IsSerialInBlockchain (const CBigNum &bnSerial, int &nHeightTx) |
| bool | ContextualCheckZerocoinSpend (const CTransaction &tx, const libzerocoin::CoinSpend *spend, int nHeight) |
| bool | ContextualCheckZerocoinSpendNoSerialCheck (const CTransaction &tx, const libzerocoin::CoinSpend *spend, int nHeight) |
| bool | ParseAndValidateZerocoinSpends (const Consensus::Params &consensus, const CTransaction &tx, int chainHeight, CValidationState &state, std::vector< std::pair< CBigNum, uint256 >> &vSpendsRet) |
| bool CheckPublicCoinSpendEnforced | ( | int | blockHeight, |
| bool | isPublicSpend | ||
| ) |
Definition at line 111 of file zerocoin_verify.cpp.
| bool ContextualCheckZerocoinSpend | ( | const CTransaction & | tx, |
| const libzerocoin::CoinSpend * | spend, | ||
| int | nHeight | ||
| ) |
Definition at line 212 of file zerocoin_verify.cpp.
| bool ContextualCheckZerocoinSpendNoSerialCheck | ( | const CTransaction & | tx, |
| const libzerocoin::CoinSpend * | spend, | ||
| int | nHeight | ||
| ) |
Definition at line 227 of file zerocoin_verify.cpp.
| bool ContextualCheckZerocoinTx | ( | const CTransactionRef & | tx, |
| CValidationState & | state, | ||
| const Consensus::Params & | consensus, | ||
| int | nHeight, | ||
| bool | isMined | ||
| ) |
Definition at line 127 of file zerocoin_verify.cpp.
| bool isBlockBetweenFakeSerialAttackRange | ( | int | nHeight | ) |
Definition at line 103 of file zerocoin_verify.cpp.
| bool IsSerialInBlockchain | ( | const CBigNum & | bnSerial, |
| int & | nHeightTx | ||
| ) |
Definition at line 186 of file zerocoin_verify.cpp.
| bool ParseAndValidateZerocoinSpends | ( | const Consensus::Params & | consensus, |
| const CTransaction & | tx, | ||
| int | chainHeight, | ||
| CValidationState & | state, | ||
| std::vector< std::pair< CBigNum, uint256 >> & | vSpendsRet | ||
| ) |