PIVX Core  5.6.99
P2P Digital Currency
Functions
specialtx_validation.h File Reference
#include "llmq/quorums_commitment.h"
#include "validation.h"
#include "version.h"
Include dependency graph for specialtx_validation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool CheckSpecialTx (const CTransaction &tx, const CBlockIndex *pindexPrev, const CCoinsViewCache *view, CValidationState &state) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
 Payload validity checks (including duplicate unique properties against list at pindexPrev) More...
 
bool CheckSpecialTxNoContext (const CTransaction &tx, CValidationState &state) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
 
bool ProcessSpecialTxsInBlock (const CBlock &block, const CBlockIndex *pindex, const CCoinsViewCache *view, CValidationState &state, bool fJustCheck) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
 
bool UndoSpecialTxsInBlock (const CBlock &block, const CBlockIndex *pindex)
 
bool VerifyLLMQCommitment (const llmq::CFinalCommitment &qfc, const CBlockIndex *pindexPrev, CValidationState &state) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
 
uint256 CalcTxInputsHash (const CTransaction &tx)
 
template<typename T >
bool GetValidatedTxPayload (const CTransaction &tx, T &obj, CValidationState &state)
 

Function Documentation

◆ CalcTxInputsHash()

uint256 CalcTxInputsHash ( const CTransaction tx)

Definition at line 573 of file specialtx_validation.cpp.

◆ CheckSpecialTx()

bool CheckSpecialTx ( const CTransaction tx,
const CBlockIndex pindexPrev,
const CCoinsViewCache view,
CValidationState state 
)

Payload validity checks (including duplicate unique properties against list at pindexPrev)

Definition at line 484 of file specialtx_validation.cpp.

Here is the caller graph for this function:

◆ CheckSpecialTxNoContext()

bool CheckSpecialTxNoContext ( const CTransaction tx,
CValidationState state 
)

Definition at line 531 of file specialtx_validation.cpp.

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

◆ GetValidatedTxPayload()

template<typename T >
bool GetValidatedTxPayload ( const CTransaction tx,
T obj,
CValidationState state 
)

Definition at line 590 of file specialtx_validation.cpp.

Here is the call graph for this function:

◆ ProcessSpecialTxsInBlock()

bool ProcessSpecialTxsInBlock ( const CBlock block,
const CBlockIndex pindex,
const CCoinsViewCache view,
CValidationState state,
bool  fJustCheck 
)

Definition at line 537 of file specialtx_validation.cpp.

Here is the call graph for this function:

◆ UndoSpecialTxsInBlock()

bool UndoSpecialTxsInBlock ( const CBlock block,
const CBlockIndex pindex 
)

Definition at line 562 of file specialtx_validation.cpp.

◆ VerifyLLMQCommitment()

bool VerifyLLMQCommitment ( const llmq::CFinalCommitment qfc,
const CBlockIndex pindexPrev,
CValidationState state 
)

Definition at line 352 of file specialtx_validation.cpp.

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