aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/feebumper.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2021-11-12 11:13:29 -0500
committerRussell Yanofsky <russ@yanofsky.org>2022-01-06 22:14:16 -0500
commitf7086fd8ff084ab0dd656d75b7485e59263bdfd8 (patch)
tree8d61564498f3015224618b9543ae8e608282f9cb /src/wallet/feebumper.cpp
parent90fc8b089d591cabff60ee829a33f96c37fd27ba (diff)
downloadbitcoin-f7086fd8ff084ab0dd656d75b7485e59263bdfd8.tar.xz
Add src/wallet/* code to wallet:: namespace
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r--src/wallet/feebumper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp
index 242a3c2847..3552c14160 100644
--- a/src/wallet/feebumper.cpp
+++ b/src/wallet/feebumper.cpp
@@ -16,6 +16,7 @@
#include <wallet/spend.h>
#include <wallet/wallet.h>
+namespace wallet {
//! Check whether transaction has descendant in wallet or mempool, or has been
//! mined, or conflicts with a mined transaction. Return a feebumper::Result.
static feebumper::Result PreconditionChecks(const CWallet& wallet, const CWalletTx& wtx, std::vector<bilingual_str>& errors) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
@@ -282,3 +283,4 @@ Result CommitTransaction(CWallet& wallet, const uint256& txid, CMutableTransacti
}
} // namespace feebumper
+} // namespace wallet