You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kad: Do not update memory store on incoming GetRecordSuccess (#190)
This PR ensures that the records discovered by the `GetRecord` query are
not propagated to the memory store.
This makes the litep2p behavior similar to the libp2p.
Another approach could be to put the record into the memory store if the
validation mode is `Automatic`. However, for networks with a large
number of records, this will exhaust the limit of our memory store.
Thanks @alexggh for catching this 🙏
Fix for:
- #190
cc @paritytech/networking
---------
Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: Dmitry Markin <[email protected]>
0 commit comments