![]() |
Bitcoin Core
0.21.1
P2P Digital Currency
|
Transaction validation functions. More...
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_TAPROOT, MAX_VERSION_BITS_DEPLOYMENTS } |
Functions | |
| bool | CheckTxInputs (const CTransaction &tx, TxValidationState &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... | |
Transaction validation functions.
| bool Consensus::CheckTxInputs | ( | const CTransaction & | tx, |
| TxValidationState & | 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 159 of file tx_verify.cpp.
1.8.8