matches

fun matches(nodeIdentity: NodeIdentity): Boolean

This method may be used to match the Node Identity or Private Node Identity beacons.

Return

Node matching the given node identity or null otherwise.

Parameters

nodeIdentity

Node identity.


Checks if the given Network Identity beacon matches with any of the network keys in the network.

Return

true if matches or false otherwise.

Parameters

networkId

Network ID.


fun matches(networkId: ByteArray): Boolean

Checks if the given Network ID matches with any of the network keys in the network.

Return

true if matches or false otherwise.

Parameters

networkId

Network ID.