Commit Graph

985 Commits (4d59b10c6abf10220a351c43dc69fcbbd0608dc2)

Author SHA1 Message Date
S. Matthew English b86b1422ff [MINOR] Eliminate redundant header validation (#943) 6 years ago
mbaxter d436d5f0bd [MINOR] Move metric instantiation (#896) 6 years ago
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
Adrian Sutton eb3fca256c Propagate new block messages to other clients in a separate thread, not the netty processing thread. (#928) 6 years ago
Danno Ferrin 5effe956ee Do parallel extract signatures in the parallel block importer. (#844) 6 years ago
Adrian Sutton c4a0d69af9 Fix potential stall in world state download. (#922) 6 years ago
Danno Ferrin 4404cac632 Parallel downloader should stop on puts if requested. (#927) 6 years ago
Trent Mohay de56bcde42 Ibft notifies EthPeer when remote node has a better block (#849) 6 years ago
Adrian Sutton b1b72010f8 Reduce "Received transactions message" log from debug to trace since it's completely routine. (#919) 6 years ago
Adrian Sutton 2a24b2bae4 Increment completed request count when we complete the request using local data. (#914) 6 years ago
S. Matthew English ccb30641fa Incremental Optimization(s) on BlockBroadcaster (#911) 6 years ago
Adrian Sutton 768293385f Process world state download data on a worker thread (#898) 6 years ago
Adrian Sutton d00ebf4521 Halt the chain download when the future is cancelled (or otherwise completed). (#901) 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
Adrian Sutton 1c634dd885 Add metric to expose number of inflight world state requests. (#906) 6 years ago
Adrian Sutton 1e460157e8 Fix task queue so that the updated failure count for requests is actually stored. (#893) 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
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