Commit Graph

73 Commits

Author SHA1 Message Date
Dan Laine d69a875039 fix/add unit tests. All pass 2020-06-05 18:03:34 -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
Dan Laine 8f5a6b1db2 remove PutAncestor. Add timeout to GetAncestors. Reduce logging. 2020-06-02 16:20:48 -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
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 bdf9f27f7d Removed memory leak in bootstrapping 2020-05-29 15:03:00 -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
StephenButtolph 9cd8789b3f merged 2020-05-12 14:50:35 -04:00
StephenButtolph f0be1c47dc lowered log level for byz node logging. Added bootstrapping finish logs 2020-05-12 14:26:38 -04:00
StephenButtolph 8e74f1abb6 Cleaned up and tested common.Requests 2020-05-08 21:06:50 -04:00
StephenButtolph 1b722ae5c0 merged 2020-05-08 20:36:05 -04:00
StephenButtolph 0ea445a2d1 Added gossip tests 2020-05-04 02:57:02 -04:00
StephenButtolph 13fbe14d44 Started gossiping thread 2020-05-04 02:44:56 -04:00
StephenButtolph 4a989dc621 Added uniform periodic gossiping 2020-05-04 02:32:10 -04:00
StephenButtolph 456295888a Fixed bootstrapping put container ID error 2020-05-03 18:38:12 -04:00
StephenButtolph 71b2cf9c06 Used vtx.ID rather than trusting the peer 2020-05-03 02:39:08 -04:00
StephenButtolph 9524f0dfcc Fixed same bugs from snowman in avalanche 2020-05-03 02:18:33 -04:00
StephenButtolph 13ea33c42c Added more snowman comments, fixed minor bugs 2020-05-02 02:46:35 -04:00
StephenButtolph 13a8167ceb removed containerID from getFailed messages 2020-05-01 14:45:21 -04:00
StephenButtolph 59e83e6159 wip 2020-04-30 11:57:43 -04:00
StephenButtolph a260eb841f Merge branch 'master' of github.com:ava-labs/gecko into consensus-updates 2020-04-30 00:54:31 -04:00
Stephen Buttolph 34af9fb7f7
Merge branch 'master' into platformvm-proposal-accept 2020-04-28 19:35:13 -04:00
StephenButtolph a3a97b0b0f Finished updating engine comments 2020-04-28 18:39:34 -04:00
StephenButtolph b7e851a491 Merge branch 'platformvm-proposal-accept' into consensus-updates 2020-04-28 17:54:20 -04:00
StephenButtolph 83c5bf39ae Added handling for if bootstrapping partially accepted a block pair 2020-04-28 15:53:36 -04:00
StephenButtolph 71370efb16 updating snowman engine docs 2020-04-28 12:14:54 -04:00