Commit Graph
457 Commits
Author SHA1 Message Date
Jaco Greeff e68e6581d2 Merge branch 'master' of github.com:polkadot-js/util 2018-09-02 00:35:56 +02:00
Jaco Greeff 9dc836d061 Swap default backing DB to FileFlat (interim) 2018-09-02 00:35:52 +02:00
Travis CI 312cda75d0 [CI Skip] 0.29.6 2018-09-01 22:25:06 +00:00
Jaco Greeff 5c9d894b5c Merge master 2018-09-02 00:20:04 +02:00
Jaco Greeff c6f26eb12e Remove trie-db-old 2018-09-02 00:15:13 +02:00
Travis CI 44f48b7ef6 [CI Skip] 0.29.5 2018-09-01 22:13:36 +00:00
Jaco Greeff fc054c42fc Update RLP test expectation 2018-09-02 00:01:50 +02:00
Jaco Greeff 32d48c9ece Merge branch 'master' of github.com:polkadot-js/util 2018-09-01 23:51:16 +02:00
Jaco Greeff d15172d0b1 Log RLP failures with full input 2018-09-01 23:51:12 +02:00
Travis CI 2aa5476d47 [CI Skip] 0.29.4 2018-09-01 21:48:31 +00:00
Jaco Greeff 3bcd45cb28 Add getRoot/setRoot to interface 2018-09-01 23:42:55 +02:00
Travis CI 333e19ff09 [CI Skip] 0.29.3 2018-09-01 21:36:02 +00:00
Jaco Greeff 1106579164 Export TriedDb type 2018-09-01 23:31:20 +02:00
Jaco Greeff fbbcc2d92d Fix Transaction open/close reversal 2018-09-01 23:28:34 +02:00
Travis CI cd782d7bdc [CI Skip] 0.29.2 2018-09-01 20:49:27 +00:00
Jaco Greeff 130163b74e Trie implements TxDb interface fully 2018-09-01 22:44:45 +02:00
Travis CI c59b3347fc [CI Skip] 0.29.1 2018-09-01 20:23:22 +00:00
Jaco Greeff e1135a665b Re-implementation of Patricia-Merkle Trie (#203)
* Start of trie-db re-implementation

* WIP commit

* More WIP

* WIP, seems complete, untested

* Ported trie-db operational

* Add Ethereum trie tests

* Use u8aConcat to construct u8a

* Basic RocksDb interface

* Combine engines into DB, expand tests

* Update Trie with transaction wrapper

* LevelDb (sync) interface

* Remove unused (for now) package (compatibility)

* trie-d -> trie-db-old, trie-db-ext -> trie-db

* Version bump

* Skip old trie tests (package to be removed)

* Skip tests (fixed)

* Remove non-used RocksDb spec

* Skip FileFlat tests (deprecated?)
2018-09-01 22:17:57 +02:00
Travis CI 29ddd7d357 [CI Skip] 0.28.25 2018-08-29 14:16:15 +00:00
Jaco Greeff 36823cb598 Merge branch 'master' of github.com:polkadot-js/util 2018-08-29 16:11:21 +02:00
Jaco Greeff 13925f580a Revert "Revert "Fix length (the linter really should have caught this one)""
This reverts commit 93a73e9e44.
2018-08-29 16:11:08 +02:00
Jaco Greeff 7ff9ff8b34 Revert "Revert "diskdown to overwrite values when changed (if space available) (#202)""
This reverts commit bd0eb4cb34.
2018-08-29 16:11:04 +02:00
Travis CI e0182d0412 [CI Skip] 0.28.24 2018-08-29 14:08:21 +00:00
Jaco Greeff bd0eb4cb34 Revert "diskdown to overwrite values when changed (if space available) (#202)"
This reverts commit 07af959b15.
2018-08-29 16:02:13 +02:00
Jaco Greeff 93a73e9e44 Revert "Fix length (the linter really should have caught this one)"
This reverts commit 9a66137c62.
2018-08-29 16:01:54 +02:00
Travis CI 041f84e6e1 [CI Skip] 0.28.23 2018-08-29 13:43:00 +00:00
Jaco Greeff 9a66137c62 Fix length (the linter really should have caught this one) 2018-08-29 15:36:39 +02:00
Travis CI d9bd02c1e1 [CI Skip] 0.28.22 2018-08-29 13:30:02 +00:00
Jaco Greeff 07af959b15 diskdown to overwrite values when changed (if space available) (#202)
* Overwrite values when changed (if space available)

* Remove old LRU dependency completely
2018-08-29 15:05:54 +02:00
Travis CI 5155ed7e97 [CI Skip] 0.28.21 2018-08-29 09:20:52 +00:00
Jaco Greeff 20d8420d6f Fix progress calculation on compact 2018-08-29 11:15:30 +02:00
Jaco Greeff 94509cfbfb Pass through total keys 2018-08-29 11:04:27 +02:00
Travis CI 9c401b83b5 [CI Skip] 0.28.20 2018-08-29 08:46:44 +00:00
Jaco Greeff ea1549de04 Send progress messages more often (#201) 2018-08-29 10:43:37 +02:00
Travis CI b8e7e3fd2c [CI Skip] 0.28.19 2018-08-28 19:59:36 +00:00
Jaco Greeff 1654aa46fe Re-add the LRU removal (higher-level) (#200) 2018-08-28 21:54:47 +02:00
Travis CI e29f3fc964 [CI Skip] 0.28.18 2018-08-28 19:13:59 +00:00
Jaco Greeff 372e2fc903 Revert LRU removal (#199)
* Revert "Remove db-diskdown LRU (#198)"

This reverts commit 219f12a65b.

* Re-add LRU for db-diskdown

* Re-add depth check
2018-08-28 21:10:47 +02:00
Travis CI 81738e212a [CI Skip] 0.28.17 2018-08-28 18:41:00 +00:00
Jaco Greeff 219f12a65b Remove db-diskdown LRU (#198) 2018-08-28 20:36:44 +02:00
Travis CI ff78c02eb5 [CI Skip] 0.28.16 2018-08-28 15:16:47 +00:00
Jaco Greeff 3f7d3f1e65 Fix db-diskdown compacting header offset 2018-08-28 17:11:08 +02:00
Travis CI 6aa49334c4 [CI Skip] 0.28.15 2018-08-28 12:12:09 +00:00
Jaco Greeff dbb064fd2c Use progress callback for compacting (#197) 2018-08-28 14:07:00 +02:00
Travis CI f0af13d0c7 [CI Skip] 0.28.14 2018-08-28 10:35:32 +00:00
Jaco Greeff 50168b5fd2 Combined compacting test (#196)
* Compaction tests

* Update compacting reporting

* Unused imports

* Reporting
2018-08-28 12:30:16 +02:00
Travis CI 3fe0458ec1 [CI Skip] 0.28.13 2018-08-28 08:05:38 +00:00
Jaco Greeff 81a86fed5b Compact combined database (#195) 2018-08-28 10:02:28 +02:00
Travis CI f92db3f8e0 [CI Skip] 0.28.12 2018-08-27 16:02:46 +00:00
Jaco Greeff 0de0ed7e72 Merge branch 'master' of github.com:polkadot-js/util 2018-08-27 17:58:44 +02:00