aboutsummaryrefslogtreecommitdiff
path: root/tests/trezor/trezor_tests.h
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2019-04-03 21:29:35 +0200
committerDusan Klinec <dusan.klinec@gmail.com>2019-04-10 17:00:12 +0200
commitc97a1f79d6be190b9952f47e28be2c5d16b154b6 (patch)
treeaba241eb54ae973fd3c351f53be81423abd80f31 /tests/trezor/trezor_tests.h
parentMerge pull request #5390 (diff)
downloadmonero-c97a1f79d6be190b9952f47e28be2c5d16b154b6.tar.xz
tests: trezor tests fixes and improvements
- configurable hardforks via env vars
Diffstat (limited to 'tests/trezor/trezor_tests.h')
-rw-r--r--tests/trezor/trezor_tests.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/trezor/trezor_tests.h b/tests/trezor/trezor_tests.h
index bed49fec4..46eb5e6a5 100644
--- a/tests/trezor/trezor_tests.h
+++ b/tests/trezor/trezor_tests.h
@@ -84,6 +84,8 @@ public:
virtual void mine_and_test(std::vector<test_event_entry>& events);
+ virtual void rewind_blocks(std::vector<test_event_entry>& events, size_t rewind_n, uint8_t hf);
+
virtual void set_hard_fork(uint8_t hf);
crypto::hash head_hash() const { return get_block_hash(m_head); }