diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-10 10:37:34 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-10 10:37:34 +0000 |
commit | 374f388de21b253c165792a893cdb4f158cdc24b (patch) | |
tree | 70c54a25e3aeb1a0a5754df0051ced72fb94e5bf /src/wallet/wallet2.h | |
parent | Merge pull request #5364 (diff) | |
download | monero-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 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 4 |
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; |