rust-lightning/lightning-invoice
Elias Rohrer fa7ecc56d7
Clarify maximum length of an invoice description
We previously stated in the docs that the invoice description can be at most `1023`
bytes long, which is wrong. According to BOLT 11 it's at most 1023*5 bits (639 bytes) long.
2024-07-16 10:28:58 +02:00
..
src Clarify maximum length of an invoice description 2024-07-16 10:28:58 +02:00
tests Upgrade rust-bitcoin to 0.31 2024-05-30 18:35:29 +08:00
.gitignore Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
Cargo.toml Upgrade rust-bitcoin to 0.31 2024-05-30 18:35:29 +08: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.