rust-lightning/lightning-invoice
jurvis 80daf942b2
Make payment tests more realistic
Made sure that every hop has a unique receipient. When we simulate
calling `channel_penalty_msat` in `TestRouter`’s find route, use
actual previous node ids instead of just using the payer’s.
2022-08-31 18:50:03 -07:00
..
fuzz Update bitcoin crate to 0.29.0 2022-08-11 00:21:26 +02:00
src Make payment tests more realistic 2022-08-31 18:50:03 -07:00
tests Move network_graph.rs to gossip.rs 2022-06-02 15:15:30 -07:00
.gitignore Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
Cargo.toml Bump bitcoin_hashes to v0.11 2022-08-19 16:40:19 +02: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.