Commit Graph
389 Commits
Author SHA1 Message Date
Travis CI b055d18a4c [CI Skip] 0.30.1 2018-09-11 13:15:59 +00:00
Jaco Greeff 5a101b0fde Classify Keyring (#215)
* Bump deps

* Class-ify Keyring

* Version bump
2018-09-11 15:11:09 +02:00
Travis CI b2c32b0169 [CI Skip] 0.29.33 2018-09-07 10:53:34 +00:00
Jaco Greeff bcb0186422 FlatDb open with 'r+' 2018-09-07 12:49:22 +02:00
Travis CI 28e77b82d5 [CI Skip] 0.29.32 2018-09-07 09:31:09 +00:00
Jaco Greeff 0e2566c05a Bump dependencies 2018-09-07 11:26:01 +02:00
Jaco Greeff daf84b850d Mark FlatDb as closed when closed 2018-09-07 10:44:44 +02:00
Travis CI dd0ec259a5 [CI Skip] 0.29.31 2018-09-07 08:02:26 +00:00
Jaco Greeff 769e745e20 Progress calculation (snapshot) 2018-09-07 09:57:32 +02:00
Travis CI 4797b4d9bc [CI Skip] 0.29.30 2018-09-07 07:35:24 +00:00
Jaco Greeff 61357fb289 Add drop() to BaseDb 2018-09-07 09:29:01 +02:00
Travis CI 5746d1eba9 [CI Skip] 0.29.29 2018-09-06 20:59:00 +00:00
Jaco Greeff 5f2bdc7960 Merge branch 'master' of github.com:polkadot-js/util 2018-09-06 22:54:10 +02:00
Jaco Greeff b5c466c410 Add size compare for before/after snapshot 2018-09-06 22:53:58 +02:00
Travis CI 5729199185 [CI Skip] 0.29.28 2018-09-06 20:53:22 +00:00
Jaco Greeff c056480c28 Add size() to BaseDb 2018-09-06 22:48:51 +02:00
Travis CI d1ba256d7e [CI Skip] 0.29.27 2018-09-06 20:34:17 +00:00
Jaco Greeff ea8ff283fc Rename snapshot method 2018-09-06 22:28:48 +02:00
Jaco Greeff 018518af1c Merge branch 'master' of github.com:polkadot-js/util 2018-09-06 22:15:16 +02:00
Jaco Greeff 0707a238d5 Export rename(base, file) on BaseDb 2018-09-06 22:15:11 +02:00
Travis CI 376d71cf02 [CI Skip] 0.29.26 2018-09-06 19:34:03 +00:00
Jaco Greeff 72bb79fdbd Show snapshot completion info 2018-09-06 21:30:10 +02:00
Travis CI 6e327019df [CI Skip] 0.29.25 2018-09-06 19:14:30 +00:00
Jaco Greeff 6bb0f77c09 Return key count from snapshot creation 2018-09-06 21:09:32 +02:00
Travis CI eec2b34b83 [CI Skip] 0.29.24 2018-09-06 19:02:05 +00:00
Jaco Greeff 56f80aa79b Update (linting) 2018-09-06 20:58:17 +02:00
Jaco Greeff d08f7832fd Write snapshot directly to destination Trie 2018-09-06 20:37:39 +02:00
Travis CI adbf7e7c13 [CI Skip] 0.29.23 2018-09-06 16:08:04 +00:00
Jaco Greeff 1149d8836b Cleanup/speedup snapshot creation entries 2018-09-06 18:03:57 +02:00
Jaco Greeff 0369450ff1 Expose snapshot methods in type 2018-09-06 17:52:20 +02:00
Travis CI 052cdbcd33 [CI Skip] 0.29.22 2018-09-06 15:27:33 +00: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
Travis CI 11649b492a [CI Skip] 0.29.21 2018-09-05 10:03:18 +00:00
Jaco Greeff ca6934b6cf Bump LRU sizes 2018-09-05 11:57:54 +02:00
Travis CI 0e8587f977 [CI Skip] 0.29.20 2018-09-04 20:59:01 +00: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
Travis CI fe372bae6d [CI Skip] 0.29.19 2018-09-04 08:57:49 +00:00
Jaco Greeff 0b5d6bfb60 FlatDb LRU for data (key & value) 2018-09-04 10:49:25 +02:00
Travis CI 52d7c5da56 [CI Skip] 0.29.18 2018-09-03 18:09:07 +00:00
Jaco Greeff 37804f2484 Merge branch 'master' of github.com:polkadot-js/util 2018-09-03 20:03:59 +02:00
Jaco Greeff 385db9ef25 Cleanup FlatDb branching logic (re-use) 2018-09-03 20:02:14 +02:00
Travis CI 5f6e1a4990 [CI Skip] 0.29.17 2018-09-03 15:25:24 +00:00
Jaco Greeff 4655726c92 Cleanup variable assignments (FlatDb) 2018-09-03 17:21:00 +02:00
Travis CI d814449810 [CI Skip] 0.29.16 2018-09-03 15:02:26 +00:00
Jaco Greeff 177824d356 Expand FlatDb tests 2018-09-03 16:55:32 +02:00
Jaco Greeff 1f6d7bb118 Debug with correct position 2018-09-03 16:39:34 +02:00
Jaco Greeff a9ee22bf08 Cleanup Flat return types 2018-09-03 16:30:55 +02:00
Travis CI b280e3ee23 [CI Skip] 0.29.15 2018-09-03 14:05:36 +00:00
Jaco Greeff f32ea5b40f LRU for branches (96-bytes, more re-usable) (#212) 2018-09-03 16:01:15 +02:00
Travis CI 7372f2277e [CI Skip] 0.29.14 2018-09-03 13:11:28 +00:00