PIVX Core  5.6.99
P2P Digital Currency
Functions
ZPIVModule Namespace Reference

Functions

CDataStream ScriptSigToSerializedSpend (const CScript &scriptSig)
 
PublicCoinSpend parseCoinSpend (const CTxIn &in)
 
bool parseCoinSpend (const CTxIn &in, const CTransaction &tx, const CTxOut &prevOut, PublicCoinSpend &publicCoinSpend)
 
libzerocoin::CoinSpend TxInToZerocoinSpend (const CTxIn &txin)
 
bool validateInput (const CTxIn &in, const CTxOut &prevOut, const CTransaction &tx, PublicCoinSpend &publicSpend)
 
bool ParseZerocoinPublicSpend (const CTxIn &txIn, const CTransaction &tx, CValidationState &state, PublicCoinSpend &publicSpend)
 
void CleanCoinSpendsCache ()
 

Function Documentation

◆ CleanCoinSpendsCache()

void ZPIVModule::CleanCoinSpendsCache ( )

Definition at line 226 of file zpivmodule.cpp.

◆ parseCoinSpend() [1/2]

PublicCoinSpend ZPIVModule::parseCoinSpend ( const CTxIn in)

Definition at line 157 of file zpivmodule.cpp.

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

◆ parseCoinSpend() [2/2]

bool ZPIVModule::parseCoinSpend ( const CTxIn in,
const CTransaction tx,
const CTxOut prevOut,
PublicCoinSpend publicCoinSpend 
)

Definition at line 164 of file zpivmodule.cpp.

Here is the call graph for this function:

◆ ParseZerocoinPublicSpend()

bool ZPIVModule::ParseZerocoinPublicSpend ( const CTxIn in,
const CTransaction tx,
CValidationState state,
PublicCoinSpend publicCoinSpend 
)
Parameters
in--> public zc spend input
tx--> input parent
publicCoinSpend—> return the publicCoinSpend parsed
Returns
true if everything went ok

Definition at line 212 of file zpivmodule.cpp.

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

◆ ScriptSigToSerializedSpend()

CDataStream ZPIVModule::ScriptSigToSerializedSpend ( const CScript scriptSig)

Definition at line 148 of file zpivmodule.cpp.

Here is the caller graph for this function:

◆ TxInToZerocoinSpend()

libzerocoin::CoinSpend ZPIVModule::TxInToZerocoinSpend ( const CTxIn txin)

Definition at line 191 of file zpivmodule.cpp.

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

◆ validateInput()

bool ZPIVModule::validateInput ( const CTxIn in,
const CTxOut prevOut,
const CTransaction tx,
PublicCoinSpend publicSpend 
)

Definition at line 200 of file zpivmodule.cpp.

Here is the call graph for this function: