rust-lightning/lightning-invoice
Matt Corallo 246493f300 Set default error type for SignOrCreationError for bindings
The C bindings generator now looks to default generic types as the
way to map a struct or enum parameter. Because SignOrCreationError
is only used directly with an error type of `()`, we set that to
the default and assume no other error types are needed.
2021-04-30 19:00:50 +00:00
..
fuzz Clean up lightning-invoice CI, license, and add to workspaces 2021-04-09 10:08:27 -04:00
src Set default error type for SignOrCreationError for bindings 2021-04-30 19:00:50 +00:00
tests Merge pull request #898 from jkczyz/2021-04-invoice-expiry 2021-04-30 17:25:59 +00:00
.gitignore Pure import of lightning-invoice crate 2021-04-09 10:08:27 -04:00
Cargo.toml Add utility to create an invoice using the ChannelManager 2021-04-29 19:13:36 -04: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.