erigon-pulse/cmd
ledgerwatch 5834189019
Bodies download and simplify header download (#1471)
* Only insert hard-coded tips if both DB and files recovery failed

* Prevent deadlock

* Report some efficiency numbers

* Count properly unrequested bodies

* Initialise allRequests

* Increase timeout

* Fixes to scheduling

* Small fix

* Simplified scheduling

* Remove separate bodyLoop goroutine

* Update from DB at the beginnig of block bodies forward

* Timeout for repeating the request cycle

* Fix timeout

* Fix

* Increase timeout

* Increase timeout

* Try to make flow if possible

* Fix flow

* Lower timeout

* timeout for each blockNum

* Adjustable timeout

* Better log timing

* Track peers

* copy peerID

* fix scheduling

* Too much logging

* Print delivery speed

* Print committed blocks

* Fix race

* Sentry to only reset back-off timer when response to a request is received

* Print bytes/sec and wasted traffic

* Fix bandwidth accounting

* Less logging

* not to wake up on deliveries

* Spam every second

* Print peer map

* Fix npe, print requests

* Timestamps

* Improved logging

* Penalty for peers

* Log penalties only when disconnecting

* Try with smaller window

* window parameter

* Dealing with partially delivered requests

* Init bodyReq

* Fix array index

* More fix for NPE

* More NPE checks

* Print out body progress and header progress

* Fix ending condition

* Bring back waking up and penalties

* Fix duplicate tip

* Duplicate segment

* Fix lint

* Fix lint

* fix lint

* Fix lint

* Hard coded headers in the source files

* Fix lint

* Replace hix-sized header serialisation with rlp (to support clique)

* Remove anchor records from the files

* Fixeds for DB recovery

* Fix compilation

* Fix compile errors

* Fix formatting

* Fix lint

* Fix comments

* Remove headerLoop

* Properly terminate body download

* Support for StatusData p2p proto

* Fix forkid test

* Fix test

* Fix lint

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-02-08 09:25:10 +00:00
..
abidump post-merge fixups 2020-02-27 17:22:25 +03:00
abigen Rpcdaemon as lib (#940) 2020-08-19 12:46:20 +01:00
bootnode cmd/bootnode,internal/debug: fix some comments (#21623) 2020-10-26 17:16:00 +01:00
checkpoint-admin Fixes 'too many other files opened' problem with Generate Storage History stage on Mac (#1217) 2020-10-10 22:15:07 +01:00
clef accounts, signer: implement gnosis safe support (#21593) 2020-10-26 17:16:00 +01:00
devp2p post-rebase fixes 2020-12-03 18:59:17 +01:00
ethkey geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
evm further cleanup, unit tests for RPC daemon and tracing improvements (#1392) 2020-12-09 18:24:08 +00:00
hack Bodies download and simplify header download (#1471) 2021-02-08 09:25:10 +00:00
headers Bodies download and simplify header download (#1471) 2021-02-08 09:25:10 +00:00
integration make_history_check_optional (#1467) 2021-02-05 16:46:43 +07:00
p2psim node: refactor package node (#21105) 2020-08-14 16:33:59 +02:00
pics further cleanup, unit tests for RPC daemon and tracing improvements (#1392) 2020-12-09 18:24:08 +00:00
prometheus Mdbx v0.9.2 (#1373) 2020-11-28 14:26:28 +00:00
puppeth all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-12-03 17:37:38 +01:00
restapi State cache switching writes to reads during commit (#1368) 2020-12-08 09:44:29 +00:00
rlpdump Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
rpcdaemon Implementation of debug_traceCall, add stateDiff to trace_call (#1442) 2021-01-18 11:13:19 +00:00
rpctest Implementation of debug_traceCall, add stateDiff to trace_call (#1442) 2021-01-18 11:13:19 +00:00
snapshots lmdb: move fsync inside commit (#1433) 2021-01-04 08:17:18 +00:00
state Remove hashed changesets (#1464) 2021-02-04 12:59:04 +03:00
tester geth-1.9.23: post-rebase fixups 2020-10-26 17:16:00 +01:00
tg Integrate Silkworm execution (#1344) 2020-11-28 15:08:02 +00:00
tgcustom WIP trace_call implementation (#1399) 2020-12-14 11:27:52 +00:00
utils further cleanup, unit tests for RPC daemon and tracing improvements (#1392) 2020-12-09 18:24:08 +00:00