Commit Graph

231 Commits (6ae6963830a9c1272619d99c0037aa34a9b168ed)

Author SHA1 Message Date
mbaxter 9ee3c5d1da Don't log expected failures as errors (#1054) 6 years ago
Adrian Sutton fec24292f1 Make findSuitablePeer abstract (#1053) 6 years ago
Adrian Sutton 02ec7bebc2 Fix ImportBlocksTask to only request from peers that have at least the chain height it starts requesting from. (#1047) 6 years ago
mbaxter 21cea1b9a2 [PAN-2325] Fix IndexOutOfBoundsException in DetermineCommonAncestorTask (#1038) 6 years ago
Adrian Sutton ae528fc7cb Ensure devp2p ports are written to ports file correctly (#1020) 6 years ago
mbaxter af66eae39f [PAN-2302] Resume world state download from existing queue (#1016) 6 years ago
Adrian Sutton 6a269c5591 [PAN-2372] Consider a world state download stalled after 100 requests with no progress (#1007) 6 years ago
S. Matthew English c76ada2a4e [PAN-2271] Add metrics to Parallel Download pipeline (#985) 6 years ago
Lucas Saldanha 79f46ac592 [PAN-2341] Created SyncStatus notifications (#1010) 6 years ago
Danno Ferrin 5ffb304149 delete the legacy pipelined import chain segment task. (#1003) 6 years ago
Adrian Sutton 2f4945c6f4 Fix benchmark compilation (#980) 6 years ago
Adrian Sutton 9f8d14522e Separate download state tracking from WorldStateDownloader (#967) 6 years ago
Adrian Sutton b6bca68d68 Add WorldStateDownloaderBenchmark. (#972) 6 years ago
Adrian Sutton 27a3631027 Use a single thread to persist downloaded world state nodes (#950) 6 years ago
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