Commit Graph

964 Commits (0e76000d2739d236738aa34dbe456375d4ae89e3)

Author SHA1 Message Date
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
Adrian Sutton 8df9a9622b Ensure exceptions in suppliers passed to EthScheduler are propagated to the returned CompletableFuture. (#884) 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
Adrian Sutton 463fc3994e Introduce FutureUtils to reduce duplicated code around CompletableFuture (#868) 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
S. Matthew English aae9f5f90c [NC-2058] initial scaffolding re block propagation (#860) 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 e09461944e Make default pivot distance from head much closer to the chain head to reduce the chance of pruning limiting it's availability before it's completed. (#847) 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
Danno Ferrin a18f1663c6 shutdown improvements (#841) 6 years ago
Adrian Sutton f6bb1b2279 Log errors that occur while finding a common ancestor (#814) 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 96dfc5aa30 Move ethTaskTimer to abstract root (#775) 6 years ago
mbaxter 494640ecbc [NC-2207] Integrate rocksdb-based queue into WorldStateDownloader (#746) 6 years ago
Danno Ferrin 1135e539e8 EthScheduler additions (#767) 6 years ago
Adrian Sutton 8ca6181001 Fix thread names in EthScheduler to include the thread number. (#755) 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
Danno Ferrin 8d3fb7e4ae Eth/63 labels (#764) 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