Commit Graph

102 Commits

Author SHA1 Message Date
Dan Laine c4605b2f2b add IsBootstrapped method to engine and chain manager 2020-06-24 16:49:11 -04:00
StephenButtolph 481f3c41ec removed duplicated call 2020-06-24 12:01:45 -04:00
Dan Laine c0629af46e add comments 2020-06-24 09:51:34 -04:00
StephenButtolph 63ea29064d Added some more numbers to interesting logs in bootstrapping 2020-06-23 21:07:35 -04:00
StephenButtolph 26edbc5e6e cleaned up avalanche bootstrapping 2020-06-23 19:57:44 -04:00
StephenButtolph 16f006edc9 Removed no longer upheld invariant 2020-06-23 19:43:03 -04:00
StephenButtolph 8c7934515c removed mutually recursive functions for fetching 2020-06-23 19:41:22 -04:00
StephenButtolph 561e021e67 Merge branch 'denali' into limit-outstanding-requests 2020-06-23 19:19:19 -04:00
Dan Laine 55079aa893 add CappedList for ids.Set and use it in fetchANeededVtx 2020-06-23 15:01:55 -04:00
StephenButtolph d2573be25f Added duration metrics 2020-06-21 20:00:54 -04:00
StephenButtolph 7a2a7f0add fixed polls metrics 2020-06-21 19:44:35 -04:00
StephenButtolph b0ad887a42 refactored polls into their own sub package 2020-06-21 19:38:24 -04:00
Dan Laine 4d4a073d60 only have 15 outstanding GetAncestors at a time during bootstrapping to not flood the network 2020-06-19 17:57:47 -04:00
Stephen Buttolph 2e13c33f23
Merge pull request #86 from ava-labs/bootstrap-process-list
Bootstrap process list
2020-06-19 16:36:45 -04:00
Dan Laine 7c05353d3d skip unneccessary parse 2020-06-19 16:33:33 -04:00
Dan Laine 245f13ea65 add stripeDistance and stripeWidth 2020-06-19 16:29:27 -04:00
StephenButtolph 534ef0bffc Merge branch 'denali' into improve-memory 2020-06-19 13:30:55 -04:00
Aaron Buchwald 28a313becf
Fix param attribute access 2020-06-19 13:02:28 -04:00
Dan Laine 8b75abdee0 cache only contains vertices at height 5000, 10000, etc. 2020-06-19 12:18:20 -04:00
StephenButtolph 006ff75149 improve leveldb batch usage and pointer releasing in caches 2020-06-19 11:02:38 -04:00
Aaron Buchwald a3d3ef4787 Change ForceAccepted to process list of already stored vtxs 2020-06-18 14:49:38 -04:00
Stephen Buttolph e8114cd814
Merge branch 'master' into bootstrap-heap 2020-06-17 20:58:45 -04:00
Dan Laine 15898c4ac2 style fix 2020-06-17 20:41:02 -04:00
Dan Laine f0cd642c2d move cache check out of loop 2020-06-17 20:35:28 -04:00
StephenButtolph 9a43e1222b added tests 2020-06-17 20:31:13 -04:00
Dan Laine f4a789b433 use heap in bootstrapping to reduce amount of work done. Move cache check to reduce memory allocations. 2020-06-17 20:15:42 -04:00
Dan Laine 4da1ce58fb patch for bug that caused bootstrapping to never finish 2020-06-17 19:42:11 -04:00
StephenButtolph 3d6fff70e0 nits to clean up the PR 2020-06-16 23:53:19 -04:00
Stephen Buttolph 19d871538e
Merge branch 'master' into polls-early-termination 2020-06-16 23:29:35 -04:00
StephenButtolph 8ec2862c04 Merge branch 'master' of github.com:ava-labs/gecko-internal 2020-06-16 23:08:29 -04:00
StephenButtolph 181bd76b10 Merge branch 'master' of github.com:ava-labs/gecko 2020-06-16 23:08:17 -04:00
Aaron Buchwald aab8f5f3d4 Implement early termination case for avalanche polling 2020-06-16 19:29:08 -04:00
StephenButtolph 52b6c1df21 merged 2020-06-16 16:35:13 -04:00
StephenButtolph 11f66e1394 merged 2020-06-16 14:17:47 -04:00
Aaron Buchwald 0fdddae9fc
Optimize DAG traversal in insertFrom 2020-06-16 11:53:57 -04:00
StephenButtolph 426fac9b10 Fixed duplicated logging errors 2020-06-10 02:41:58 -04:00
Dan Laine 3a4ffb4850 lower log level for gossiped put messages 2020-06-08 20:30:03 -04:00
StephenButtolph acd44dacb8 fixed compile time error 2020-06-08 11:36:04 -04:00
StephenButtolph 2b305b0eca processed -> fetched 2020-06-08 11:21:32 -04:00
StephenButtolph 22d63033ba weight based on the beacons rather than the validators 2020-06-08 11:13:15 -04:00
StephenButtolph 921cca2ce1 Improved X-chain bootstrapping 2020-06-08 03:10:14 -04:00
StephenButtolph 11520fa704 merged 2020-06-07 01:08:53 -04:00
StephenButtolph 4ac34ad296 nits 2020-06-06 23:52:44 -04:00
StephenButtolph aab9005d68 fixed tests 2020-06-06 12:23:54 -04:00
StephenButtolph e7e446f962 Merge branch 'improved-diagnostics' into network-upgrade 2020-06-06 11:47:58 -04:00
Dan Laine d69a875039 fix/add unit tests. All pass 2020-06-05 18:03:34 -04:00
StephenButtolph 041f60c91d wip 2020-06-05 16:18:30 -04:00
Dan Laine 18f3bad499 address PR comments 2020-06-04 12:48:39 -04:00
Dan Laine 9ff44359ab update termination condition for bootstrapping 2020-06-04 11:10:40 -04:00
Dan Laine 79a8c21457 add comments. add GetAncestorsFailed to router/sender 2020-06-04 10:54:26 -04:00