Commit Graph

82 Commits (deb7b3582a61dd53ed675be87b3dd5b2d4f68f3e)

Author SHA1 Message Date
S. Matthew English b4e6784e40 [PAN-2198] Update GetNodeDataFromPeerTask to return a map (#931) 6 years ago
mbaxter 1b0a749ca6 [PAN-2312] Validate DAO block (#939) 6 years ago
S. Matthew English ccb30641fa Incremental Optimization(s) on BlockBroadcaster (#911) 6 years ago
Adrian Sutton 15b99e2752 When picking fast sync pivot block, use the peer with the best total difficulty, not the highest chain. (#899) 6 years ago
S. Matthew English 7bcaff60cc Unit tests of BlockBroadcaster (#887) 6 years ago
mbaxter 705bebad9b Reorganize eth tasks (#890) 6 years ago
S. Matthew English f7849ac06e [NC-2058] Improve block propagation time (#808) 6 years ago
Adrian Sutton bf710da941 Add metrics for EthScheduler executors (#878) 6 years ago
mbaxter 1da0008666 [PAN-2305] Detect stalled world state downloads (#875) 6 years ago
mbaxter 33e9f0e508 [PAN-2196] Implement world state cancel (#867) 6 years ago
Adrian Sutton bbcfbeac9e Select new pivot block when world state becomes unavailable (#869) 6 years ago
mbaxter 60b0137368 Fix state download race condition by creating a TaskQueue API (#853) 6 years ago
Adrian Sutton 556877209e Disconnect peers where the common ancestor is before our fast sync pivot (#862) 6 years ago
Adrian Sutton 913c950276 Fix NullPointerException - complete future with fast sync state not null. (#859) 6 years ago
Adrian Sutton 90c4a925aa Tidy-up FastSyncState persistence (#845) 6 years ago
Adrian Sutton 38af7b0512 Support resuming fast-sync downloads (#848) 6 years ago
Adrian Sutton 9da64ef6e5 Store pivot block header once it's downloaded. (#836) 6 years ago
Adrian Sutton 0f2d7d7c65 Speed up shutdown time (#838) 6 years ago
Adrian Sutton b87df9281d Handle unavailable world states (#824) 6 years ago
Adrian Sutton c996907e55 Add metrics to world state downloader to track number of pending requests, total requests completed and total requests retried. (#837) 6 years ago
Adrian Sutton 77581bcdfb Attempt to fix intermittency in FullSyncDownloaderTest (#830) 6 years ago
Adrian Sutton 42088311a6 When a new block message is received, update the peer's chain head to be the parent block, not the received block. (#819) 6 years ago
Danno Ferrin 60a828b5f0 Peer disconnects should not result in stack traces. (#818) 6 years ago
mbaxter c4f0cb4d52 [NC-2195] Commit world state continuously (#809) 6 years ago
Danno Ferrin 9f7e74a459 [NC-2236] Parallel Block importer (#774) 6 years ago
Adrian Sutton 2064f97bbd [NC-2268] Handle partial responses to get receipts requests (#801) 6 years ago
mbaxter 66c2b13a12 [NC-2200] Update WorldStateDownloader to only filter out known code requests (#777) 6 years ago
Adrian Sutton b5934a428b Avoid requesting empty block bodies from the network. (#802) 6 years ago
Adrian Sutton adb930fba2 Apply a limit to the number of responses in RespondingEthPeer.respondWhile so tests don't hang forever when the condition isn't met. (#803) 6 years ago
Danno Ferrin aaeaa59f31 Upgrade GoogleJavaFormat to 1.7 (#795) 6 years ago
Adrian Sutton ad7c5fb54f [NC-2233] Randomly perform full validation when fast syncing blocks (#770) 6 years ago
Adrian Sutton 9249c9aa2e [NC-2180] Wait for a peer with an estimated chain height before selecting a pivot block (#772) 6 years ago
Danno Ferrin 1135e539e8 EthScheduler additions (#767) 6 years ago
Adrian Sutton 234a97d81c Add tests for FastSyncChainDownloader as a whole. (#758) 6 years ago
Adrian Sutton 87685b1983 Fix FastSyncCheckpointHeaderManager to ensure that the first checkpoint header, if present, is always the common ancestor. (#750) 6 years ago
mark-terry 52d6675f63 [FIX] Refactored permissioning components to be Optional. (#747) 6 years ago
Adrian Sutton da651844d8 Handle timeouts when requesting checkpoint headers correctly. (#743) 6 years ago
Adrian Sutton 2d62a2c520 Handle validation failures when fast importing blocks (#741) 6 years ago
mbaxter b39731fa95 Add serialization functionality to NodeDataRequest (#724) 6 years ago
Adrian Sutton 254661683b [NC-2138] Complete fast sync chain download (#701) 6 years ago
Adrian Sutton f58d995d74 [NC-2138] Implement chain download for fast sync (#690) 6 years ago
Rob Dawson 9038c1ac3e Fixed Difficulty calculator (#663) 6 years ago
Adrian Sutton b4638ea1d1 Integrate actual WorldStateDownloader with the fast sync work flow. (#682) 6 years ago
Adrian Sutton 3249bbfbd3 [NC-2138] Extract out generic parts of Downloader (#659) 6 years ago
Adrian Sutton bf560eb08e [NC-2137] Add world state and chain download into fast sync workflow (#658) 6 years ago
mbaxter 38eb6f2f53 Update WorldStateDownloader run() interface to accept header (#677) 6 years ago
mbaxter 055785b7e3 [NC-1344] Create a simple WorldStateDownloader (#657) 6 years ago
Adrian Sutton b3e64c4f7c [NC-1273] Consider peer count insufficient until minimum peers for fast sync are connected (#629) 6 years ago
Adrian Sutton 069b2393a9 [NC-1273] Start of fast sync downloader (#613) 6 years ago
mbaxter 1e52967fc9 Remove db package and move classes to more appropriate locations (#599) 6 years ago