lnd.xprv/htlcswitch
Andrey Samokhvalov 7595bee27c htlcswitch: add usage of queue in channel link
In this commit usage of the pending packet queue have been added.
This queue will consume the downstream packets if state machine return
the error that we do not have enough capacity for htlc in commitment
transaction. Upon receiving settle/fail payment descriptors - add htlc
have been removed, we release the slot, and process pending add htlc
requests.
2017-05-31 11:06:08 -07:00
..
circuit.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
interfaces.go htlcswitch: add channel link config 2017-05-31 11:06:08 -07:00
iterator.go htlcswitch: add real sphinx iterator 2017-05-31 11:06:08 -07:00
link_test.go htlcswitch: add usage of queue in channel link 2017-05-31 11:06:08 -07:00
link.go htlcswitch: add usage of queue in channel link 2017-05-31 11:06:08 -07:00
log.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
mock.go htlcswitch: add channel link tests 2017-05-31 11:06:08 -07:00
packet.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
queue_test.go htlcswitch: add packet queue 2017-05-31 11:06:08 -07:00
queue.go htlcswitch: add packet queue 2017-05-31 11:06:08 -07:00
switch_test.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
switch.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
test_utils.go htlcswitch: add usage of queue in channel link 2017-05-31 11:06:08 -07:00