76 Commits

Author SHA1 Message Date
keks
89e6a06f3c better tests for validation 2018-01-13 12:12:21 +02:00
keks
197a5982a4 ungxify 2018-01-13 12:12:21 +02:00
keks
7dd4e0bfeb vet
used for range variable inside goroutine, now passed as argument
2018-01-13 12:12:21 +02:00
keks
647bb98655 optionally allow caller to validate messages 2018-01-13 12:12:21 +02:00
Steven Allen
a01778ac78 test peer disconnect 2017-10-14 09:32:31 -07:00
Jeromy
01af0dc890 remove basichost dep, update go-multistream 2017-01-10 14:45:25 -08:00
Jan Winkelmann
32d57f202a update to go-libp2p-netutil 2016-11-21 16:35:43 +01:00
Jan Winkelmann
25b8aad61f add ctx to sub.Next for cancellation 2016-11-18 02:23:38 +01:00
Jan Winkelmann
539e4b6b45 longer sleep in test so race becomes less likely 2016-11-18 02:23:38 +01:00
Jan Winkelmann
ae48a15d7b make Subscribe go through SubscribeByTopicDescriptor 2016-11-18 02:23:38 +01:00
Jan Winkelmann
1c9a576526 Test, SubscribeByTopicDescriptor and minor improvement 2016-11-18 02:23:38 +01:00
Jan Winkelmann
c9b2c6c8fd make go vet happy (t.Fatal was provided a formatting string) 2016-11-18 02:23:38 +01:00
Jan Winkelmann
b71e3adbd7 first cleanup wave 2016-11-18 02:23:38 +01:00
Jan Winkelmann
822640a482 multiple subscriptions prototype 2016-11-18 02:23:38 +01:00
Jeromy
4dfbdcdca7 add functionality to query which peers have a given topic 2016-10-18 11:13:23 -07:00
Jeromy
90657d5d53 update dependencies 2016-10-05 12:47:20 -07:00
Jeromy
59af8f38e7 add a method to get the pubsub peers list 2016-09-14 18:07:30 -07:00
Jeromy
28f2c2f094 add way to query subscribed topics 2016-09-14 15:11:41 -07:00
Jeromy
d733293dbc add more tests 2016-09-14 14:11:46 -07:00
Jeromy
dd331f38c6 more code cleanup, remove debug statements, add support for multiple
messages and topics
2016-09-12 13:22:16 -07:00
Jeromy
ab2fef7c1b refactor publish messaging 2016-09-11 13:56:07 -07:00
Jeromy
17e835cd17 respect contexts better 2016-09-10 16:03:53 -07:00
Jeromy
c0d5b0ef26 using protobuf now, with a vengeance 2016-09-10 08:29:06 -07:00
Jeromy
6ed3d545e1 switch over to protobuf rpc 2016-09-10 08:14:17 -07:00
Jeromy
13a46da42f Gx publish 0.1.0 2016-09-10 06:56:11 -07:00
Jeromy
e07f002705 rename to floodsub 2016-09-09 20:13:50 -07:00