-
Notifications
You must be signed in to change notification settings - Fork 695
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
litep2p/kad: Configure periodic network bootstrap for better throughput #4942
base: master
Are you sure you want to change the base?
Commits on Jul 4, 2024
-
net/litep2p: Update connected peers from network backend sooner
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a126147 - Browse repository at this point
Copy the full SHA a126147View commit details -
net/litep2p: Propagate connected peers to the discovery mechanism
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for d9b57ee - Browse repository at this point
Copy the full SHA d9b57eeView commit details -
net/litep2p: Start random walks if under connected peers limit
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 3b2c5ac - Browse repository at this point
Copy the full SHA 3b2c5acView commit details -
net/kad: Ensure timer moves forward
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for b61e973 - Browse repository at this point
Copy the full SHA b61e973View commit details -
net/kad: Keep record of inflight kad queries
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 837f196 - Browse repository at this point
Copy the full SHA 837f196View commit details -
net/kad: Reset kad query timer on failure
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 5610b95 - Browse repository at this point
Copy the full SHA 5610b95View commit details -
net/kad: Downgrade logs to trace and debug
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for f5aee82 - Browse repository at this point
Copy the full SHA f5aee82View commit details -
net/kad: Bound maximum number of queries
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 6ac1bff - Browse repository at this point
Copy the full SHA 6ac1bffView commit details
Commits on Jul 8, 2024
-
litep2p: Rename num connected peers to num sync peers
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 4983b89 - Browse repository at this point
Copy the full SHA 4983b89View commit details -
litep2p: Rename function to illustrate sync peers
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 32c9257 - Browse repository at this point
Copy the full SHA 32c9257View commit details -
litep2p: Improve comment wrt num_sync_connected
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2a6d231 - Browse repository at this point
Copy the full SHA 2a6d231View commit details -
litep2p: Extract number of distinct connected peers
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for c71fa9e - Browse repository at this point
Copy the full SHA c71fa9eView commit details
Commits on Jul 11, 2024
-
litep2p: Remove fetch sync peers method
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 24bafe3 - Browse repository at this point
Copy the full SHA 24bafe3View commit details
Commits on Jul 16, 2024
-
litep2p: Periodically perform kademlia queries instead if under number
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for b6c9901 - Browse repository at this point
Copy the full SHA b6c9901View commit details
Commits on Sep 17, 2024
-
Revert "litep2p: Periodically perform kademlia queries instead if und…
…er number" This reverts commit b6c9901.
Configuration menu - View commit details
-
Copy full SHA for 7bf91eb - Browse repository at this point
Copy the full SHA 7bf91ebView commit details -
litep2p: Change heuristic to 3 times the required discovery number
This is mainly done to keep a healthy subset of the network in the node's memory and routing table. Otherwise, we may risk trading off discoverability with protocol performance, which is not entirely desirable. Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 5d09d4a - Browse repository at this point
Copy the full SHA 5d09d4aView commit details -
litep2p/discovery: Fallback to 2x factor for discovery
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for f676446 - Browse repository at this point
Copy the full SHA f676446View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0124309 - Browse repository at this point
Copy the full SHA 0124309View commit details -
discovery: Introduce mandatory query for discovery every 16 minutes
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a8e1cae - Browse repository at this point
Copy the full SHA a8e1caeView commit details -
litep2p/discovery: Better logs for mandatory queries
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for fa3ce93 - Browse repository at this point
Copy the full SHA fa3ce93View commit details -
litep2p/discovery: Periodic kad queries every 30 minutes
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2ab14ee - Browse repository at this point
Copy the full SHA 2ab14eeView commit details