From 374f388de21b253c165792a893cdb4f158cdc24b Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 10 Apr 2019 10:37:34 +0000 Subject: wallet_rpc_server: add a all flag to export_outputs if we don't want to export new outputs only --- src/wallet/wallet2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wallet/wallet2.h') 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> export_outputs() const; - std::string export_outputs_to_str() const; + std::pair> export_outputs(bool all = false) const; + std::string export_outputs_to_str(bool all = false) const; size_t import_outputs(const std::pair> &outputs); size_t import_outputs_from_str(const std::string &outputs_st); payment_container export_payments() const; -- cgit v1.2.3