Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

les: remove obsolete code related to PoW header syncing #27737

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

zsfelfoldi
Copy link
Contributor

This PR removes PoW header syncing related code from les and also deletes duplicated packages catalyst, downloader and fetcher.

@karalabe
Copy link
Member

Now that's an agressive PR. I like!

@fjl fjl merged commit d4d88f9 into ethereum:master Jul 17, 2023
@fjl fjl added this to the 1.12.1 milestone Jul 17, 2023
@s1na s1na mentioned this pull request Aug 7, 2023
meowsbits added a commit to etclabscore/ethereum.go-ethereum that referenced this pull request Aug 31, 2023
…reum#27737)"

This reverts commit d4d88f9.

On branch etc-lite-patch-dev_with-reverts-from-chris
Changes to be committed:
      modified:   cmd/geth/main.go
      modified:   cmd/utils/flags.go
      modified:   eth/ethconfig/config.go
      modified:   eth/ethconfig/gen_config.go
      modified:   les/api_backend.go
      modified:   les/api_test.go
      new file:   les/catalyst/api.go
      new file:   les/catalyst/api_test.go
      modified:   les/client.go
      modified:   les/client_handler.go
      new file:   les/downloader/api.go
      new file:   les/downloader/downloader.go
      new file:   les/downloader/downloader_test.go
      new file:   les/downloader/events.go
      new file:   les/downloader/metrics.go
      new file:   les/downloader/modes.go
      new file:   les/downloader/peer.go
      new file:   les/downloader/queue.go
      new file:   les/downloader/queue_test.go
      new file:   les/downloader/resultstore.go
      new file:   les/downloader/statesync.go
      new file:   les/downloader/testchain_test.go
      new file:   les/downloader/types.go
      new file:   les/fetcher.go
      new file:   les/fetcher/block_fetcher.go
      new file:   les/fetcher/block_fetcher_test.go
      new file:   les/fetcher_test.go
      modified:   les/handler_test.go
      modified:   les/odr_test.go
      modified:   les/peer.go
      new file:   les/pruner.go
      new file:   les/pruner_test.go
      modified:   les/request_test.go
      modified:   les/retrieve.go
      new file:   les/sync.go
      new file:   les/sync_test.go
      modified:   les/test_helper.go
      new file:   les/ulc.go
      new file:   les/ulc_test.go

Changes not staged for commit:
      modified:   tests/testdata (new commits)
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
This change removes PoW header syncing related code from LES and also deletes 
duplicated packages les/catalyst, les/downloader and les/fetcher. These package copies
were created because people wanted to make changes in their eth/ counterparts, but weren't
able to adapt LES code to the API changes.
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants