25 Commits

Author SHA1 Message Date
Marten Seemann
4f56e8f0a7
update go-libp2p to v0.22.0 (#498)
* update go-libp2p to v0.22.0

* skip TestGossipsubConnTagMessageDeliveries
2022-08-26 02:45:41 -07:00
Wondertan
ec5e9b42a9 chore: go fmt and return timecache named import 2022-01-23 09:29:32 +02:00
Wondertan
0e687f24a6 feat: integrate msgIdGenerator 2022-01-23 09:29:32 +02:00
Michael Muré
65f48fb2c8 rename RawTracer's DroppedInSubscribe into UndeliverableMessage 2021-07-13 08:58:00 -07:00
Michael Muré
9be1c593c6 add a new RawTracer event to track messages dropped in Subscribe 2021-07-13 08:58:00 -07:00
Michael Muré
50b1cfadc8 expose more events for RawTracer 2021-07-13 08:58:00 -07:00
vyzo
5457a2845b expose internalTracer as RawTracer 2021-03-16 08:28:02 +02:00
vyzo
05c505ef60 export rejection named string constants 2021-03-16 08:28:02 +02:00
vyzo
d6c20b59fc remove multi-topic message support 2020-10-08 20:18:21 +03:00
vyzo
93f4f91dcf trace throttle peers to avoid breaking promises unfairly 2020-09-07 13:38:02 +03:00
vyzo
06a12f17b7 reduce log verbosity; debug mostly 2020-09-01 20:42:50 +03:00
vyzo
df04b05234 protect direct and mesh peers in the connection manager 2020-06-03 23:30:48 +03:00
Yusef Napora
d4b7c255c6 rm empty slice alloc 2020-05-19 19:26:53 +03:00
Yusef Napora
2f9a678f2e inline decayingDeliveryTag method into addDeliveryTag 2020-05-19 19:26:53 +03:00
Yusef Napora
b20819d046 close decaying tags when leaving topic 2020-05-19 19:26:53 +03:00
Yusef Napora
a70cfa5e07 rm misleading comment 2020-05-19 19:26:53 +03:00
Yusef Napora
b109c4ceee check reject reason before deleting near-first state 2020-05-19 19:26:53 +03:00
Yusef Napora
2e9c9f0b0a update dependencies and use preset decay fns 2020-05-19 19:26:53 +03:00
Yusef Napora
64e1b8b0d4 use map to track near-first deliveries in tagTracer 2020-05-19 19:26:53 +03:00
Yusef Napora
cc0ba20627 free up drec.peers when we're done with it 2020-05-19 19:26:53 +03:00
Yusef Napora
9c730661bc add delivery tags for "near-first" msg deliveries 2020-05-19 19:26:53 +03:00
Yusef Napora
8e4a9489c2 lock for reading in bumpDeliveryTag 2020-05-19 19:26:53 +03:00
Yusef Napora
2312cddaff add nil check for decayer 2020-05-19 19:26:53 +03:00
Yusef Napora
51369f756f increase decaying tag interval 2020-05-19 19:26:53 +03:00
Yusef Napora
28d17a4cab add tagTracer to apply connmgr tags 2020-05-19 19:26:53 +03:00