devp2p / org.apache.tuweni.devp2p / DevP2PPeerRoutingTable / evict

evict

fun evict(node: Peer): Boolean (source)

Overrides PeerRoutingTable.evict

Remove a node from the table, potentially adding an alternative from the replacement cache.

Parameters

node - the node to evict

Parameters
true if the node was removed