-
Notifications
You must be signed in to change notification settings - Fork 790
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
Snap sync moving root/healing implementation #3332
Open
scorbajio
wants to merge
63
commits into
master
Choose a base branch
from
snap-sync-moving-root
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,142
−957
Open
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
ff41a35
Add updateRoot method to fetchers
6c00e9c
Update the fetcher roots in syncWithPeer if fetcher already exists
74f0adc
Merge branch 'master' into snap-sync-moving-root
scorbajio 8990b1f
Merge branch 'master' of https://github.com/ethereumjs/ethereumjs-mon…
dd21e73
Update fetcher roots on FCUs
9932c21
Merge branch 'master' of https://github.com/ethereumjs/ethereumjs-mon…
628135e
Merge branch 'snap-sync-moving-root' of https://github.com/ethereumjs…
19adeea
Call syncWithPeer directly from buildHeadState for updating root
1e1b1cc
Keep track of requested pathStrings to remove duplicate requests in T…
92ecef8
Merge branch 'master' into snap-sync-moving-root
scorbajio 8077f4d
Fix test
6a2b266
Client -> Peer: add lastEthStatusUpdate property to Peer, set initial…
holgerd77 4dd9bf8
Redo handshake in client peer pool periodically, add force option to …
holgerd77 e268f9a
Some basic refinement of peer pool periodic request logic (refactor p…
holgerd77 b053277
Client: consolidate latest() method in base Synchronizer class
holgerd77 72a28d1
Client: add preparatory updatedBestHeader to Peer, refactor latest() …
holgerd77 f29c3c6
Client: add potential best header num differentiated logic to Peer, l…
holgerd77 6ea23b0
Client: add Fetcher hack to call peer.latest()
holgerd77 fabf53c
Various cleanups
holgerd77 ccf9366
Client: Fix lightsync.spec.ts tests
holgerd77 4cd01aa
Some clean-ups
holgerd77 5777c42
Client: Fix beaconsync.spec.ts tests
holgerd77 9ea28d8
Client: Fix fullsync.spec.tst tests
holgerd77 9a6ae27
Client: Fix snapsync.spec.ts tests
holgerd77 5c42d73
Client: Fix fetcher tests
holgerd77 9e60a09
Client: Fix eth syncing.spec.ts tests
holgerd77 d6c2a6c
Client: Fix integration tests
holgerd77 58cb2b4
Client: Backup lightsync integration tests (lightsync not supported a…
holgerd77 c53fa4b
Lightsync tests deprecation note
holgerd77 20bf36f
Merge remote-tracking branch 'origin/master' into client-add-mechanis…
acolytec3 fe9a4ec
Make lightsync tests run (but fail)
acolytec3 0117083
Merge branch 'master' into client-add-mechanism-to-redo-peer-handshak…
scorbajio 694211e
Merge branch 'client-add-mechanism-to-redo-peer-handshake-for-status-…
d8028eb
Receive peer updates only in request function of fetchers
52d1f6e
Update fetcher roots on new latestHeader
2f88a6b
Merge branch 'snap-sync-moving-root' of https://github.com/ethereumjs…
560de58
Merge branch 'master' of https://github.com/ethereumjs/ethereumjs-mon…
9eb92a8
Merge branch 'master' of https://github.com/ethereumjs/ethereumjs-mon…
a1da2e6
Merge branch 'master' into snap-sync-moving-root
scorbajio d469538
Latest changes for integrating updated roots from latest function
scorbajio 6488935
Merge branch 'master' into snap-sync-moving-root
scorbajio 87ee2aa
fix linting issue
scorbajio d678d20
Merge branch 'snap-sync-moving-root' of github.com:ethereumjs/ethereu…
scorbajio 50fb30b
Move over to getting latest in request function of relevant fetchers
scorbajio b6c02c4
Remove root field from fetcher classes that use the root in the flags…
scorbajio 1cd9315
Remove unused parameter inputs
scorbajio 591762e
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
scorbajio 9c8495f
Fix import and usage of proof function
scorbajio 20db364
Do not set fetcherDoneFlags.stateRoot on FCU root updates
scorbajio edd0866
Update storageFetcher to track root and height of each request create…
scorbajio dca3e3f
Add constant for lookback window and debug
scorbajio 3e8a1e4
debug, fix and get the snapsync sim working on dencun
g11tech 9a3b14c
Add heal cycle repeat flag
scorbajio 9395829
Make repeats accurate
scorbajio a73b659
Remove unused field
scorbajio 4058a27
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
scorbajio 98808b5
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
scorbajio e26989f
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
scorbajio b5ede5e
Setup connect script for debugging devp2p payloads with live client
scorbajio b2f471a
Get connection established
scorbajio 15f8906
Add capability to send message to live peer
scorbajio a17fe93
Add payload encoding to connect script
scorbajio c3946da
Merge branch 'master' of github.com:ethereumjs/ethereumjs-monorepo in…
scorbajio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function with this case would/should anyway be called when heal phase completed successfully