de01721aed
Short: such abstraction give as ability to test the channel link in the future. Long: hop iterator represents the entity which is be able to give payment route hop by hop. This interface will be used to have an abstraction over the algorithm which we use to determine the next hope in htlc route and also helps the unit test to create mock representation of such algorithm which uses simple array of hops. |
||
---|---|---|
.. | ||
circuit.go | ||
interfaces.go | ||
iterator.go | ||
link.go | ||
log.go | ||
mock.go | ||
packet.go | ||
switch_test.go | ||
switch.go |