libp2p / go-libp2p-routing-helpers

MIT License
11 stars 16 forks source link

limit QueryEvent errors #41

Closed willscott closed 4 years ago

willscott commented 4 years ago

Complement to the fix in kad-dht for https://github.com/libp2p/go-libp2p-kad-dht/issues/602

When multiple routers are answering a query, and our logic is that the query has succeeded if at least one of the sub routers find a value, then we shouldn't be emitting 'QueryFailed' errors over the context event channel.