Merge pull request #1506
3ff54bddCheck for correct thread before ending batch transaction (Howard Chu)eaf8470bMust wait for previous batch to finish before starting new one (Howard Chu)c903c554Don't cache block height, always get from DB (Howard Chu)eb1fb601Tweak default db-sync-mode to fast:async:1 (Howard Chu)0693cff9Use batch transactions when syncing (Howard Chu)
This commit is contained in:
@@ -51,7 +51,7 @@ public:
|
||||
virtual std::string get_db_name() const { return std::string(); }
|
||||
virtual bool lock() { return true; }
|
||||
virtual void unlock() { }
|
||||
virtual void batch_start(uint64_t batch_num_blocks=0) {}
|
||||
virtual bool batch_start(uint64_t batch_num_blocks=0) {}
|
||||
virtual void batch_stop() {}
|
||||
virtual void set_batch_transactions(bool) {}
|
||||
virtual void block_txn_start(bool readonly=false) {}
|
||||
|
||||
Reference in New Issue
Block a user