aboutsummaryrefslogtreecommitdiff
path: root/src/device_trezor/device_trezor.hpp
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2018-11-28 22:22:11 +0100
committerDusan Klinec <dusan.klinec@gmail.com>2018-12-04 20:12:03 +0100
commitd71f89e2a26720021f7509f8c1eee87645f48529 (patch)
tree9086c377f1e47f862e064251a92f8b260f21540a /src/device_trezor/device_trezor.hpp
parentdevice/trezor: python2 compatibility - bundle dependencies (diff)
downloadmonero-d71f89e2a26720021f7509f8c1eee87645f48529.tar.xz
device/trezor: device/trezor: correct device initialization, status check
- checks if the device is in the correct usable state - implements check for the v2.0.9 firmware which does not support payment IDs - simple transacttion check, payment id fmt consistency - minor fixes, refactoring, webusb session counting fix
Diffstat (limited to 'src/device_trezor/device_trezor.hpp')
-rw-r--r--src/device_trezor/device_trezor.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/device_trezor/device_trezor.hpp b/src/device_trezor/device_trezor.hpp
index a2134574c..1f08be887 100644
--- a/src/device_trezor/device_trezor.hpp
+++ b/src/device_trezor/device_trezor.hpp
@@ -57,9 +57,8 @@ namespace trezor {
*/
class device_trezor : public hw::trezor::device_trezor_base, public hw::device_cold {
protected:
- // To speed up blockchain parsing the view key maybe handle here.
- crypto::secret_key viewkey;
- bool has_view_key;
+ void transaction_pre_check(std::shared_ptr<messages::monero::MoneroTransactionInitRequest> init_msg);
+ void transaction_check(const protocol::tx::TData & tdata, const hw::tx_aux_data & aux_data);
public:
device_trezor();