Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

providertx.cpp File Reference
#include <evo/deterministicmns.h>
#include <evo/providertx.h>
#include <evo/specialtx.h>
#include <base58.h>
#include <chainparams.h>
#include <clientversion.h>
#include <core_io.h>
#include <hash.h>
#include <messagesigner.h>
#include <script/standard.h>
#include <streams.h>
#include <univalue.h>
#include <validation.h>
+ Include dependency graph for providertx.cpp:

Go to the source code of this file.

Functions

template<typename ProTx >
static bool CheckService (const uint256 &proTxHash, const ProTx &proTx, CValidationState &state)
 
template<typename ProTx >
static bool CheckHashSig (const ProTx &proTx, const CKeyID &keyID, CValidationState &state)
 
template<typename ProTx >
static bool CheckStringSig (const ProTx &proTx, const CKeyID &keyID, CValidationState &state)
 
template<typename ProTx >
static bool CheckHashSig (const ProTx &proTx, const CBLSPublicKey &pubKey, CValidationState &state)
 
template<typename ProTx >
static bool CheckInputsHash (const CTransaction &tx, const ProTx &proTx, CValidationState &state)
 
bool CheckProRegTx (const CTransaction &tx, const CBlockIndex *pindexPrev, CValidationState &state)
 
bool CheckProUpServTx (const CTransaction &tx, const CBlockIndex *pindexPrev, CValidationState &state)
 
bool CheckProUpRegTx (const CTransaction &tx, const CBlockIndex *pindexPrev, CValidationState &state)
 
bool CheckProUpRevTx (const CTransaction &tx, const CBlockIndex *pindexPrev, CValidationState &state)
 

Function Documentation

◆ CheckHashSig() [1/2]

template<typename ProTx >
static bool CheckHashSig ( const ProTx &  proTx,
const CKeyID keyID,
CValidationState state 
)
static

◆ CheckHashSig() [2/2]

template<typename ProTx >
static bool CheckHashSig ( const ProTx &  proTx,
const CBLSPublicKey pubKey,
CValidationState state 
)
static

Definition at line 67 of file providertx.cpp.

References CValidationState::DoS(), REJECT_INVALID, and SerializeHash().

◆ CheckInputsHash()

template<typename ProTx >
static bool CheckInputsHash ( const CTransaction tx,
const ProTx &  proTx,
CValidationState state 
)
static

◆ CheckProRegTx()

◆ CheckProUpRegTx()

◆ CheckProUpRevTx()

◆ CheckProUpServTx()

◆ CheckService()

template<typename ProTx >
static bool CheckService ( const uint256 proTxHash,
const ProTx &  proTx,
CValidationState state 
)
static

◆ CheckStringSig()

template<typename ProTx >
static bool CheckStringSig ( const ProTx &  proTx,
const CKeyID keyID,
CValidationState state 
)
static

Definition at line 57 of file providertx.cpp.

References CValidationState::DoS(), REJECT_INVALID, and CMessageSigner::VerifyMessage().

Referenced by CheckProRegTx().

Released under the MIT license