Skip to content
Discussion options

You must be logged in to vote

1, There will be a sequence of KademliaEvent::OutboundQueryProgressed got received via SwarmEvent channel ?

Correct.

2, If there are multiple such events to be received, the number of them will be euqual to replication_factor configured?

The number is equal to the number of peers contacted, plus the optional local instance.

3, In case the record holder peers holding different copies (say some peers got a copy via put_record_to, and is different to others) for the same record_key, will these different copies all get fetched via multiple KademliaEvent::OutboundQueryProgressed containing GetRecordOk ?

Yes, you will get all the different ones and need to decide which one to use.

As I u…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maqi
Comment options

Answer selected by maqi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants