diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-06-01 18:00:22 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-12-16 12:33:06 -0500 |
commit | a88c320041bd1cd1786b2dfd9ab698a67c2a57c6 (patch) | |
tree | 4068ec0a74df5218029732b74752036afd362c70 /src/wallet/dump.h | |
parent | e1e7a90d5f0616a46ffadd62a9f1c65406cca6b4 (diff) |
wallettool: Add createfromdump command
Creates a new wallet file using the dump file produced by the dump
command
Diffstat (limited to 'src/wallet/dump.h')
-rw-r--r-- | src/wallet/dump.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/dump.h b/src/wallet/dump.h index 0f17ee1d0d..d0a4f5ef1d 100644 --- a/src/wallet/dump.h +++ b/src/wallet/dump.h @@ -5,10 +5,13 @@ #ifndef BITCOIN_WALLET_DUMP_H #define BITCOIN_WALLET_DUMP_H +#include <fs.h> + class CWallet; struct bilingual_str; bool DumpWallet(CWallet& wallet, bilingual_str& error); +bool CreateFromDump(const std::string& name, const fs::path& wallet_path, bilingual_str& error, std::vector<bilingual_str>& warnings); #endif // BITCOIN_WALLET_DUMP_H |