aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-05-05 11:35:03 +0200
committerRiccardo Spagni <ric@spagni.net>2017-05-05 11:35:03 +0200
commit81b370d5a13c798ca22f8c5c889f0e3b26da20d3 (patch)
treec1675173d0e24f7fdca885b0a94f52e5d1c0248b /src/wallet/wallet2_api.h
parentMerge pull request #2009 (diff)
parentWallet API: add spend/view key getters (diff)
downloadmonero-81b370d5a13c798ca22f8c5c889f0e3b26da20d3.tar.xz
Merge pull request #2012
bbf4c210 Wallet API: add spend/view key getters (Jaquee)
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index 17d0caf7d..a136954f0 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -312,10 +312,28 @@ struct Wallet
virtual std::string integratedAddress(const std::string &payment_id) const = 0;
/*!
- * \brief privateViewKey - returns private view key
- * \return - private view key
+ * \brief secretViewKey - returns secret view key
+ * \return - secret view key
*/
- virtual std::string privateViewKey() const = 0;
+ virtual std::string secretViewKey() const = 0;
+
+ /*!
+ * \brief publicViewKey - returns public view key
+ * \return - public view key
+ */
+ virtual std::string publicViewKey() const = 0;
+
+ /*!
+ * \brief secretSpendKey - returns secret spend key
+ * \return - secret spend key
+ */
+ virtual std::string secretSpendKey() const = 0;
+
+ /*!
+ * \brief publicSpendKey - returns public spend key
+ * \return - public spend key
+ */
+ virtual std::string publicSpendKey() const = 0;
/*!
* \brief store - stores wallet to file.