changelog
This commit is contained in:
parent
e89f3db31b
commit
fdaaa0e678
2 changed files with 3 additions and 9 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -13,16 +13,8 @@ at anytime.
|
|||
*
|
||||
|
||||
### Fixed
|
||||
* Fixed amount of close nodes to add to list in case of extension to neighbouring k-buckets
|
||||
*
|
||||
*
|
||||
* Fixed slow startup for nodes with many lbry files
|
||||
* Fixed setting the external ip on startup
|
||||
* Fixed session startup not blocking on joining the dht
|
||||
* Fixed several parsing bugs that prevented replacing dead dht contacts
|
||||
* Fixed lbryid length validation
|
||||
* Fixed an old print statement that polluted logs
|
||||
* Fixed rpc id length for dht requests
|
||||
* Fixed amount of closed nodes to add to list in case of extension to neighbouring k-buckets
|
||||
|
||||
### Deprecated
|
||||
*
|
||||
|
|
|
@ -142,6 +142,8 @@ class TreeRoutingTable(object):
|
|||
# Fill up the node list to k nodes, starting with the closest neighbouring nodes known
|
||||
while len(closestNodes) < min(count, constants.k) and (canGoLower or canGoHigher):
|
||||
# TODO: this may need to be optimized
|
||||
# TODO: add "key" kwarg to getContacts() to sort contacts returned by xor distance
|
||||
# to the key
|
||||
if canGoLower and len(closestNodes) < min(count, constants.k):
|
||||
closestNodes.extend(
|
||||
self._buckets[bucketIndex - i].getContacts(get_remain(closestNodes),
|
||||
|
|
Loading…
Reference in a new issue