- May 16, 2019
-
-
Péter Szilágyi authored
-
Gary Rong authored
* all: freezer style syncing core, eth, les, light: clean up freezer relative APIs core, eth, les, trie, ethdb, light: clean a bit core, eth, les, light: add unit tests core, light: rewrite setHead function core, eth: fix downloader unit tests core: add receipt chain insertion test core: use constant instead of hardcoding table name core: fix rollback core: fix setHead core/rawdb: remove canonical block first and then iterate side chain core/rawdb, ethdb: add hasAncient interface eth/downloader: calculate ancient limit via cht first core, eth, ethdb: lots of fixes * eth/downloader: print ancient disable log only for fast sync
-
- May 13, 2019
-
-
Péter Szilágyi authored
* core, eth, trie: bloom filter for trie node dedup during fast sync * eth/downloader, trie: address review comments * core, ethdb, trie: restart fast-sync bloom construction now and again * eth/downloader: initialize fast sync bloom on startup * eth: reenable eth/62 until we properly remove it
-
- May 07, 2019
-
-
Gary Rong authored
* trie: fix merkle proof * trie: use hasher instead of allocate keccack256 every time * trie: add comments
-
- Apr 12, 2019
-
-
Péter Szilágyi authored
-
- Apr 05, 2019
-
-
Péter Szilágyi authored
-
- Mar 26, 2019
-
-
Martin Holst Swende authored
This PR is a more advanced form of the dirty-to-clean cacher (#18995), where we reuse previous database write batches as datasets to uncache, saving a dirty-trie-iteration and a dirty-trie-rlp-reencoding per block.
-
- Mar 22, 2019
-
-
Martin Holst Swende authored
* trie: disable fnv64a hashing of hashes for bigcache * trie/database: add very important period
-
- Mar 14, 2019
-
-
Péter Szilágyi authored
* cmd, core, eth, trie: get rid of trie cache generations * core, trie: get rid of remainder of cache gen boilerplate
-
- Mar 12, 2019
-
-
Péter Szilágyi authored
-
- Mar 06, 2019
-
-
Péter Szilágyi authored
-
- Feb 19, 2019
-
-
Matthew Halpern authored
-
- Feb 16, 2019
-
-
Martin Holst Swende authored
-
- Feb 04, 2019
-
-
HackyMiner authored
-
- Jan 04, 2019
-
-
Dave McGregor authored
-
- Nov 22, 2018
-
-
Martin Holst Swende authored
trie/database: fix overflow in parent tracking
-
- Nov 16, 2018
-
-
Péter Szilágyi authored
-
Łukasz Kurowski authored
* trie: return hasher to pool * trie: minor code formatting fix
-
- Nov 15, 2018
-
-
Péter Szilágyi authored
-
- Oct 08, 2018
-
-
Péter Szilágyi authored
-
- Sep 03, 2018
-
-
Wenbiao Zheng authored
-
- Aug 24, 2018
-
-
Mymskmkt authored
-
- Aug 09, 2018
-
-
Péter Szilágyi authored
-
- Aug 08, 2018
-
-
Mymskmkt authored
-
- Aug 07, 2018
-
-
Oleg Kovalov authored
-
- Jul 30, 2018
-
-
Péter Szilágyi authored
-
- Jul 02, 2018
-
-
Péter Szilágyi authored
-
- Jun 21, 2018
-
-
Péter Szilágyi authored
The current trie memory database/cache that we do pruning on stores trie nodes as binary rlp encoded blobs, and also stores the node relationships/references for GC purposes. However, most of the trie nodes (everything apart from a value node) is in essence just a collection of references. This PR switches out the RLP encoded trie blobs with the collapsed-but-not-serialized trie nodes. This permits most of the references to be recovered from within the node data structure, avoiding the need to track them a second time (expensive memory wise).
-
- Jun 11, 2018
-
-
Péter Szilágyi authored
-
- Jun 07, 2018
-
-
Sarlor authored
optimization code
-
- Jun 05, 2018
-
-
Felix Lange authored
* trie: reduce hasher allocations name old time/op new time/op delta Hash-8 4.05µs ±12% 3.56µs ± 9% -12.13% (p=0.000 n=20+19) name old alloc/op new alloc/op delta Hash-8 1.30kB ± 0% 0.66kB ± 0% -49.15% (p=0.000 n=20+20) name old allocs/op new allocs/op delta Hash-8 11.0 ± 0% 8.0 ± 0% -27.27% (p=0.000 n=20+20) * trie: bump initial buffer cap in hasher
-
- Jun 04, 2018
-
-
Péter Szilágyi authored
* core, eth, trie: streaming GC for the trie cache * trie: track memcache statistics
-
- May 29, 2018
-
-
Wenbiao Zheng authored
This removes a golint warning: type name will be used as trie.TrieSync by other packages, and that stutters; consider calling this Sync. In hexToKeybytes len(hex) is even and (even+1)/2 == even/2, remove the +1.
-
- May 24, 2018
-
-
Wenbiao Zheng authored
-
Péter Szilágyi authored
-
- May 23, 2018
-
-
Péter Szilágyi authored
-
- May 21, 2018
-
-
kiel barry authored
-
- May 09, 2018
-
-
Gary Rong authored
* all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
-
- May 02, 2018
-
-
Eli authored
-
- Apr 27, 2018
-
-
xincaosu authored
-