rust-lightning/lightning-invoice
Jeffrey Czyz 20e776bc8e
Add basic_mpp support to InvoiceBuilder
Since InvoiceFeatures are an implementation detail of InvoiceBuilder, an
explicit call is needed to support the basic_mpp feature. Since it is
dependent on the payment_secret feature, conditionally define the
builder's method only when payment_secret has been set.
2021-05-03 16:23:27 -07:00
..
fuzz Clean up lightning-invoice CI, license, and add to workspaces 2021-04-09 10:08:27 -04:00
src Add basic_mpp support to InvoiceBuilder 2021-05-03 16:23:27 -07:00
tests Hide InvoiceFeatures behind InvoiceBuilder API 2021-05-03 16:23:24 -07:00
.gitignore Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
Cargo.toml Add utility to create an invoice using the ChannelManager 2021-04-29 19:13:36 -04: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.