erigon-pulse/eth/downloader
ledgerwatch f6be0b601e
Fix history generation and optimise via pre-sorting in the files (#572)
* Rewrite

* Fix linter, make counter

* Skip hash stage

* Fix linter

* Add common

* Fix wrong bucket

* Use temp files to generate index

* Fix hack, defer

* Add logging when creating files

* Properly pass datadir

* Bigger buffers, less logging

* Log current key, enforce batching

* Limit to 4m, print more

* Use ReadFull

* Optimised version of storage generation

* Don't print entire key

* Commit at the end

* Fix linter

* Remove a bit of copy-paste

* More copy-paste reduction

* Fixes

* Fix key length

* Not delete files too early

* Fix linter

* Fix logging

* Fix starting block

* Skip test

* Remove limit on the stage 4

* Fix test while disabling the hash check

* Fix tests

* Fix unreachable
2020-05-24 15:48:15 +01:00
..
api.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
downloader_test.go Stages 6 and 7 for generating history indices (#569) 2020-05-23 10:19:56 +01:00
downloader.go Fix history generation and optimise via pre-sorting in the files (#572) 2020-05-24 15:48:15 +01:00
events.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
fakepeer.go FakePeer - reduce interface size 2019-12-13 09:56:30 +06:00
metrics.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
modes.go Introduce staged sync (#482) 2020-04-24 17:57:43 +01:00
peer.go core, eth: implement eth/65 transaction fetcher 2020-02-27 17:21:20 +03:00
queue.go eth/downloader: minor typo fixes in comments (#21035) 2020-05-20 15:26:22 +03:00
stagedsync_downloader.go Fix history generation and optimise via pre-sorting in the files (#572) 2020-05-24 15:48:15 +01:00
stagedsync_stage_bodies.go Proper unwinding in the staged sync (#521) 2020-05-06 18:42:10 +01:00
stagedsync_stage_execute.go Fix staged sync issue introduced by LRU caches (#568) 2020-05-22 16:11:00 +01:00
stagedsync_stage_hashcheck.go Fix history generation and optimise via pre-sorting in the files (#572) 2020-05-24 15:48:15 +01:00
stagedsync_stage_indexes_test.go Stages 6 and 7 for generating history indices (#569) 2020-05-23 10:19:56 +01:00
stagedsync_stage_indexes.go Fix history generation and optimise via pre-sorting in the files (#572) 2020-05-24 15:48:15 +01:00
stagedsync_stage_senders.go Stages 6 and 7 for generating history indices (#569) 2020-05-23 10:19:56 +01:00
stagedsync_stages.go Stages 6 and 7 for generating history indices (#569) 2020-05-23 10:19:56 +01:00
stagedsync_test.go Stages 6 and 7 for generating history indices (#569) 2020-05-23 10:19:56 +01:00
testchain_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
types.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00