Skip to main content

bolt12_common/
lib.rs

1//! Decode and verify BOLT 12 offers, invoices, and payer proofs.
2
3mod decode;
4mod error;
5mod hex;
6mod model;
7mod verify;
8
9pub use decode::decode;
10pub use error::{Error, ErrorKind};
11pub use model::{
12    Amount, BlindedHop, BlindedPath, BlindedPayInfo, Check, Decoded, IntroductionNode, Invoice,
13    Offer, PayerProof, UnknownTlv, VerifyKind, VerifyReport,
14};
15pub use verify::{verify_payer_proof, verify_payment};