![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <attributes.h>#include <consensus/amount.h>#include <primitives/transaction.h>#include <tinyformat.h>#include <uint256.h>#include <util/check.h>#include <util/overloaded.h>#include <util/strencodings.h>#include <util/string.h>#include <wallet/types.h>#include <bitset>#include <cstdint>#include <map>#include <utility>#include <variant>#include <vector>Go to the source code of this file.
Classes | |
| struct | wallet::TxStateConfirmed |
| State of transaction confirmed in a block. More... | |
| struct | wallet::TxStateInMempool |
| State of transaction added to mempool. More... | |
| struct | wallet::TxStateBlockConflicted |
| State of rejected transaction that conflicts with a confirmed block. More... | |
| struct | wallet::TxStateInactive |
| State of transaction not confirmed or conflicting with a known block and not in the mempool. More... | |
| struct | wallet::TxStateUnrecognized |
| State of transaction loaded in an unrecognized state with unexpected hash or index values. More... | |
| struct | wallet::CachableAmount |
| Cachable amount subdivided into avoid reuse and all balances. More... | |
| class | wallet::CMerkleTx |
| Legacy class used for deserializing vtxPrev for backwards compatibility. More... | |
| class | wallet::CWalletTx |
| A transaction with a bunch of additional info that only the owner cares about. More... | |
| struct | wallet::WalletTxOrderComparator |
| class | wallet::WalletTXO |
Namespaces | |
| namespace | interfaces |
| namespace | wallet |
Typedefs | |
| using | wallet::TxState = std::variant< TxStateConfirmed, TxStateInMempool, TxStateBlockConflicted, TxStateInactive, TxStateUnrecognized > |
| All possible CWalletTx states. More... | |
| using | wallet::SyncTxState = std::variant< TxStateConfirmed, TxStateInMempool, TxStateInactive > |
| Subset of states transaction sync logic is implemented to handle. More... | |
| typedef std::map< std::string, std::string > | wallet::mapValue_t |
Functions | |
| static TxState | wallet::TxStateInterpretSerialized (TxStateUnrecognized data) |
| Try to interpret deserialized TxStateUnrecognized data as a recognized state. More... | |
| static uint256 | wallet::TxStateSerializedBlockHash (const TxState &state) |
| Get TxState serialized block hash. Inverse of TxStateInterpretSerialized. More... | |
| static int | wallet::TxStateSerializedIndex (const TxState &state) |
| Get TxState serialized block index. Inverse of TxStateInterpretSerialized. More... | |
| template<typename T > | |
| std::string | wallet::TxStateString (const T &state) |
| Return TxState or SyncTxState as a string for logging or debugging. More... | |