Valentine Wallace
9529226adf
invoice: swap PaymentSecret for ChannelManager's PaymentSecret
2021-04-29 18:39:47 -04:00
Jeffrey Czyz
aafa741f29
Test default invoice field values
2021-04-29 14:08:42 -07:00
Jeffrey Czyz
383ebc0406
Require min_final_cltv_expiry in invoice
2021-04-29 14:08:41 -07:00
Jeffrey Czyz
e0ec016817
Use default for invoice's min_final_cltv_expiry
2021-04-29 14:08:41 -07:00
Jeffrey Czyz
25a3e041d9
Use constant for invoice's default expiry value
2021-04-29 14:04:12 -07:00
Matt Corallo
2484c1afc2
Add no-export tags for lightning-invoice where we can't map to C
2021-04-29 15:48:16 +00:00
Matt Corallo
3d3147fe83
Rename lightning_invoice::Signature to InvoiceSignature
...
This prevents aliasing the global secp256k1::Signature name in C
bindings and also makes it a little more explicit that the object
is different from other signature types.
2021-04-29 15:48:16 +00:00
Matt Corallo
236342332e
Do not return a reference to a u64 in rust-lightning-invoices
...
There is generally never a reason to return a non-mutable reference
to a u64 vs just copying it, same applies here. It makes the API
slightly less consistent, but is easier to map in bindings and just
makes more sense.
2021-04-29 15:48:16 +00:00
Valentine Wallace
b24d02c6a2
Add Features feature to invoices.
2021-04-26 12:29:46 -04:00
Valentine Wallace
2cbe4a09ec
Fix indentation in payment_secret function
2021-04-23 17:11:40 -04:00
Valentine Wallace
a62a71cb52
invoice: rename Route to RouteHint (which is more accurate)
2021-04-20 16:26:56 -04:00
Valentine Wallace
ad900658ce
Rename RouteHint to RouteHintHop (which is more accurate)
2021-04-20 16:26:56 -04:00
Valentine Wallace
21cb8db1b6
invoice: swap RouteHop for RouteHint
...
To prevent naming conflicts in bindings
2021-04-20 16:26:52 -04:00
Valentine Wallace
c3d25ed4bd
Fix Windows
2021-04-09 10:08:27 -04:00
Valentine Wallace
741f118da4
Clean up lightning-invoice Cargo.toml and README
2021-04-09 10:08:27 -04:00
Valentine Wallace
56069ba7aa
Clean up lightning-invoice CI, license, and add to workspaces
2021-04-09 10:08:27 -04:00
Sebastian
f00bb10a82
Pure import of lightning-invoice crate
...
Original repo: https://github.com/rust-bitcoin/rust-lightning-invoice
2021-04-09 10:08:27 -04:00