diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-06-01 16:31:25 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-12-16 12:32:47 -0500 |
commit | e1e7a90d5f0616a46ffadd62a9f1c65406cca6b4 (patch) | |
tree | 04cbbcb640810668c7ecee5f89acf4dad51e9bd4 /src/wallet/dump.h | |
parent | ad3d4b3929ab19ab5b0623a1153279ec9bd21ea1 (diff) | |
download | bitcoin-e1e7a90d5f0616a46ffadd62a9f1c65406cca6b4.tar.xz |
wallettool: Add dump command
Adds a new dump command to bitcoin-wallet which prints out all of the
wallet's records in hex.
Diffstat (limited to 'src/wallet/dump.h')
-rw-r--r-- | src/wallet/dump.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wallet/dump.h b/src/wallet/dump.h new file mode 100644 index 0000000000..0f17ee1d0d --- /dev/null +++ b/src/wallet/dump.h @@ -0,0 +1,14 @@ +// Copyright (c) 2020 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#ifndef BITCOIN_WALLET_DUMP_H +#define BITCOIN_WALLET_DUMP_H + +class CWallet; + +struct bilingual_str; + +bool DumpWallet(CWallet& wallet, bilingual_str& error); + +#endif // BITCOIN_WALLET_DUMP_H |