Joost Jager
e54b24289f
htlcswitch: move hop iterator into htlcswitch/hop package
...
Prepares for onion blob decoding outside of htlcswitch.
2019-09-05 15:30:31 +02:00
Olaoluwa Osuntokun
d8e6085c17
multi: update to go 1.11 gofmt
2018-10-07 14:37:38 +09:00
Conner Fromknecht
78439416c0
htlcswitch/circuit_test: test for relaxed DeleteCircuits
...
Modify unit tests to expect success when removing
already-deleted circuits, as well as test that extra
circuit deletions are ignored.
2018-08-20 16:45:42 -07:00
Conner Fromknecht
b608fca447
htlcswitch/circuit_test: use CircuitKey field names
2018-08-07 16:57:40 -07:00
Conner Fromknecht
1ded697e8d
multi: sort import paths with gofmt
2018-08-02 18:20:49 -07:00
Olaoluwa Osuntokun
6f60f139f4
multi: switch over import paths from roasbeef/* to btcsuite/*
2018-07-13 17:05:39 -07:00
Jim Posen
56e65339e0
multi: Complete upgrade to new sphinx package interface.
2018-05-02 00:22:25 -07:00
Dimitris Tsapakidis
4009f7f874
multi: fix typos in comments
2018-04-17 19:03:27 -07:00
Conner Fromknecht
75c7349823
htlcswitch/circuit_test: use circuit map config and test rextraction
2018-03-13 16:33:28 -07:00
Conner Fromknecht
403028da78
htlcswitch/circuit_test: use half adds in circuit map test
2018-03-09 21:08:42 -08:00
Jim Posen
4a29fbdab2
htlcswitch: Rename htlcPacket fields for clarity.
...
The src/dest terminology for routing packets is kind of confusing
because the source HTLC may not be the source of the packet for
settles/fails traversing the circuit in the opposite direction. This
changes the nomenclature to incoming/outgoing and always references
the HTLCs themselves.
2017-12-14 17:53:58 -08:00
Jim Posen
66e654bb42
htlcswitch: Unit tests for CircuitMap.
2017-12-14 17:53:58 -08:00