Skip to main content

Crate bitcoin_silent_payments

Crate bitcoin_silent_payments 

Source

Re-exports§

pub use bitcoin_network_kind;
pub use bitcoin_primitives;
pub use secp256k1;

Modules§

input
BIP-352 input classification trait.
receive
This library provides a small set of structs and methods to help in the implementation of the Silent Payments protocol.
send
This module provides functionality for encoding, decoding, and managing silent payment codes.

Structs§

LexMin
A structure for tracking the lexicographically minimal OutPoint.
NoMinOutpoint
Error type returned when attempting to retrieve the minimum outpoint from a LexMin that has not received any updates.

Constants§

NUMS_H
NUMS-H point from BIP 341. A taproot input using this as its internal key is skipped for BIP 352 shared-secret derivation.

Functions§

is_nums
Returns true if x equals the BIP 341 NUMS-H point.