Commit Graph

41 Commits

Author SHA1 Message Date
StephenButtolph a61d1638a3 only log to info based on the beacons 2020-06-23 20:58:35 -04:00
StephenButtolph be6be7ae1c reverted breaking changes 2020-06-18 01:45:58 -04:00
StephenButtolph 29fc15a8f9 merged 2020-06-16 23:13:05 -04:00
StephenButtolph 7feb0c335e merged 2020-06-16 16:45:41 -04:00
StephenButtolph 52b6c1df21 merged 2020-06-16 16:35:13 -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 ced4a37ffe Added a minimum bytes allocation to peers 2020-06-10 10:08:44 -04:00
StephenButtolph 7f572a1794 relaxed sending bytes buffer 2020-06-10 10:02:18 -04:00
StephenButtolph 9e1d24c239 Limit the number of bytes in the send queue 2020-06-10 02:35:40 -04:00
StephenButtolph 86cd884ae2 Randomized the retry delay 2020-06-10 02:22:37 -04:00
Dan Laine 3a4ffb4850 lower log level for gossiped put messages 2020-06-08 20:30:03 -04:00
Dan Laine c560eeab37 lower/improve gossip logging 2020-06-06 11:50:46 -04:00
Dan Laine 9e74fdf15d improve network logging 2020-06-06 11:48:13 -04:00
Dan Laine 4249c2170a Merge branch 'master' into bootstrap-improvements 2020-06-04 13:02:49 -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
StephenButtolph 8c42f14a49 Added ping pong messages 2020-06-04 01:57:43 -04:00
Dan Laine 654f1c103b address (almost all) PR comments...still need to do final pass 2020-06-03 19:04:29 -04:00
StephenButtolph b8bd018938 only exit the dispatch loop if the node is closing 2020-06-02 18:59:34 -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 9e249ca786 add GetAncestors and PutAncestor message types. Update interfaces. TODO: Implement the interfaces 2020-06-01 10:26:12 -04:00
StephenButtolph 8a6efcdebe removed weird unlocking behavior in the retry mechanism 2020-05-30 16:59:01 -04:00
StephenButtolph db9155ab2a only reset the reconnect timer if the connection is marked as connected 2020-05-30 16:47:56 -04:00
StephenButtolph 72f203fa0e Added more information to the admin.peers rpc 2020-05-30 14:23:08 -04:00
StephenButtolph 2d50a2ad23 Added numPeers metric setting 2020-05-25 16:11:50 -04:00
StephenButtolph 25ca13000c Added metrics to the networking lib 2020-05-25 16:02:03 -04:00
StephenButtolph 5ad560b25a updated send precondition 2020-05-25 13:51:06 -04:00
StephenButtolph dfa9843722 set my ip if I happen to discover it for a best effort increase in discoverability 2020-05-24 02:25:58 -04:00
StephenButtolph 36ca80cf89 prevented self-connected nodes 2020-05-24 02:00:38 -04:00
StephenButtolph 40cb65ed8f merged 2020-05-23 17:19:16 -04:00
StephenButtolph 8ac34c28ae removed unused fields 2020-05-22 17:37:08 -04:00
StephenButtolph b3baae5be4 Commented network and added onAccept gossiping 2020-05-22 16:04:48 -04:00
StephenButtolph 3892a62f28 Added more race tests 2020-05-22 01:45:56 -04:00
StephenButtolph 3533e91c94 Added connectivity test 2020-05-22 00:47:11 -04:00
StephenButtolph ffd1c5c89e Added a best effort getVersion request 2020-05-20 15:49:06 -04:00
StephenButtolph fb142d1df5 Added GetVersion test 2020-05-20 15:46:17 -04:00
StephenButtolph 41975897b7 Send peerlist once the version message is received 2020-05-18 16:04:14 -04:00
StephenButtolph b004e9a014 import cleanup 2020-05-18 13:03:45 -04:00
StephenButtolph 9c9b5bf51d Remove handler correctly 2020-05-18 00:54:06 -04:00
StephenButtolph b4306585a4 Switched to a pure go networking stack 2020-05-17 23:47:43 -04:00