diff options
author | Samuel Dobson <dobsonsa68@gmail.com> | 2021-12-03 12:44:42 +1300 |
---|---|---|
committer | Samuel Dobson <dobsonsa68@gmail.com> | 2021-12-03 13:53:12 +1300 |
commit | 5b2167fd30ea4384b93a0226e9fbef4650aa9438 (patch) | |
tree | e2d044a819ad7873415b1d285d95e61718a577c3 /src/wallet/rpc/util.h | |
parent | 8b73640152dbe7201e740019f4c2554e9ba8cc99 (diff) |
MOVEONLY: Move LoadWalletHelper to wallet/rpc/util
Diffstat (limited to 'src/wallet/rpc/util.h')
-rw-r--r-- | src/wallet/rpc/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/rpc/util.h b/src/wallet/rpc/util.h index a493a80a74..a1fa4d49b1 100644 --- a/src/wallet/rpc/util.h +++ b/src/wallet/rpc/util.h @@ -8,7 +8,9 @@ #include <any> #include <memory> #include <string> +#include <vector> +struct bilingual_str; class CWallet; class JSONRPCRequest; class LegacyScriptPubKeyMan; @@ -35,4 +37,6 @@ bool GetAvoidReuseFlag(const CWallet& wallet, const UniValue& param); bool ParseIncludeWatchonly(const UniValue& include_watchonly, const CWallet& wallet); std::string LabelFromValue(const UniValue& value); +std::tuple<std::shared_ptr<CWallet>, std::vector<bilingual_str>> LoadWalletHelper(WalletContext& context, UniValue load_on_start_param, const std::string wallet_name); + #endif // BITCOIN_WALLET_RPC_UTIL_H |