aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-07-26 08:55:25 +0200
committerRiccardo Spagni <ric@spagni.net>2016-07-26 08:55:25 +0200
commitb34506da81ed7d53c0a11cc30f6eb349fe2ca48c (patch)
tree4cd4132d8c1c57e89f8c4f417c2e078b6d9e5d44 /src/wallet/wallet2.h
parentMerge pull request #931 (diff)
parentwallet: new {ex,im}port_key_images commands and RPC calls (diff)
downloadmonero-b34506da81ed7d53c0a11cc30f6eb349fe2ca48c.tar.xz
Merge pull request #928
ebf97d7 wallet: new {ex,im}port_key_images commands and RPC calls (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index de3580777..62a3c5031 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -394,8 +394,10 @@ 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;
- void update_pool_state();
+ 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);
+ void update_pool_state();
private:
/*!
* \brief Stores wallet information to wallet file.