aboutsummaryrefslogtreecommitdiff
path: root/src/device/device.hpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-05-20 21:43:09 +0000
committerSarang Noether <32460187+SarangNoether@users.noreply.github.com>2020-08-28 19:25:17 -0400
commit743608ec16e27a3c1ca2febd4e80391a32c23efd (patch)
treed8b4f65cc302f765f7fd97aca7ef6189065307e3 /src/device/device.hpp
parent5946002105bf37193db241597909588fab411db9 (diff)
downloadmonzero-core-743608ec16e27a3c1ca2febd4e80391a32c23efd.tar.gz
monzero-core-743608ec16e27a3c1ca2febd4e80391a32c23efd.tar.xz
monzero-core-743608ec16e27a3c1ca2febd4e80391a32c23efd.zip
wallet: allow signing a message with spend or view key
Diffstat (limited to 'src/device/device.hpp')
-rw-r--r--src/device/device.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/device.hpp b/src/device/device.hpp
index 582eb2242..a6694ad09 100644
--- a/src/device/device.hpp
+++ b/src/device/device.hpp
@@ -162,6 +162,7 @@ namespace hw {
virtual std::vector<crypto::public_key> get_subaddress_spend_public_keys(const cryptonote::account_keys &keys, uint32_t account, uint32_t begin, uint32_t end) = 0;
virtual cryptonote::account_public_address get_subaddress(const cryptonote::account_keys& keys, const cryptonote::subaddress_index &index) = 0;
virtual crypto::secret_key get_subaddress_secret_key(const crypto::secret_key &sec, const cryptonote::subaddress_index &index) = 0;
+ virtual crypto::secret_key get_subaddress_view_secret_key(const crypto::secret_key &sec, const cryptonote::subaddress_index &index) = 0;
/* ======================================================================= */
/* DERIVATION & KEY */