-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kad: Refactor FindNode query, keep K best results and add tests #114
Commits on May 21, 2024
-
kad/find_node: Extract immutable components to FindNodeConfig
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1b6778 - Browse repository at this point
Copy the full SHA e1b6778View commit details -
kad/find_node: Refactor register_response
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d850c52 - Browse repository at this point
Copy the full SHA d850c52View commit details -
kad/find_node: Refactor schedule_next_peer
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0cadf30 - Browse repository at this point
Copy the full SHA 0cadf30View commit details -
kad/find_node: Refactor next_action
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9bc1577 - Browse repository at this point
Copy the full SHA 9bc1577View commit details -
kad/find_node: Cache kad message
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ff2b6b - Browse repository at this point
Copy the full SHA 9ff2b6bView commit details -
find_node/tests: Check query completes on empty candidates
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70d20f8 - Browse repository at this point
Copy the full SHA 70d20f8View commit details -
find_node/tests: Check the parallelism is fulfilled
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c956aa - Browse repository at this point
Copy the full SHA 4c956aaView commit details -
find_node/tests: Check the query ends on the number of responses
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d776d9 - Browse repository at this point
Copy the full SHA 8d776d9View commit details -
find_node/tests: Produce the closest responses without further
candidates Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0ce49d - Browse repository at this point
Copy the full SHA e0ce49dView commit details -
find_node/tests: Continue the query on better candidates
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e81a304 - Browse repository at this point
Copy the full SHA e81a304View commit details -
find_node/tests: Ensure the query awaits for pending better responses
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51ca1aa - Browse repository at this point
Copy the full SHA 51ca1aaView commit details
Commits on May 23, 2024
-
kad/find_node: Keep the best 20 responses and don't update last entry
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 587b92e - Browse repository at this point
Copy the full SHA 587b92eView commit details -
find_node/tests: Check we keep an window of the best peers, not just the
last entry Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e946c69 - Browse repository at this point
Copy the full SHA e946c69View commit details
Commits on May 24, 2024
-
find_node: Replace entry with the new peer
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19f8c6e - Browse repository at this point
Copy the full SHA 19f8c6eView commit details