11 Commits

Author SHA1 Message Date
vyzo
b867200fee gossipsub: heartbeat timer 2018-06-12 08:00:17 -07:00
vyzo
d6104094c8 increase timeCache length to 120s 2018-06-12 08:00:17 -07:00
vyzo
458c75b33f add TODO for reliable announcements 2018-06-12 08:00:17 -07:00
vyzo
b09c9d1a48 check and mark seen messages prior to validation
this allows us to avoid revalidating messages, either because they were concurrently
received or were previously rejected by the validator.
also allows us to filter invalid messages from gossip.
2018-06-12 08:00:17 -07:00
vyzo
8680a79d3a add Join/Leave to PubSubRouter interface
advanced routers will want to know when they are subscribed to a topic as
they may want to send control messages.
2018-06-12 08:00:17 -07:00
Steven Allen
4f3a97bcc3 fix segfault on arm due to bad atomic access
fixes #78
2018-05-29 18:59:04 +02:00
vyzo
1538e0d417 downgrade dropped message logging to Infof 2018-03-07 07:57:42 +02:00
vyzo
d5d886d853 Don't block the event loop if the subscriber is too slow
Closes #69
2018-03-07 07:57:42 +02:00
vyzo
399bcb25a6 UnregisterTopicValidator for removing topic validators 2018-02-28 22:14:54 +02:00
vyzo
327e72d4fd demote erros per #62 2018-01-27 09:54:57 +02:00
vyzo
e7b1fe6e75 modularized pubsub; Flooding is just a routing method. 2018-01-27 09:54:57 +02:00