Module node_pubkey

Source
Available on crate feature secp256k1 only.
Expand description

Newtype over PublicKey and corresponding error types.

This module makes working with node public key easier by providing NodePubkey newtype. This makes it less likely that the node public key will be mistaken for other public key. Further, it provides convenient parsing, serialization and signature verification methods along with strong error types.

Structsยง

NodePubkey
Newtype over secp256k1::PublicKey representing a deserialized key identifying an LN node.
ParseError
Error returned when parsing text representation fails.