rust-lightning/lightning-invoice
Matt Corallo cab6c976b6 Include a route hint for public, not-yet-announced channels
If we have a public channel which doesn't yet have six
confirmations the network can't possibly know about it as we cannot
have announced it yet. However, because we refuse to include
route-hints if we have any public channels, we will generate
invoices that no one can pay.

Thus, if we have any public, not-yet-announced channels, include
them as a route-hint.
2023-03-18 00:45:23 +00:00
..
fuzz Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00
src Include a route hint for public, not-yet-announced channels 2023-03-18 00:45:23 +00:00
tests Add _delta suffix to min_final_cltv_expiry 2023-01-24 13:07:23 +02:00
.gitignore Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
Cargo.toml Bump crate versions to 0.0.113/invoice 0.21 2022-12-15 22:15:55 +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.