Bitcoin ABC 0.30.5
P2P Digital Currency
|
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). More... | |
enum Consensus::BuriedDeployment : int16_t |
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.
[out] | txfee | Set to the transaction fee if successful. Preconditions: tx.IsCoinBase() is false. |
Definition at line 168 of file tx_verify.cpp.
|
constexpr |