Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <alexandru.vasile@parity.io> Co-authored-by: Dmitry Markin <dmitry@markin.tech>
- Loading branch information