Raven Core
3.0.0
P2P Digital Currency
|
Classes | |
struct | BIP9Deployment |
Struct for each individual consensus rule change using BIP9. More... | |
struct | Params |
Parameters that influence chain consensus. More... | |
Enumerations | |
enum | DeploymentPos { DEPLOYMENT_TESTDUMMY, DEPLOYMENT_ASSETS, DEPLOYMENT_MESSAGING, DEPLOYMENT_RESTRICTED_ASSETS, MAX_VERSION_BITS_DEPLOYMENTS } |
Functions | |
bool | CheckTxInputs (const CTransaction &tx, CValidationState &state, const CCoinsViewCache &inputs, int nSpendHeight, CAmount &txfee) |
Check whether all inputs of this transaction are valid (no double spends and amounts) This does not modify the UTXO set. More... | |
bool | CheckTxAssets (const CTransaction &tx, CValidationState &state, const CCoinsViewCache &inputs, CAssetsCache *assetCache, bool fCheckMempool, std::vector< std::pair< std::string, uint256 > > &vPairReissueAssets, const bool fRunningUnitTests=false, std::set< CMessage > *setMessages=nullptr, int64_t nBlocktime=0) |
RVN START. More... | |
bool Consensus::CheckTxAssets | ( | const CTransaction & | tx, |
CValidationState & | state, | ||
const CCoinsViewCache & | inputs, | ||
CAssetsCache * | assetCache, | ||
bool | fCheckMempool, | ||
std::vector< std::pair< std::string, uint256 > > & | vPairReissueAssets, | ||
const bool | fRunningUnitTests = false , |
||
std::set< CMessage > * | setMessages = nullptr , |
||
int64_t | nBlocktime = 0 |
||
) |
RVN START.
Check to make sure that the inputs and outputs CAmount match exactly.
Get messages from the transaction, only used when getting called from ConnectBlock
Definition at line 570 of file tx_verify.cpp.
bool Consensus::CheckTxInputs | ( | const CTransaction & | tx, |
CValidationState & | state, | ||
const CCoinsViewCache & | inputs, | ||
int | nSpendHeight, | ||
CAmount & | txfee | ||
) |
Check whether all inputs of this transaction are valid (no double spends and amounts) This does not modify the UTXO set.
This does not check scripts and sigs.
[out] | txfee | Set to the transaction fee if successful. Preconditions: tx.IsCoinBase() is false. |
Definition at line 525 of file tx_verify.cpp.