Commit Graph
9 Commits
Author SHA1 Message Date
Jaco Greeff 65b8468e5b Import util via {...} (#236)
* Import util via {...}

* Fix test failures
2018-10-18 15:24:13 +02:00
Jaco Greeff bcb0186422 FlatDb open with 'r+' 2018-09-07 12:49:22 +02:00
Jaco Greeff daf84b850d Mark FlatDb as closed when closed 2018-09-07 10:44:44 +02:00
Jaco Greeff 61357fb289 Add drop() to BaseDb 2018-09-07 09:29:01 +02:00
Jaco Greeff c056480c28 Add size() to BaseDb 2018-09-06 22:48:51 +02:00
Jaco Greeff 0707a238d5 Export rename(base, file) on BaseDb 2018-09-06 22:15:11 +02:00
Jaco Greeff cc7227846e Add ability for the Trie to snapshot current root (#214)
* Add ability for the Trie to snapshot current root

* Allow ability to empty/drop database
2018-09-06 17:22:30 +02:00
Jaco Greeff ca6934b6cf Bump LRU sizes 2018-09-05 11:57:54 +02:00
Jaco Greeff 5120b95bc8 FlatDb code refactor & optimisations (#213)
* Move Compactor into own class

* Combine multiple buffer writes

* Skip failing CI test (again)

* Clean up value > current.length

* Test code linting
2018-09-04 22:54:13 +02:00