lnd.xprv/htlcswitch
Johan T. Halseth 12d3327833
htlcswitch/link_test: update Bandwidth tests
This commit updates the tests for checking a links Bandwidth()
calculation, after the change that made us use the remoteACKedIndex
instead of the logIndex when calculating it. The main result of this
change is that we never consider incoming updates before they are
acked, when calculating the bandwidth. This is because this was
inconsistent with the state we actually end up signing later on.
2018-02-02 21:16:37 -05:00
..
circuit_test.go htlcswitch: Rename htlcPacket fields for clarity. 2017-12-14 17:53:58 -08:00
circuit.go htlcswitch: Change circuit map keys to (channel ID, HTLC ID). 2017-12-14 17:53:58 -08:00
failure.go htlcswitch: add new ExtraMsg field to ForwardingError 2017-10-16 18:15:51 -07:00
interfaces.go htlcswitch: add new method to the ChannelLink interface, EligibleToForward 2017-12-06 16:42:57 -08:00
iterator.go htlcswitch: ensure onion related errors always have the BadOnion bit set 2018-01-08 19:50:21 -08:00
link_test.go htlcswitch/link_test: update Bandwidth tests 2018-02-02 21:16:37 -05:00
link.go channellink: make BatchTicker and BatchSize configurable 2018-02-02 21:16:36 -05:00
log.go lnd: remove seelog logger 2017-06-25 14:19:56 +01:00
mailbox_test.go multi: fix several typos in godoc comments 2017-12-17 18:40:05 -08:00
mailbox.go htlcswitch: add new ProcessContractResolution method 2018-01-22 19:19:38 -08:00
mock.go htlcswitch tests: add mockTicker struct 2018-02-02 21:16:37 -05:00
packet.go htlcswitch: add new ProcessContractResolution method 2018-01-22 19:19:38 -08:00
queue_test.go htlcswitch: Remove obsolete fields from htlcPacket. 2017-12-14 17:53:58 -08:00
queue.go htlcswitch: fix alignment of the packetQueue's fields for 32-bit systems (#507) 2017-12-22 16:32:11 +01:00
switch_test.go htlcswitch: Fix failure error handling on outgoing adds. 2017-12-14 17:53:58 -08:00
switch.go htlcswitch: handleLocalDispatch can now handle locally sourced resolutions 2018-01-22 19:19:56 -08:00
test_utils.go htlcswitch/test_utils: set BatchTicker mock and BatchSize 2018-02-02 21:16:37 -05:00