diff options
author | Tadeas Moravec <moravec.tadeas@gmail.com> | 2019-04-10 11:20:12 +0200 |
---|---|---|
committer | Tadeas Moravec <moravec.tadeas@gmail.com> | 2019-08-22 16:03:22 +0200 |
commit | 63186a01ce1603c65771a3ef91f29f3e91679d42 (patch) | |
tree | 2537dd559bf198574351db3759e75e8d2046ad74 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #5827 (diff) | |
download | monero-63186a01ce1603c65771a3ef91f29f3e91679d42.tar.xz |
Wallet: Option to export data to ASCII
New CLI wallet variable: export-format with options "binary" (the default),
or "ascii". "Binary" behaves as before, "ascii" forces the wallet to convert
data to ASCII using base64.
Reading files from the disk tries to auto detect what format has been
used (using a magic string added when exporting the data).
Implements https://github.com/monero-project/monero/issues/2859
Diffstat (limited to '')
-rw-r--r-- | src/simplewallet/simplewallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 2de390666..cbc1cb6fa 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -146,6 +146,7 @@ namespace cryptonote bool set_track_uses(const std::vector<std::string> &args = std::vector<std::string>()); bool set_setup_background_mining(const std::vector<std::string> &args = std::vector<std::string>()); bool set_device_name(const std::vector<std::string> &args = std::vector<std::string>()); + bool set_export_format(const std::vector<std::string> &args = std::vector<std::string>()); bool help(const std::vector<std::string> &args = std::vector<std::string>()); bool start_mining(const std::vector<std::string> &args); bool stop_mining(const std::vector<std::string> &args); |