mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-23 14:50:45 +01:00
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. |
||
---|---|---|
.. | ||
fuzz | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md |
lightning-invoice
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.