diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-11-01 15:12:03 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-11-01 15:12:03 +0200 |
commit | d53bc2eddf8da0b2fc88728922c0cfef2eab1bbf (patch) | |
tree | 6e732db8416a38c7c4d4b23c37f6178f7fbfdd6f /src/wallet/wallet2.h | |
parent | Merge pull request #1277 (diff) | |
parent | wallet: new import_outputs/export_outputs commands (diff) | |
download | monero-d53bc2eddf8da0b2fc88728922c0cfef2eab1bbf.tar.xz |
Merge pull request #1281
bb560dd wallet: new import_outputs/export_outputs commands (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 1b4af18f6..6cd288ac1 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -473,6 +473,9 @@ namespace tools std::string sign(const std::string &data) const; bool verify(const std::string &data, const cryptonote::account_public_address &address, const std::string &signature) const; + std::vector<tools::wallet2::transfer_details> export_outputs() const; + size_t import_outputs(const std::vector<tools::wallet2::transfer_details> &outputs); + std::vector<std::pair<crypto::key_image, crypto::signature>> export_key_images() const; uint64_t import_key_images(const std::vector<std::pair<crypto::key_image, crypto::signature>> &signed_key_images, uint64_t &spent, uint64_t &unspent); |