PIVX Core  5.6.99
P2P Digital Currency
Namespaces | Functions
zerocoin_verify.h File Reference
#include "consensus/consensus.h"
#include "script/interpreter.h"
Include dependency graph for zerocoin_verify.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Consensus
 
 libzerocoin
 

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 ContextualCheckZerocoinSpend (const CTransaction &tx, const libzerocoin::CoinSpend *spend, int nHeight)
 
bool ContextualCheckZerocoinSpendNoSerialCheck (const CTransaction &tx, const libzerocoin::CoinSpend *spend, int nHeight)
 
bool IsSerialInBlockchain (const CBigNum &bnSerial, int &nHeightTx)
 
bool ParseAndValidateZerocoinSpends (const Consensus::Params &consensus, const CTransaction &tx, int chainHeight, CValidationState &state, std::vector< std::pair< CBigNum, uint256 >> &vSpendsRet)
 

Function Documentation

◆ CheckPublicCoinSpendEnforced()

bool CheckPublicCoinSpendEnforced ( int  blockHeight,
bool  isPublicSpend 
)

Definition at line 111 of file zerocoin_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContextualCheckZerocoinSpend()

bool ContextualCheckZerocoinSpend ( const CTransaction tx,
const libzerocoin::CoinSpend spend,
int  nHeight 
)

Definition at line 212 of file zerocoin_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContextualCheckZerocoinSpendNoSerialCheck()

bool ContextualCheckZerocoinSpendNoSerialCheck ( const CTransaction tx,
const libzerocoin::CoinSpend spend,
int  nHeight 
)

Definition at line 227 of file zerocoin_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContextualCheckZerocoinTx()

bool ContextualCheckZerocoinTx ( const CTransactionRef tx,
CValidationState state,
const Consensus::Params consensus,
int  nHeight,
bool  isMined 
)

Definition at line 127 of file zerocoin_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isBlockBetweenFakeSerialAttackRange()

bool isBlockBetweenFakeSerialAttackRange ( int  nHeight)

Definition at line 103 of file zerocoin_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSerialInBlockchain()

bool IsSerialInBlockchain ( const CBigNum bnSerial,
int &  nHeightTx 
)

Definition at line 186 of file zerocoin_verify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParseAndValidateZerocoinSpends()

bool ParseAndValidateZerocoinSpends ( const Consensus::Params consensus,
const CTransaction tx,
int  chainHeight,
CValidationState state,
std::vector< std::pair< CBigNum, uint256 >> &  vSpendsRet 
)

Definition at line 268 of file zerocoin_verify.cpp.

Here is the call graph for this function: