Commit Graph

724 Commits

Author SHA1 Message Date
James Ray 096722488e
pubish -> publish 2018-09-17 14:57:32 +10:00
vyzo 992b9b06ea
Merge pull request #104 from KerwinKoo/master
Just repair spelling mistake
2018-09-10 18:35:12 +03:00
gukq 91285f3022 Just repair spelling mistake
Signed-off-by: gukq <gukaiqiang@gmail.com>
2018-09-10 23:17:23 +08:00
Steven Allen 7e9278f74d gx publish 0.9.28 2018-09-07 23:36:25 -07:00
Steven Allen cd8c877413 gx publish 0.9.27 2018-08-31 09:56:22 -07:00
Steven Allen 2c53ae3939 gx publish 0.9.26 2018-08-29 20:43:12 -07:00
Steven Allen 30dee56ea2
Merge pull request #102 from libp2p/fix/issue-101
Add control parameter for gossipsub initial heartbeat delay
2018-08-29 23:37:29 +00:00
vyzo 0cd357b295 control parameter for gossipsub initial heartbeat delay 2018-08-29 11:15:41 +03:00
Steven Allen 35c945373f
Merge pull request #100 from libp2p/fix/issue-98
fix data race in gossipsub piggybacking
2018-08-28 19:04:01 +00:00
vyzo a3003697f6 more idiomatic copyRPC 2018-08-28 21:35:00 +03:00
vyzo 73b338aa6d fix nil pointer dereference in copyRPC 2018-08-28 21:17:00 +03:00
vyzo de4adefafb fix data race in ownership of RPC when piggybacking control messages. 2018-08-28 21:07:18 +03:00
Steven Allen 02d5c50ff0 gx publish 0.9.25 2018-08-21 17:09:23 -07:00
vyzo b96cf6df63
Merge pull request #95 from libp2p/feat/logging
some logging for gossipsub
2018-08-10 11:32:51 +03:00
vyzo 350ec7b44d gx publish 0.9.24 2018-08-10 11:13:11 +03:00
vyzo bb5dd40680 basic logging for gossipsub 2018-08-09 12:16:19 +03:00
Steven Allen 0757ff4be4 gx publish 0.9.23 2018-08-08 18:50:50 -07:00
Steven Allen 528779af81
Merge pull request #94 from libp2p/feat/protobuf
update gogo protobuf
2018-08-09 01:10:56 +00:00
Steven Allen ca7e4bc84d gx publish 0.9.22 2018-08-08 10:59:51 -07:00
Steven Allen ca4bfd6539 update gogo protobuf
and rebuild protobuf file
2018-08-08 10:59:27 -07:00
Steven Allen 7869425e41 fix indent in protobuf 2018-08-08 10:54:14 -07:00
Steven Allen 25f1215c5c gx publish 0.9.21 2018-07-20 20:00:05 -07:00
Steven Allen 09f74dfb12 gx update go-{net,text} 2018-07-20 19:59:56 -07:00
Steven Allen 4e2e4702f8
Merge pull request #88 from prestonvanloon/prestonvanloon-patch-1
Use proto2 syntax
2018-07-18 23:16:11 +00:00
Preston Van Loon b565e5939a
Use proto2 syntax 2018-07-13 09:20:11 -04:00
Whyrusleeping b53a056ca5
Merge pull request #67 from libp2p/feat/gossipsub
gossipsub
2018-07-11 11:16:42 +02:00
Steven Allen 6b9083bd6c
Merge pull request #84 from jamesray1/patch-2
Add a spec link for gossipsub
2018-07-05 18:41:43 +00:00
James Ray 7032dd1234
Add a spec link for gossipsub 2018-07-05 15:24:04 +10:00
Steven Allen eafbbe2249 gx publish 0.9.20 2018-06-26 16:30:50 -07:00
Steven Allen 27851d7d34 gx publish 0.9.19 2018-06-26 16:05:35 -07:00
Steven Allen d95e515332 gx publish 0.9.18 2018-06-25 17:23:45 -07:00
Steven Allen 8524f0abc7
Merge pull request #79 from jamesray1/patch-1
Add and update info on gossipsub and implementations
2018-06-14 18:42:04 +00:00
vyzo 1b4fbb865d fix NewPubsub docstring 2018-06-12 08:00:17 -07:00
vyzo 1dc8405449 more docs for gossipsub router, expire fanout peers when we haven't published in a while 2018-06-12 08:00:17 -07:00
vyzo b490d117f2 make heartbeat interval a parameter, turn all gossipsub parameters into variables 2018-06-12 08:00:17 -07:00
vyzo d6dfe83ebe refactor nextSeqno out of Publish 2018-06-12 08:00:17 -07:00
vyzo e8a91d330a document PubSubRouter interface 2018-06-12 08:00:17 -07:00
vyzo c57d256a22 increase the flood length in TestGossipsubControlPiggyback 2018-06-12 08:00:17 -07:00
vyzo a39184a0af smaller net sizes for tests that exercise full queues
so that travis doesn't get killed by OOM.
2018-06-12 08:00:17 -07:00
vyzo 2544ae7df9 announce retry should check the pubsub context for cancellation 2018-06-12 08:00:17 -07:00
vyzo 0824316326 finetune GraftPruneRetry test, so that it doesn't get OOM killed 2018-06-12 08:00:17 -07:00
vyzo a71eec5c3a test control message retry piggybacking 2018-06-12 08:00:17 -07:00
vyzo f5d6cf3bd1 TestGossipsubGraftPruneCoalesce is TestGossipsubGraftPruneRetry
it is really testing full queues (sized 32) and retries of control
messages and announces
2018-06-12 08:00:17 -07:00
vyzo 009efebdaf harden piggybackControl
don't create a control object if the graft/prune are stale and only assign
the relevant fields.
2018-06-12 08:00:17 -07:00
vyzo bfb0664581 retry dropped ANNOUNCE messages
they are very important for correct topic state in the protocol, esp gossipsub
2018-06-12 08:00:17 -07:00
vyzo af061f5040 refactor sendGraftPrune out of heartbeat 2018-06-12 08:00:17 -07:00
vyzo 285c1f0aa7 add test for graft/prune coalescing in heartbeat 2018-06-12 08:00:17 -07:00
vyzo ef730627ad remove unnecessary and potentially harmful check from heartbeat
- the check is unnecessary because peers emit PRUNE on Leave
- the check is harmful, because the ANNOUNCE message might have
  benn lost (or reordered after the GRAFT depending on the retry
  strategy), which would leave the mesh in an inconsistent state.
2018-06-12 08:00:17 -07:00
vyzo e8c5cf0914 test gossip propagation with IHAVE/IWANT cycle 2018-06-12 08:00:17 -07:00
vyzo 4667b0ae94 fanout sources should emit gossip too 2018-06-12 08:00:17 -07:00