Christian Decker
7f45947523
wallet: Store the description in the database for invoices
2018-07-30 03:04:45 +00:00
Christian Decker
55d450ff00
pay: Exempt a fee from the maxfeepercent rule it is still tiny
...
Several users have noticed that they cannot pay satoshis.place or similar places
that have tiny payment amounts if they are not directly connected. This is due
to the forwarding fee dominating the transferred amount.
This commit adds a new option, exempting tiny fees (up to 5 satoshis by default)
from having to pass the maxfeepercent flag. While we could have told users to
tweak maxfeepercent I think it is usefull to have a default exemption.
[Squashed --RR]
2018-07-30 01:05:43 +00:00
ZmnSCPxj
079778e357
invoice: Check duplicate preimage when explicitly sprcified.
...
Reported-by: @mcudev
2018-04-26 05:47:09 +00:00
Rusty Russell
76e8a11380
wallet: use json_escaped for invoice label.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2018-03-26 00:20:53 +00:00
ZmnSCPxj
159e736fc1
invoices: Implement autocleaninvoice.
2018-03-20 17:25:51 +01:00
ZmnSCPxj
3b0081aebb
invoices: Add delexpiredinvoice command.
2018-03-20 17:25:51 +01:00
Rusty Russell
242a934b8c
wallet: add check-source to makefile.
...
And fix up resulting breakage.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2018-03-07 18:55:51 +01:00
Igor Cota
cb6820d445
Do preimage, hash and consequentially bolt11 generation before we store the invoice in db.
...
This way we store bolt11 to the table as well, in case a client needs it later
2018-03-01 03:55:48 +00:00
ZmnSCPxj
978e5c67d8
invoices: Remove persistent in-memory invoice structures.
2018-02-28 11:17:08 +01:00
ZmnSCPxj
f05c86618c
invoices: Change iteration interface to be more abstract.
2018-02-28 11:17:08 +01:00
ZmnSCPxj
9b4c6699f9
invoices: Semantically separate invoice details from invoice.
...
In preparation for removing in-memory invoice structures.
Invoice details are requested rarely anyway.
2018-02-28 11:17:08 +01:00
ZmnSCPxj
59abc37258
invoices: Add expiration timer system.
...
Fixes : #502
Changes behavior of waitinvoice API!!
2018-02-05 08:52:42 +00:00
ZmnSCPxj
1e6747c28e
wallet: Pass in timers object during construction.
...
In preparation for expiration.
2018-02-05 08:52:42 +00:00
practicalswift
aefc887521
Fix typos
2018-01-18 20:50:07 +01:00
ZmnSCPxj
93dc90990f
invoices: Extensive reorganization of invoice system.
2018-01-16 13:03:54 +01:00