mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #1506
3ff54bdd
Check for correct thread before ending batch transaction (Howard Chu)eaf8470b
Must wait for previous batch to finish before starting new one (Howard Chu)c903c554
Don't cache block height, always get from DB (Howard Chu)eb1fb601
Tweak default db-sync-mode to fast:async:1 (Howard Chu)0693cff9
Use batch transactions when syncing (Howard Chu)
This commit is contained in:
commit
65e33b1bc5
9 changed files with 71 additions and 33 deletions
|
@ -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) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue