diff options
author | Jaquee <jaquee.monero@gmail.com> | 2017-05-02 16:48:38 +0200 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2017-05-02 16:48:38 +0200 |
commit | bbf4c21048f47d419a2e09e9d58c95328e1ee980 (patch) | |
tree | f15b600a3819db93506fdf3671b613584c2f738f /src/wallet/wallet2_api.h | |
parent | Merge pull request #1930 (diff) | |
download | monero-bbf4c21048f47d419a2e09e9d58c95328e1ee980.tar.xz |
Wallet API: add spend/view key getters
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2_api.h | 24 |
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. |