aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/address_book.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-01 16:06:34 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-01 16:06:34 +0000
commit21c5af5a8a20a58cb913ac0a417ba3d508b2ef91 (patch)
tree9d6e7592aa2346f30547ba5ad938d37f3a7de65e /src/wallet/api/address_book.h
parentMerge pull request #1487 (diff)
downloadmonero-21c5af5a8a20a58cb913ac0a417ba3d508b2ef91.tar.xz
wallet2_api: add an address book payment id lookup API
Diffstat (limited to '')
-rw-r--r--src/wallet/api/address_book.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/address_book.h b/src/wallet/api/address_book.h
index 7f30e4387..33d06a078 100644
--- a/src/wallet/api/address_book.h
+++ b/src/wallet/api/address_book.h
@@ -51,6 +51,8 @@ public:
// Error codes. See AddressBook:ErrorCode enum in wallet2_api.h
std::string errorString() const {return m_errorString;}
int errorCode() const {return m_errorCode;}
+
+ int lookupPaymentID(const std::string &payment_id) const;
private:
void clearRows();