lnd.xprv/lnrpc/invoicesrpc
Joost Jager 4105142c96
channeldb+invoices: add invoice htlcs
This commit adds a set of htlcs to the Invoice struct and
serializes/deserializes this set to/from disk. It is a preparation for
accurate invoice accounting across restarts of lnd.

A migration is added for the invoice htlcs.

In addition to these changes, separate final cltv delta and expiry
invoice fields are created and populated. Previously it was required
to decode this from the stored payment request. The reason to create
a combined commit is to prevent multiple migrations.
2019-09-04 19:20:17 +02:00
..
addinvoice.go channeldb+invoices: add invoice htlcs 2019-09-04 19:20:17 +02:00
config_active.go lnrpc/invoices: add hold invoice rpc 2019-03-15 10:08:58 +01:00
config_default.go invoicesrpc: create sub server 2019-02-01 09:42:35 +01:00
driver.go invoicesrpc: create sub server 2019-02-01 09:42:35 +01:00
invoices_server.go invoices: fix synchronization issue with single invoice subscribers 2019-08-13 19:02:55 +02:00
invoices.pb.go lnrpc: upgrade to protobuf v1.3.1 2019-05-20 15:35:14 +02:00
invoices.proto invoicesrpc: SubcribeSingleInvoiceRequest fix 2019-05-10 22:02:58 -04:00
log.go invoicesrpc: create sub server 2019-02-01 09:42:35 +01:00
utils.go htlcswitch: hodl invoice 2019-03-15 10:09:17 +01:00