Changeset View
Changeset View
Standalone View
Standalone View
src/consensus/validation.h
Show All 17 Lines | enum class TxValidationResult { | ||||
TX_RESULT_UNSET = 0, | TX_RESULT_UNSET = 0, | ||||
//! invalid by consensus rules | //! invalid by consensus rules | ||||
TX_CONSENSUS, | TX_CONSENSUS, | ||||
/** | /** | ||||
* Invalid by a recent change to consensus rules. | * Invalid by a recent change to consensus rules. | ||||
* Currently unused as there are no such consensus rule changes. | * Currently unused as there are no such consensus rule changes. | ||||
*/ | */ | ||||
TX_RECENT_CONSENSUS_CHANGE, | TX_RECENT_CONSENSUS_CHANGE, | ||||
//! didn't meet our local policy rules | //! inputs failed policy rules | ||||
TX_INPUTS_NOT_STANDARD, | |||||
//! otherwise didn't meet our local policy rules | |||||
TX_NOT_STANDARD, | TX_NOT_STANDARD, | ||||
//! transaction was missing some of its inputs | //! transaction was missing some of its inputs | ||||
TX_MISSING_INPUTS, | TX_MISSING_INPUTS, | ||||
//! transaction spends a coinbase too early, or violates locktime/sequence | //! transaction spends a coinbase too early, or violates locktime/sequence | ||||
//! locks | //! locks | ||||
TX_PREMATURE_SPEND, | TX_PREMATURE_SPEND, | ||||
/** | /** | ||||
* Tx already in mempool or conflicts with a tx in the chain | * Tx already in mempool or conflicts with a tx in the chain | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |