rust-lightning/lightning-invoice
Elias Rohrer eb8bce0d16 Add send_probe and introduce probing cookies
When we send payment probes, we generate the [`PaymentHash`] based on a
probing cookie secret and a random [`PaymentId`]. This allows us to
discern probes from real payments, without keeping additional state.
2022-07-07 09:02:29 +02:00
..
fuzz Drop fuzztarget feature entirely 2022-02-18 17:03:04 +00:00
src Add send_probe and introduce probing cookies 2022-07-07 09:02:29 +02: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 crate versions to 0.0.109/invoice 0.17 2022-07-01 16:05:33 +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.