diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-02-08 18:44:27 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-02-08 18:44:27 +0000 |
commit | 8e4c2e6ebede73df1f54453003861ec4b7da898c (patch) | |
tree | d69c87c92e9934b3ba27c98495532fbd535e0edf /tests/unit_tests/hardfork.cpp | |
parent | blockchain_utilities: remove unused num_blocks variable (diff) | |
download | monero-8e4c2e6ebede73df1f54453003861ec4b7da898c.tar.xz |
unit_tests: fix hard fork unit test compilation
Diffstat (limited to 'tests/unit_tests/hardfork.cpp')
-rw-r--r-- | tests/unit_tests/hardfork.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp index e20f58a5d..7432c03ec 100644 --- a/tests/unit_tests/hardfork.cpp +++ b/tests/unit_tests/hardfork.cpp @@ -57,6 +57,10 @@ public: virtual void batch_start(uint64_t batch_num_blocks=0) {} virtual void batch_stop() {} 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 block get_block(const crypto::hash& h) const { return block(); } virtual uint64_t get_block_height(const crypto::hash& h) const { return 0; } |