aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-10 10:37:34 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-10 10:37:34 +0000
commit374f388de21b253c165792a893cdb4f158cdc24b (patch)
tree70c54a25e3aeb1a0a5754df0051ced72fb94e5bf /src/wallet/wallet2.h
parentMerge pull request #5364 (diff)
downloadmonero-374f388de21b253c165792a893cdb4f158cdc24b.tar.xz
wallet_rpc_server: add a all flag to export_outputs
if we don't want to export new outputs only
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index a24127800..1fee452db 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1135,8 +1135,8 @@ namespace tools
bool verify_with_public_key(const std::string &data, const crypto::public_key &public_key, const std::string &signature) const;
// Import/Export wallet data
- std::pair<size_t, std::vector<tools::wallet2::transfer_details>> export_outputs() const;
- std::string export_outputs_to_str() const;
+ std::pair<size_t, std::vector<tools::wallet2::transfer_details>> export_outputs(bool all = false) const;
+ std::string export_outputs_to_str(bool all = false) const;
size_t import_outputs(const std::pair<size_t, std::vector<tools::wallet2::transfer_details>> &outputs);
size_t import_outputs_from_str(const std::string &outputs_st);
payment_container export_payments() const;