aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/testdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-24 08:33:19 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-25 16:24:56 +0000
commit4b51f9a34f86c6bfb9cf8aafd30e649addf888ed (patch)
treee28a01cfd2201b7a2c5dd63af2afd1ac861ef21b /src/blockchain_db/testdb.h
parentMerge pull request #5548 (diff)
downloadmonero-4b51f9a34f86c6bfb9cf8aafd30e649addf888ed.tar.xz
core: do not commit half constructed batch db txn
Diffstat (limited to '')
-rw-r--r--src/blockchain_db/testdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_db/testdb.h b/src/blockchain_db/testdb.h
index 6c97713d5..34e635899 100644
--- a/src/blockchain_db/testdb.h
+++ b/src/blockchain_db/testdb.h
@@ -54,6 +54,7 @@ public:
virtual void unlock() override { }
virtual bool batch_start(uint64_t batch_num_blocks=0, uint64_t batch_bytes=0) override { return true; }
virtual void batch_stop() override {}
+ virtual void batch_abort() override {}
virtual void set_batch_transactions(bool) override {}
virtual void block_wtxn_start() override {}
virtual void block_wtxn_stop() override {}