lnd.xprv/htlcswitch
Olaoluwa Osuntokun 2196d9375e
htlcswitch: obtain the min final CLTV delta directly from the InvoiceDatabase
In this commit, we modify the existing logic that would attempt to read
the min CLTV information from the invoice directly. With this route, we
avoid any sort of DB index modifications, as this information is already
stored within the payment request, which is already available to the
outside callers. By modifying the InvoiceDatabase interface, we avoid
having to make the switch aware of what the "primary" chain is.
2018-06-29 16:03:13 -07:00
..
hodl htlcswitch/hodl: add flag BogusSettle 2018-05-25 06:58:23 +02:00
circuit_map.go multi: use mutex-guarded ShortChanID() on OpenChannel 2018-05-09 16:06:49 -07:00
circuit_test.go multi: Complete upgrade to new sphinx package interface. 2018-05-02 00:22:25 -07:00
circuit.go htlcswitch/circuit: add half adds to circuit map 2018-03-09 21:08:42 -08:00
decayedlog_test.go htlcswitch/decayedlog_test: fix bug in gc unit test 2018-06-27 14:40:28 -07:00
decayedlog.go multi: 64bit aligment of atomic vars on arm/x86-32 2018-06-04 20:02:34 -07:00
failure.go htlcswitch/failure: add Reextract to SphinxErrorEncrypter 2018-03-13 16:33:28 -07:00
interfaces.go htlcswitch: obtain the min final CLTV delta directly from the InvoiceDatabase 2018-06-29 16:03:13 -07:00
iterator.go htlcswitch/iterator: extract error encrypter from ephemeral key 2018-03-13 16:33:28 -07:00
link_test.go htlcswitch: obtain the min final CLTV delta directly from the InvoiceDatabase 2018-06-29 16:03:13 -07:00
link.go htlcswitch: obtain the min final CLTV delta directly from the InvoiceDatabase 2018-06-29 16:03:13 -07:00
linkfailure.go htlcswitch/linkfailure: define LinkFailureError 2018-05-25 06:58:18 +02:00
log.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
mailbox_test.go htlcswitch/mailbox_test: add orchestrator pending/live test 2018-05-09 16:07:52 -07:00
mailbox.go multi: 64bit aligment of atomic vars on arm/x86-32 2018-06-04 20:02:34 -07:00
mock.go htlcswitch: obtain the min final CLTV delta directly from the InvoiceDatabase 2018-06-29 16:03:13 -07:00
packet.go htlcswitch: add new incoming+outgoing timeout fields to htlcPacket 2018-06-26 17:29:41 -07:00
queue_test.go htlcswitch: Remove obsolete fields from htlcPacket. 2017-12-14 17:53:58 -08:00
queue.go htlcswitch: ensure the packet queue exits on stop 2018-06-08 13:51:37 -07:00
sequencer.go build+multi: switch from bolt to bbolt 2018-03-10 19:01:13 -08:00
switch_test.go htlcswitch: obtain the min final CLTV delta directly from the InvoiceDatabase 2018-06-29 16:03:13 -07:00
switch.go htlcswitch: update forwarding policy verification to use new time lock info 2018-06-26 17:29:42 -07:00
test_utils.go htlcswitch: obtain the min final CLTV delta directly from the InvoiceDatabase 2018-06-29 16:03:13 -07:00