lnd.xprv/htlcswitch
Andrey Samokhvalov 0e2209cb12 htlcswitch: move onion blob processing
Step №4 in making htlcManager (aka channelLink) testable:

This step consist of two:
1. Start using the hop iterator abstraction, the concrete
implementation of which will be added later, basically it will we the
same sphinx onion packet processor, but wrapped in hop iterator
abstraction.

2. The RevokAndAck processing part have been replaced by the
"processLockedInHtlcs" function which implement the same logic, but make
it a bit simpler.

Such changes will allow as to get rid of the the unnecessary variables.
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 hop iterator 2017-05-31 11:06:08 -07:00
link.go htlcswitch: move onion blob processing 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 config 2017-05-31 11:06:08 -07:00
packet.go htlcswitch: recreate hlcswitch from scratch 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