![]() |
Bitcoin Core
24.1.0
P2P Digital Currency
|
Validation result for package mempool acceptance. More...
#include <validation.h>
Public Member Functions | |
| PackageMempoolAcceptResult (PackageValidationState state, std::map< const uint256, const MempoolAcceptResult > &&results) | |
| PackageMempoolAcceptResult (PackageValidationState state, CFeeRate feerate, std::map< const uint256, const MempoolAcceptResult > &&results) | |
| PackageMempoolAcceptResult (const uint256 &wtxid, const MempoolAcceptResult &result) | |
| Constructor to create a PackageMempoolAcceptResult from a single MempoolAcceptResult. More... | |
Public Attributes | |
| const PackageValidationState | m_state |
| std::map< const uint256, const MempoolAcceptResult > | m_tx_results |
| Map from wtxid to finished MempoolAcceptResults. More... | |
| std::optional< CFeeRate > | m_package_feerate |
| Package feerate, defined as the aggregated modified fees divided by the total virtual size of all transactions in the package. More... | |
Validation result for package mempool acceptance.
Definition at line 202 of file validation.h.
|
inlineexplicit |
Definition at line 217 of file validation.h.
|
inlineexplicit |
Definition at line 221 of file validation.h.
|
inlineexplicit |
Constructor to create a PackageMempoolAcceptResult from a single MempoolAcceptResult.
Definition at line 226 of file validation.h.
| std::optional<CFeeRate> PackageMempoolAcceptResult::m_package_feerate |
Package feerate, defined as the aggregated modified fees divided by the total virtual size of all transactions in the package.
May be unavailable if some inputs were not available or a transaction failure caused validation to terminate early.
Definition at line 215 of file validation.h.
| const PackageValidationState PackageMempoolAcceptResult::m_state |
Definition at line 204 of file validation.h.
| std::map<const uint256, const MempoolAcceptResult> PackageMempoolAcceptResult::m_tx_results |
Map from wtxid to finished MempoolAcceptResults.
The client is responsible for keeping track of the transaction objects themselves. If a result is not present, it means validation was unfinished for that transaction. If there was a package-wide error (see result in m_state), m_tx_results will be empty.
Definition at line 211 of file validation.h.
1.8.14