unit_tests: fix hard fork unit test compilation

This commit is contained in:
moneromooo-monero 2016-02-08 18:44:27 +00:00
parent 9ef57946a0
commit 8e4c2e6ebe
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -57,6 +57,10 @@ public:
virtual void batch_start(uint64_t batch_num_blocks=0) {} virtual void batch_start(uint64_t batch_num_blocks=0) {}
virtual void batch_stop() {} virtual void batch_stop() {}
virtual void set_batch_transactions(bool) {} virtual void set_batch_transactions(bool) {}
virtual void block_txn_start() {}
virtual void block_txn_stop() {}
virtual void block_txn_abort() {}
virtual void drop_hard_fork_info() {}
virtual bool block_exists(const crypto::hash& h) const { return false; } virtual bool block_exists(const crypto::hash& h) const { return false; }
virtual block get_block(const crypto::hash& h) const { return block(); } virtual block get_block(const crypto::hash& h) const { return block(); }
virtual uint64_t get_block_height(const crypto::hash& h) const { return 0; } virtual uint64_t get_block_height(const crypto::hash& h) const { return 0; }