openethereum/util
Robert Habermeier 517c705ab5 In-memory trie operations (#1408)
* small cleanups in trie

* Memory trie skeleton

* decode nodes from RLP

* memorytrie -> memorytriedb

* implement Trie for MemoryTrie

* partially implement insert

* implement trie insertion

* don't load whole trie into memory, lookup across memory and db

* re-implement insertion and lazily load necessary nodes from DB

* node removal w/o fixing

* reduce churn in node storage

* finish remove implementation

* committing the in-memory trie

* reload root node after commit

* generate elastic arrays when converting nodes to rlp

* port triedbmut tests over to memorytriedb, fix a few bugs.

* hash count and dirty flag

* initial attempt for node inspection

* back to skeleton

* inspection framework

* implement insertion

* no panic paths in insert

* implement deletion without fixing

* node fixing

* commit nodes to db

* tracing targets and bugfix

* get tests to pass with a lot of tracing

* set playpen iterations to 10

* remove some tracing statements

* make TrieMut::root take &mut self

* replace triedbmut with memorytriedb

* treat empty insert value as removal

* add test for null insert

* fix some style concerns

* trie: use nodehandle for root_node, minor cleanup
2016-07-14 18:06:46 +02:00
..
benches fix benchmark compilation (#1612) 2016-07-13 20:45:15 +02:00
bigint more pow opts 2016-07-13 11:58:08 +02:00
fdlimit Raise fd limit in linux 2016-02-16 00:22:44 +01:00
sha3 added license in every *.rs file 2016-02-05 13:40:41 +01:00
src In-memory trie operations (#1408) 2016-07-14 18:06:46 +02:00
table Miner tests (#1597) 2016-07-14 12:16:53 +02:00
using_queue serde is no longer util dependency (#1534) 2016-07-06 11:23:29 +02:00
Cargo.toml replace synchronization primitives with those from parking_lot (#1593) 2016-07-13 19:59:59 +02:00
Makefile Move ethcore files back into root. 2016-01-17 13:11:25 +01:00
build.rs Indent 2016-03-17 18:43:01 +01:00
cov.sh remove redundant modification 2016-03-02 13:02:33 +03:00