Bitcoin ABC  0.24.7
P2P Digital Currency
Classes | Enumerations | Functions
Consensus Namespace Reference

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, MAX_VERSION_BITS_DEPLOYMENTS }
 

Functions

bool CheckTxInputs (const CTransaction &tx, TxValidationState &state, const CCoinsViewCache &inputs, int nSpendHeight, Amount &txfee)
 Check whether all inputs of this transaction are valid (no double spends and amounts). More...
 

Enumeration Type Documentation

◆ DeploymentPos

Enumerator
DEPLOYMENT_TESTDUMMY 
MAX_VERSION_BITS_DEPLOYMENTS 

Definition at line 16 of file params.h.

Function Documentation

◆ CheckTxInputs()

bool Consensus::CheckTxInputs ( const CTransaction tx,
TxValidationState state,
const CCoinsViewCache inputs,
int  nSpendHeight,
Amount 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.

Parameters
[out]txfeeSet to the transaction fee if successful. Preconditions: tx.IsCoinBase() is false.

Definition at line 158 of file tx_verify.cpp.

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