Expand description
NUT-11: Pay to Public Key (P2PK)
Modules§
- serde_
p2pk_ witness - Serde utils for P2PK Witness
Structs§
- Conditions
- P2PK and HTLC spending conditions
- Enforce
SigFlag - Enforce Sigflag info
- P2PK
Witness - P2Pk Witness
Enums§
- Error
- Nut11 Error
- SigFlag
- Signature flag
- Spending
Conditions - Spending Conditions
- Tag
- Tag
- TagKind
- P2PK and HTLC Spending condition tags
Functions§
- enforce_
sig_ flag - Get the signature flag that should be enforced for a set of proofs and the public keys that signatures are valid for
- valid_
signatures - Returns count of valid signatures (each public key is only counted once) Returns error if the same pubkey has multiple valid signatures