tuweni / org.apache.tuweni.devp2p / parseEnodeUri

parseEnodeUri

fun parseEnodeUri(uri: URI): EnodeUriComponents (source)

Parse an enode URI.

Parameters

uri - the URI to parse

Exceptions

IllegalArgumentException - if the uri is not a valid enode URI

Return
the node id and the endpoint