-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Client: New Mechanism to Keep Peer Latest Block Updated (#3354)
* Client -> Peer: add lastEthStatusUpdate property to Peer, set initially on protocol binding, small local refactor * Redo handshake in client peer pool periodically, add force option to sendStatus for devp2p protocols * Some basic refinement of peer pool periodic request logic (refactor preparation) * Client: consolidate latest() method in base Synchronizer class * Client: add preparatory updatedBestHeader to Peer, refactor latest() to move from Sync -> Peer * Client: add potential best header num differentiated logic to Peer, latest() call on peers in peer pool * Client: add Fetcher hack to call peer.latest() * Various cleanups * Client: Fix lightsync.spec.ts tests * Some clean-ups * Client: Fix beaconsync.spec.ts tests * Client: Fix fullsync.spec.tst tests * Client: Fix snapsync.spec.ts tests * Client: Fix fetcher tests * Client: Fix eth syncing.spec.ts tests * Client: Fix integration tests * Client: Backup lightsync integration tests (lightsync not supported anymore) * Lightsync tests deprecation note * Make lightsync tests run (but fail) * Client: Removed doubled lightsync integration test file --------- Co-authored-by: acolytec3 <[email protected]> Co-authored-by: Scorbajio <[email protected]>
- Loading branch information
1 parent
02e8054
commit 46d09ca
Showing
29 changed files
with
327 additions
and
143 deletions.
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
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
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.