mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Latency-aware fetch pack target selection
This commit is contained in:
@@ -2171,7 +2171,7 @@ PeerImp::peerTXData (Job&, uint256 const& hash,
|
||||
}
|
||||
|
||||
int
|
||||
PeerImp::getScore (bool haveItem)
|
||||
PeerImp::getScore (bool haveItem) const
|
||||
{
|
||||
// Random component of score, used to break ties and avoid
|
||||
// overloading the "best" peer
|
||||
|
||||
Reference in New Issue
Block a user