tests: trezor tests fixes and improvements

- configurable hardforks via env vars
This commit is contained in:
Dusan Klinec 2019-04-03 21:29:35 +02:00
parent fe3403c8f0
commit c97a1f79d6
No known key found for this signature in database
GPG key ID: 6337E118CCBCE103
4 changed files with 76 additions and 25 deletions

View file

@ -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); }