diff options
author | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-03 21:29:35 +0200 |
---|---|---|
committer | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-10 17:00:12 +0200 |
commit | c97a1f79d6be190b9952f47e28be2c5d16b154b6 (patch) | |
tree | aba241eb54ae973fd3c351f53be81423abd80f31 /tests/trezor/trezor_tests.h | |
parent | Merge pull request #5390 (diff) | |
download | monero-c97a1f79d6be190b9952f47e28be2c5d16b154b6.tar.xz |
tests: trezor tests fixes and improvements
- configurable hardforks via env vars
Diffstat (limited to '')
-rw-r--r-- | tests/trezor/trezor_tests.h | 2 |
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); } |