waku-org / js-waku

JavaScript implementation of Waku v2
https://js.waku.org
Apache License 2.0
162 stars 41 forks source link

feat: add logs when peer disconnection occurs due to metadata protocol/shard mismatch #2012

Open danisharora099 opened 1 month ago

danisharora099 commented 1 month ago

This is a feature request

Problem

When peers disconnect with js-waku, we have no way of knowing what the reason for disconnection is.

For the case of shards mismatch/disconnection due to metadata protocol, we can infer this

Proposed Solutions

Add logs when metadata protocol has a shards mismatch

Notes