mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #2457
d2d8a41c
Use actual batch size for resize estimates (Howard Chu)
This commit is contained in:
commit
e5a2cdbfad
8 changed files with 135 additions and 67 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
virtual std::string get_db_name() const { return std::string(); }
|
||||
virtual bool lock() { return true; }
|
||||
virtual void unlock() { }
|
||||
virtual bool batch_start(uint64_t batch_num_blocks=0) { return true; }
|
||||
virtual bool batch_start(uint64_t batch_num_blocks=0, uint64_t batch_bytes=0) { return true; }
|
||||
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