lnd.xprv/htlcswitch
Joost Jager d416ed59ea
multi: add explicit hodl invoice flag to invoice
Previously it wasn't possible to store a preimage in the invoice
database and signal that a payment should not be settled right away. The
only way to hold a payment was to insert the magic UnknownPreimage value
in the invoice database. This commit introduces a distinct flag to
signal that an invoice is a hold invoice and thereby allows the preimage
to be present in the database already.

Preparation for (key send) hodl invoices for which we already know the
preimage.
2020-06-02 07:34:23 +02:00
..
hodl htlcswitch/hodl: switch from debug tag to dev 2018-10-05 13:04:45 +09:00
hop record: move CustomRecordSet 2019-12-12 00:12:19 +01:00
circuit_map.go htlcswitch: convert to use new kvdb abstraction 2020-03-18 19:34:55 -07:00
circuit_test.go server+mod: use ECDH interface for sphinx router 2020-05-20 09:05:36 +02:00
circuit.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
decayedlog_test.go switch: remove unused code 2020-04-24 19:15:08 +02:00
decayedlog.go multi: rename ReadTx to RTx 2020-05-26 18:20:37 -07:00
failure_detail.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
failure.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
htlcnotifier.go htlcswitch: add notifications for forwards 2020-02-19 18:03:22 +02:00
interfaces.go htlcswitch: sync link hand-off 2020-05-20 08:03:48 +02:00
link_isolated_test.go htlcswitch/test: add test cases that triggers empty commit sig 2019-11-06 09:21:21 +01:00
link_test.go multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00
link.go htlcswitch: sync link hand-off 2020-05-20 08:03:48 +02:00
linkfailure.go htlcswitch/link: add pending commit ticker for stall detection 2020-04-14 10:51:30 -07:00
log.go htlcswitch/hop: fix logging 2019-09-09 13:52:35 +02:00
mailbox_test.go htlcswitch/mailbox_test: use mailboxContext everywhere 2020-04-20 15:37:33 -07:00
mailbox.go htlcswitch/mailbox: rename Settle/Fail queue to indicate replies 2020-04-14 10:51:48 -07:00
mock.go Merge pull request #4183 from joostjager/sync-local-payment 2020-05-20 11:23:15 +02:00
packet.go htlcswitch: add linkError field to htlcpacket 2020-02-06 19:43:29 +02:00
payment_result_test.go routing: Fix dropped errors in tests. 2019-09-13 06:28:05 +00:00
payment_result.go multi: rename ReadTx to RTx 2020-05-26 18:20:37 -07:00
sequencer.go htlcswitch: convert to use new kvdb abstraction 2020-03-18 19:34:55 -07:00
switch_test.go Merge pull request #4300 from guggero/no-fastsha 2020-05-21 17:21:50 -07:00
switch.go htlcswitch: rename to getLocalLink 2020-05-20 08:03:52 +02:00
test_utils.go multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00