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?)
This commit is contained in:
Jaco Greeff
2018-09-01 22:17:57 +02:00
committed by GitHub
parent 29ddd7d357
commit e1135a665b
87 changed files with 3091 additions and 823 deletions
+2 -2
View File
@@ -3,13 +3,13 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@polkadot/db-diskdown/*": [ "packages/db-diskdown/src/*" ],
"@polkadot/db/*": [ "packages/db/src/*" ],
"@polkadot/trie-db-old/*": [ "packages/trie-db-old/src/*" ],
"@polkadot/trie-db/*": [ "packages/trie-db/src/*" ],
"@polkadot/trie-hash/*": [ "packages/trie-hash/src/*" ],
"@polkadot/util-crypto/*": [ "packages/util-crypto/src/*" ],
"@polkadot/util-keyring/*": [ "packages/util-keyring/src/*" ],
"@polkadot/util-rlp/*": [ "packages/util-rlp/src/*" ],
"@polkadot/util-triedb/*": [ "packages/util-triedb/src/*" ],
"@polkadot/util/*": [ "packages/util/src/*" ]
},
"typeRoots": [