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ยง
- Node
Pubkey - Newtype over
secp256k1::PublicKeyrepresenting a deserialized key identifying an LN node. - Parse
Error - Error returned when parsing text representation fails.