fun nodeId(): Bytes32
(source)
Derives the public key of an ethereum node record into a unique 32 bytes hash.
Return
the hash of the public key
fun nodeId(publicKey: PublicKey): Bytes32
(source)
Derives the public key of an ethereum node record into a unique 32 bytes hash.
publicKey
- the public key to hash
IllegalArgumentException
- if the public key is not valid.
Return
the hash of the public key