go-ethereum/core/rawdb
Péter Szilágyi 8f66ea3786
eth/downloader: implement beacon sync (#23982)
* eth/downloader: implement beacon sync

* eth/downloader: fix a crash if the beacon chain is reduced in length

* eth/downloader: fix beacon sync start/stop thrashing data race

* eth/downloader: use a non-nil pivot even in degenerate sync requests

* eth/downloader: don't touch internal state on beacon Head retrieval

* eth/downloader: fix spelling mistakes

* eth/downloader: fix some typos

* eth: integrate legacy/beacon sync switchover and UX

* eth: handle UX wise being stuck on post-merge TTD

* core, eth: integrate the beacon client with the beacon sync

* eth/catalyst: make some warning messages nicer

* eth/downloader: remove Ethereum 1&2 notions in favor of merge

* core/beacon, eth: clean up engine API returns a bit

* eth/downloader: add skeleton extension tests

* eth/catalyst: keep non-kiln spec, handle mining on ttd

* eth/downloader: add beacon header retrieval tests

* eth: fixed spelling, commented failing tests out

* eth/downloader: review fixes

* eth/downloader: drop peers failing to deliver beacon headers

* core/rawdb: track beacon sync data in db inspect

* eth: fix review concerns

* internal/web3ext: nit

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2022-03-11 14:14:45 +02:00
..
testdata core/rawdb: avoid unnecessary receipt processing for log filtering (#23147) 2021-09-28 12:54:49 +02:00
accessors_chain_test.go core, eth: improve delivery speed on header requests (#23105) 2021-12-07 17:50:58 +01:00
accessors_chain.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
accessors_indexes_test.go core/rawdb: single point of maintenance for writing and deleting tx lookup indexes (#21480) 2020-09-15 10:37:01 +02:00
accessors_indexes.go core/rawdb: fix logs to print block number, not address (#23328) 2021-08-04 11:10:37 +03:00
accessors_metadata.go eth, les: update unclean shutdown markers regularly (#24077) 2021-12-17 15:18:51 +01:00
accessors_snapshot.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
accessors_state.go core/rawdb: add HasCode, HashTrieNode and use them where possible (#24454) 2022-03-09 00:39:34 +01:00
accessors_sync.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
chain_iterator_test.go core/rawdb: fix transaction indexing/unindexing hashing error (#22457) 2021-03-16 12:15:14 +02:00
chain_iterator.go core, core/rawdb: fix transaction indexing (#24024) 2021-12-06 11:26:03 +01:00
database_test.go eth/protocols/snap: generate storage trie from full dirty snap data (#22668) 2021-04-27 17:19:59 +03:00
database.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
freezer_batch.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer_meta_test.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer_meta.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer_table_test.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer_table.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer_test.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer_utils_test.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer_utils.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
freezer.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00
schema.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
table_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
table.go core/rawdb, cmd, ethdb, eth: implement freezer tail deletion (#23954) 2022-03-10 09:37:23 +01:00