erigon-pulse/docs/programmers_guide
ledgerwatch 5aab794c9b
Headers poc 4 - intermediate changes (#1125)
* Process BlockHeadersMsg

* Print invalidations

* Print reason for parent-child mismatch

* Fix off by one error

* Fix ExtendDown

* Replace tipLimiter with an LRU cache

* Retrieve 256 headers at a time

* Hard coding of tips, process new block hashes

* extract headers

* Write hard-coded headers into a file

* Add total difficulty

* Insert hard coded headers

* Log i

* Initiate download from hard-coded anchors

* Print the state of anchors

* Add hard-coded headers as tips

* Spare the peers

* Refine LRU caching of tips

* Print length of anchor trees

* Limit requests to 192 headers

* range error fix

* Print better, retain at least one tip in the LRU cache

* Skip duplicate line ends

* Throttle requests, display peer name

* Back off, intermediate tip queue

* Print block header timestamp

* Better logging

* Log less

* More logging of evictions

* Fix queue push

* Fix queue pop

* Exclude duplicate tips

* Fix tips logging

* Fix moving

* Add port flag

* Check headers

* Print extra

* Add mixDigest to serialisation

* Fix difficulty in hard-coded headers

* Avoid duplicate header requests

* Update peer characteristics on NewBlockMsg

* Remove backoff when peer responds

* Fix tests

* Fix lint

* Fix lint
2020-09-20 10:47:24 +01:00
..
.gitignore Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0_AccountChanges.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0_BlockBodies.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0_HeaderNumbers.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0_Headers.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0_HistoryOfAccounts.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0_PlainState.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0_Receipts.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_0.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_AccountChanges.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_BlockBodies.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_HashedState.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_HeaderNumbers.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_Headers.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_HistoryOfAccounts.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_PlainState.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_Receipts.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_Senders.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_SyncProgress.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1_TransactionIndex.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
changes_1.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
db_walkthrough.MD Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
geth_changes_0_b_5.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
geth_changes_0_hashes_0.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
geth_changes_0.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
geth_changes_1_b_4.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
geth_changes_1_hashes_5.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
geth_changes_1.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
guide.md Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
header_download_1.png Header download spec - first draft (#879) 2020-08-06 15:37:41 +01:00
header_download_2.png Headers PoC - intermediate changes (#1016) 2020-08-31 06:27:51 +01:00
header_download_3.png Headers PoC - intermediate changes (#1016) 2020-08-31 06:27:51 +01:00
header_download_4.png Headers PoC - intermediate changes (#1016) 2020-08-31 06:27:51 +01:00
header_download.md Headers poc 4 - intermediate changes (#1125) 2020-09-20 10:47:24 +01:00
hex_palette.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
indices.md Docs for Cursors and KV (#1046) 2020-09-05 14:26:24 +07:00
prefix_groups_1.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
prefix_groups_2.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
prefix_groups_3.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
prefix_groups_4.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
prefix_groups_5.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
prefix_groups_6.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
prefix_groups_7.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
prefix_groups_8.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
processing_blocks.png Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
processing.png Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
state_0.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
state_2.png Gen new images for docs (#1038) 2020-09-03 13:06:32 +07:00
witness_formal_spec.md Formal semantics: more instructions (#366) 2020-02-17 19:56:30 +03:00
witness_format.md add incarnation to HashBuilder (#318) 2020-01-15 15:12:33 +01:00