Commit Graph

236 Commits (5b6f2b71317e9b57487a4c48276e4705a58856d0)

Author SHA1 Message Date
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
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
Adrian Sutton 062db19a9c [NC-1344] Add GetReceiptsFromPeerTask (#598) 6 years ago
Adrian Sutton 05895495cc Add GetNodeDataFromPeerTask. (#597) 6 years ago
Adrian Sutton 4f64725411 [NC-1337] Support responding to GetNodeData requests. (#587) 6 years ago
Adrian Sutton c6f2c5901a Add getNodeData to EthPeer to enable requesting node data as part of fast sync. (#589) 6 years ago
Adrian Sutton ccf0e0958e Revert "Add timer metrics for EVM operations (#551)" (#590) 6 years ago
Adrian Sutton aa9f4a0231 Add timer metrics for EVM operations (#551) 6 years ago
Adrian Sutton c9e1f0a3ae [NC-2099] Avoid duplicate import of announced blocks (#550) 6 years ago
mbaxter 3f31db8645 [NC-2056] Remove vertx from discovery tests (#539) 6 years ago