rust-lightning/lightning-invoice
Wilmer Paulino 82e0df5e4d
Require best block timestamp within ChannelManager::new
This ensures freshly initialized nodes can proceed to create unexpired
invoices without a call to `best_block_updated`, since an invoice's
expiration delta is applied to `highest_seen_timestamp`.
2023-06-27 13:43:14 -07:00
..
fuzz Bump workspace to rust edition 2018 2022-10-21 14:47:34 -07:00
src Require best block timestamp within ChannelManager::new 2023-06-27 13:43:14 -07:00
tests Support setting the new payment metadata field in invoices 2023-04-19 02:57:19 +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.115/invoice 0.23 2023-04-24 22:40:17 +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.