rust-lightning/lightning-invoice
Valentine Wallace d41499a260
Add new invoice CreationError::InvalidAmount for use in checking create_inbound_payment
in an invoice creation utility. Note that if the error type of `create_inbound_payment` ever
changed, we'd be forced to update the invoice utility's callsite to handle the new error
2021-12-16 15:32:22 -08:00
..
fuzz Bump dependencies to bitcoin 0.27 and bech32 0.8 2021-07-31 18:29:07 +00:00
src Add new invoice CreationError::InvalidAmount for use in checking create_inbound_payment 2021-12-16 15:32:22 -08:00
tests Use new BOLT 11 test vectors with payment_secrets and feature flags 2021-08-31 21:29:51 +00:00
.gitignore Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
Cargo.toml Bump crate versions to 0.0.103/invoice 0.11 2021-11-03 02:20:51 +00:00
README.md Clean up lightning-invoice Cargo.toml and README 2021-04-09 10:08:27 -04:00

lightning-invoice

Docs.rs

This repo provides data structures for BOLT 11 lightning invoices and functions to parse and serialize these from and to bech32.

Please be sure to run the test suite since we need to check assumptions regarding SystemTime's bounds on your platform. You can also call check_platform on startup or in your test suite to do so.