Commit Graph

164 Commits

Author SHA1 Message Date
StephenButtolph 84c4e30937 formatting update 2020-06-18 00:30:15 -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
Stephen Buttolph d3d6471a2a
Merge branch 'master' into lower-gossip-logs 2020-06-16 23:04:58 -04:00
Aaron Buchwald aab8f5f3d4 Implement early termination case for avalanche polling 2020-06-16 19:29:08 -04:00
Stephen Buttolph 8fe8586dab
Merge branch 'master' into lower-gossip-logs 2020-06-16 16:35:28 -04:00
StephenButtolph 52b6c1df21 merged 2020-06-16 16:35:13 -04:00
Stephen Buttolph 89ab9fce4b
Merge branch 'master' into set-cache 2020-06-16 16:28:31 -04:00
StephenButtolph ad130e848e merged 2020-06-16 16:10:45 -04:00
Dan Laine 4ecd92efba add minimum size to uniqueBag and Requests 2020-06-16 15:43:30 -04:00
Dan Laine 191cd48593 add minimum map size to Blocker 2020-06-16 15:34:34 -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 c3c9cec1ea updated new messages to match new logging format 2020-06-15 15:51:12 -04:00
StephenButtolph e4a0e73155 merged router + added optimization around failed gets 2020-06-15 15:43:59 -04:00
StephenButtolph 960377e2b4 cleaned up imports 2020-06-11 18:08:42 -04:00
StephenButtolph f52d0c29bd Register a timeout for querying ourselves to ensure we never drop a query 2020-06-11 18:00:21 -04:00
StephenButtolph 74628bd8c9 fixed race condition in the subnet-router. Need to better handle failed timeouts 2020-06-10 04:03:21 -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 367b5c30db Removed potential deadlock in registering a new chain 2020-06-08 04:05:50 -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 b6ab0891a3 defined vertex height 2020-06-06 11:54:31 -04:00
Dan Laine 9e74fdf15d improve network logging 2020-06-06 11:48:13 -04:00
StephenButtolph e7e446f962 Merge branch 'improved-diagnostics' into network-upgrade 2020-06-06 11:47:58 -04:00
StephenButtolph df05169d20 Added per consensus engine handling metrics 2020-06-06 11:41:17 -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 9487340729 lower log level for gossip 2020-06-04 17:50:01 -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
Dan Laine 14480a24dc improve logging and lowercase log messages 2020-06-04 10:29:19 -04:00
Dan Laine 3b2fdb3acd fix log formatting 2020-06-04 10:00:29 -04:00
Dan Laine efdce85f24 update counter variable name for clarity 2020-06-04 09:58:14 -04:00
Dan Laine 346ba7563a fix termination condition of snowman GetAncestors 2020-06-04 09:56:21 -04:00