0e2209cb12
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. |
||
---|---|---|
.. | ||
circuit.go | ||
interfaces.go | ||
iterator.go | ||
link.go | ||
log.go | ||
mock.go | ||
packet.go | ||
switch_test.go | ||
switch.go |