diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2021-11-12 11:13:29 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2022-01-06 22:14:16 -0500 |
commit | f7086fd8ff084ab0dd656d75b7485e59263bdfd8 (patch) | |
tree | 8d61564498f3015224618b9543ae8e608282f9cb /src/wallet/wallet.h | |
parent | 90fc8b089d591cabff60ee829a33f96c37fd27ba (diff) |
Add src/wallet/* code to wallet:: namespace
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index cbcdcaf3b8..b4c425eb95 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -40,12 +40,17 @@ #include <boost/signals2/signal.hpp> -struct WalletContext; using LoadWalletFn = std::function<void(std::unique_ptr<interfaces::Wallet> wallet)>; +class CScript; +enum class FeeEstimateMode; +struct FeeCalculation; struct bilingual_str; +namespace wallet { +struct WalletContext; + //! Explicitly unload and delete the wallet. //! Blocks the current thread after signaling the unload intent so that all //! wallet pointer owners release the wallet. @@ -107,10 +112,7 @@ static constexpr size_t DUMMY_NESTED_P2WPKH_INPUT_SIZE = 91; class CCoinControl; class COutput; -class CScript; class CWalletTx; -struct FeeCalculation; -enum class FeeEstimateMode; class ReserveDestination; //! Default for -addresstype @@ -936,5 +938,6 @@ bool AddWalletSetting(interfaces::Chain& chain, const std::string& wallet_name); bool RemoveWalletSetting(interfaces::Chain& chain, const std::string& wallet_name); bool DummySignInput(const SigningProvider& provider, CTxIn &tx_in, const CTxOut &txout, bool use_max_sig); +} // namespace wallet #endif // BITCOIN_WALLET_WALLET_H |