-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tiny refactoring * Avoid downloading the headers repeatly * Refactor Restarting variants * Include missing_blocks_count in the log * Remove connect latency factor This is not much useful and adds more complexity. * Increase import queue size between 300_000 and 600_000 * Various small refactorings * Move peer latency constants to one place * Refactor LatencyTracker * Introduce PeerStoreHandle * Refactor network_peers RPC * Fix test * Introduce PeerStore trait * Increase the persistent peer lantency threshold * Refactor Discouraged peer * Remove unreliable peers * Fixes * Include concrete latence value in PingLatencyTooHigh * Increase the peer latency threshold and decrease the size of block request * Use BTreeMap for deterministic output * Refactor ImportQueueStatus * Reset peer state to Available if updated * Fix evaludate_queue_status()
- Loading branch information
1 parent
72e5e71
commit aa2dfc4
Showing
11 changed files
with
825 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.