PIVX Core  5.6.99
P2P Digital Currency
Functions
specialtx_validation.cpp File Reference
#include "evo/specialtx_validation.h"
#include "chain.h"
#include "coins.h"
#include "chainparams.h"
#include "clientversion.h"
#include "consensus/validation.h"
#include "evo/deterministicmns.h"
#include "evo/providertx.h"
#include "llmq/quorums_blockprocessor.h"
#include "messagesigner.h"
#include "primitives/transaction.h"
#include "primitives/block.h"
#include "script/standard.h"
#include "spork.h"
Include dependency graph for specialtx_validation.cpp:

Go to the source code of this file.

Functions

bool VerifyLLMQCommitment (const llmq::CFinalCommitment &qfc, const CBlockIndex *pindexPrev, CValidationState &state)
 
bool CheckSpecialTx (const CTransaction &tx, const CBlockIndex *pindexPrev, const CCoinsViewCache *view, CValidationState &state)
 Payload validity checks (including duplicate unique properties against list at pindexPrev) More...
 
bool CheckSpecialTxNoContext (const CTransaction &tx, CValidationState &state)
 
bool ProcessSpecialTxsInBlock (const CBlock &block, const CBlockIndex *pindex, const CCoinsViewCache *view, CValidationState &state, bool fJustCheck)
 
bool UndoSpecialTxsInBlock (const CBlock &block, const CBlockIndex *pindex)
 
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: