Expand description
This library provides functions for working with sending and receiving Bitcoin Silent Payments according to BIP 352 proposal.
Modules§
Structs§
- Input
Hash - Inputs
Hash - Inputs
Tag - The tag used for
InputsHash
- Label
Hash - Label
Tag - The tag used for
LabelHash
- Scan
Public Key - Scan
Secret Key - Shared
Secret - ECDH shared secret serialized as compressed public key.
- Shared
Secret Hash - Shared
Secret Tag - The tag used for
SharedSecretHash
- Silent
Payment Output - An output that has been detected as a Silent Payment together with all data that are needed to spend it. Wallets should index this.
- Spend
Public Key - Spend
Secret Key
Enums§
Functions§
- input_
public_ key - Attempts to extract public key from an input and the output it points to. Returns
None
if public key could not be extracted.