-
Notifications
You must be signed in to change notification settings - Fork 5
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 GetRecord
query and add tests
#97
Commits on Apr 29, 2024
-
kad: Extend records event with multiple peers and different records
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 4d089ab - Browse repository at this point
Copy the full SHA 4d089abView commit details -
kad: Return HashMap<record, vec<peers>>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 4257819 - Browse repository at this point
Copy the full SHA 4257819View commit details -
kad/query: Do not propagate expired records
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 3f210b1 - Browse repository at this point
Copy the full SHA 3f210b1View commit details -
kad/tests: Check all peers return the same record
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a1b3f10 - Browse repository at this point
Copy the full SHA a1b3f10View commit details -
kad: Return vec of records instead
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 1143636 - Browse repository at this point
Copy the full SHA 1143636View commit details -
kad/query: Extract immutable components to GetRecordConfig
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 8efdf89 - Browse repository at this point
Copy the full SHA 8efdf89View commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 72f7fbc - Browse repository at this point
Copy the full SHA 72f7fbcView commit details -
kad/get_record: Refactor query candidates
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 23fdf7d - Browse repository at this point
Copy the full SHA 23fdf7dView commit details -
kad/get_record: Clean-up next action state and avoid panics
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 136b59e - Browse repository at this point
Copy the full SHA 136b59eView commit details -
kad/get_record: Cache kad msg to avoid encoding multiple times
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for d232828 - Browse repository at this point
Copy the full SHA d232828View commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 5419fe2 - Browse repository at this point
Copy the full SHA 5419fe2View commit details
Commits on Apr 30, 2024
-
tests: Check config sufficient query results
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 605dcc2 - Browse repository at this point
Copy the full SHA 605dcc2View commit details -
tests: Check query completes when peers are empty
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2d3d9d6 - Browse repository at this point
Copy the full SHA 2d3d9d6View commit details -
tests: Check query fulfills parallelism factor
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 547725b - Browse repository at this point
Copy the full SHA 547725bView commit details -
tests: Check query completes on results
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2e6b495 - Browse repository at this point
Copy the full SHA 2e6b495View commit details
Commits on May 16, 2024
-
kad/get_record: Rename record_count to known_records
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 424c40a - Browse repository at this point
Copy the full SHA 424c40aView commit details -
get_record/tests: Update known records to 1 instead of 10
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for efe91d4 - Browse repository at this point
Copy the full SHA efe91d4View commit details -
Merge remote-tracking branch 'origin/master' into lexnv/refactor-get-…
…records Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 9fb4a06 - Browse repository at this point
Copy the full SHA 9fb4a06View commit details -
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 91968c2 - Browse repository at this point
Copy the full SHA 91968c2View commit details