-
So, I've looked to enable Now, I'm not really sure how to verify this is happening, or where it happens. I have poked about the code, but didn't turn up anything. So I'm wondering:
Thanks for any pointers here! 🙇 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
It has been in the past with Note that the current docs are outdated, as they still reference the rust-libp2p/protocols/kad/src/behaviour.rs Lines 2778 to 2789 in 38ea7ad
I am not sure I understand the question. Maybe the following helps. The local node looks up a key. It discovers multiple peers that should but don't actually have the key. When the user now calls
In case you are using the
No. Remote notes are ignorant of the fact that an incoming put record is actually from a cache write-back. I am sorry that this is not more intuitive. Hope this helps @joshuef. |
Beta Was this translation helpful? Give feedback.
It has been in the past with
Quorum::One
, but is no longer. We have removed theQuorum
mechanism fromget_record
. See #2712. The user needs to manually callKademlia::put_record_to
on aGetRecordOk::FinishedWithNoAdditionalRecord
.Note that the current docs are outdated, as they still reference the
Quorum
on theget_record
code path. Would you mind creating a pull request updating the docs @joshuef?rust-libp2p/protocols/kad/src/behaviour.rs
Lines 2778 to 2789 in 38ea7ad