Pike v8.1 release 6

Method Protocols.Bittorrent.DHT()->Routingtable()->Bucket()->promote_nodes()


Method promote_nodes

void promote_nodes()

Description

Attempts to promote nodes if there is space and we have candidates. Called by add_node() before adding a node to ensure we upgrade viable candidates before adding a new node. This ensures that new nodes starts their life in the candidates section until there is space for them.