Commit Graph

136 Commits

Author SHA1 Message Date
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
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
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
Dan Laine 9ea32f8236 fix comment 2020-06-04 09:54:04 -04:00
Dan Laine 37d5877a07 change ordering of network commands for backwards compatibility. Improve logs. Fix ancestorBytesLen initialization 2020-06-04 09:52:44 -04:00
Dan Laine 654f1c103b address (almost all) PR comments...still need to do final pass 2020-06-03 19:04:29 -04:00
aaronbuchwald 5d67251487
Optimize bubble votes in avalanche with vertex heap (#47) 2020-06-03 14:07:44 -04:00
Dan Laine 8f5a6b1db2 remove PutAncestor. Add timeout to GetAncestors. Reduce logging. 2020-06-02 16:20:48 -04:00
StephenButtolph 1daaa5fdaa Added bootstrap fetching finished notification 2020-06-02 14:57:38 -04:00
Dan Laine 00868d2a11 add multiput message which is sent in response to GetAncestors 2020-06-02 14:07:20 -04:00
Dan Laine e783af7fa7 revert to single-threaded model because multi-threaded model isn't safe 2020-06-02 08:42:52 -04:00
StephenButtolph cd669a3d98 Added bootstrapping notifications to VMs 2020-06-01 23:24:21 -04:00
Dan Laine 91771359ae log formatting 2020-06-01 17:41:35 -04:00
Dan Laine 0ec05641fd use thread-based model for avalanche bootstrapping. seems to work but untested. 2020-06-01 17:32:29 -04:00
Dan Laine 9e249ca786 add GetAncestors and PutAncestor message types. Update interfaces. TODO: Implement the interfaces 2020-06-01 10:26:12 -04:00
StephenButtolph 07656c7c23 Require for reissued transactions to be orphans 2020-05-31 00:03:55 -04:00
StephenButtolph dedc3b20a6 Added shutdown timeouts 2020-05-29 18:32:17 -04:00
StephenButtolph 18e1a5ca4f await chain shutdowns correctly 2020-05-29 18:08:44 -04:00
StephenButtolph bdf9f27f7d Removed memory leak in bootstrapping 2020-05-29 15:03:00 -04:00
StephenButtolph 312e17bfb3 Fixed deadlock issue 2020-05-29 12:13:05 -04:00
StephenButtolph 6318186848 wip currently has a deadlock error 2020-05-28 23:48:08 -04:00
StephenButtolph 855d15ec09 Updated log levels for bootstrapping 2020-05-26 16:02:41 -04:00
StephenButtolph 6d82e63ad8 Added errors to block jobs 2020-05-26 15:16:23 -04:00
StephenButtolph e57219a648 Merged bootstrapping error handling 2020-05-26 13:57:42 -04:00
StephenButtolph 537e72714f Added returned errors to Accept and Reject in decidables 2020-05-26 13:25:34 -04:00
StephenButtolph 6071672e4d minor code cleanup 2020-05-25 22:18:43 -04:00
Dan Laine 0a28f16cbe periodically print bootstrap progress to log. don't fetch ancestry of same vertex multiple times 2020-05-22 17:41:47 -04:00
StephenButtolph 896cafdcbb debugging utxo error 2020-05-20 11:37:01 -04:00
StephenButtolph 136a2559f0 commented the requests structs 2020-05-12 15:50:53 -04:00
StephenButtolph b291ddaa91 lowered log level for byz node logging 2020-05-12 15:18:02 -04:00