![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
Validation result for a single transaction mempool acceptance. More...
#include <validation.h>
Public Types | |
| enum class | ResultType { VALID , INVALID } |
| Used to indicate the results of mempool validation. More... | |
Static Public Member Functions | |
| static MempoolAcceptResult | Failure (TxValidationState state) |
| static MempoolAcceptResult | Success (std::list< CTransactionRef > &&replaced_txns, CAmount fees) |
Public Attributes | |
| const ResultType | m_result_type |
| const TxValidationState | m_state |
| const std::optional< std::list< CTransactionRef > > | m_replaced_transactions |
| Mempool transactions replaced by the tx per BIP 125 rules. More... | |
| const std::optional< CAmount > | m_base_fees |
| Raw base fees in satoshis. More... | |
Private Member Functions | |
| MempoolAcceptResult (TxValidationState state) | |
| Constructor for failure case. More... | |
| MempoolAcceptResult (std::list< CTransactionRef > &&replaced_txns, CAmount fees) | |
| Constructor for success case. More... | |
Validation result for a single transaction mempool acceptance.
Definition at line 149 of file validation.h.
|
strong |
Used to indicate the results of mempool validation.
| Enumerator | |
|---|---|
| VALID | |
| INVALID |
|
Definition at line 151 of file validation.h.
|
inlineexplicitprivate |
Constructor for failure case.
Definition at line 174 of file validation.h.
|
inlineexplicitprivate |
Constructor for success case.
Definition at line 180 of file validation.h.
|
inlinestatic |
|
inlinestatic |
| const std::optional<CAmount> MempoolAcceptResult::m_base_fees |
Raw base fees in satoshis.
Definition at line 162 of file validation.h.
| const std::optional<std::list<CTransactionRef> > MempoolAcceptResult::m_replaced_transactions |
Mempool transactions replaced by the tx per BIP 125 rules.
Definition at line 160 of file validation.h.
| const ResultType MempoolAcceptResult::m_result_type |
Definition at line 155 of file validation.h.
| const TxValidationState MempoolAcceptResult::m_state |
Definition at line 156 of file validation.h.