mirror of https://github.com/vacp2p/nim-libp2p.git
a60f0c5532
### Description Adding an `onValidated` observer which will run every time a message is received and validated. This comes from the necessity of precisely track message deliveries and network activity. `onRecv` observers run before any check is performed on the received message, which means that it runs every time a duplicate or invalid message arrives, which is inefficient and inaccurate for our purpose of tracking only received, unique and valid messages. Therefore, adding this extra option of running an observer for every message after all validation checks pass. |
||
---|---|---|
.. | ||
connectivity | ||
perf | ||
pubsub | ||
secure | ||
identify.nim | ||
ping.nim | ||
protocol.nim | ||
pubsub.nim | ||
rendezvous.nim |