Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
Consensus Namespace Reference

Classes

struct  Params
 Parameters that influence chain consensus. More...
 

Enumerations

enum  BuriedDeployment : int16_t {
  DEPLOYMENT_P2SH = std::numeric_limits<int16_t>::min() , DEPLOYMENT_HEIGHTINCB , DEPLOYMENT_CLTV , DEPLOYMENT_DERSIG ,
  DEPLOYMENT_CSV
}
 

Functions

constexpr bool ValidDeployment (BuriedDeployment dep)
 
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).
 

Enumeration Type Documentation

◆ BuriedDeployment

Enumerator
DEPLOYMENT_P2SH 
DEPLOYMENT_HEIGHTINCB 
DEPLOYMENT_CLTV 
DEPLOYMENT_DERSIG 
DEPLOYMENT_CSV 

Definition at line 17 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 168 of file tx_verify.cpp.

Here is the call graph for this function:

◆ ValidDeployment()

constexpr bool Consensus::ValidDeployment ( BuriedDeployment  dep)
constexpr

Definition at line 27 of file params.h.

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