lnd.xprv/htlcswitch
Johan T. Halseth 9b7b3fa3b6
channellink: make BatchTicker and BatchSize configurable
This commit introduces a new Ticker interface, that can be used
to control when the batch timer should tick. This is done to be
able to more easily control the ticker during tests. The batch
timer is wrapped in the new BatchTicker struct, and made part
of the config together with BatchSize.
2018-02-02 21:16:36 -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: update to use new event stream from the chainWatcher 2018-01-22 19:19:51 -08: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: update tests to account for new API changes 2018-01-22 19:19:41 -08: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: update to use new event stream from the chainWatcher 2018-01-22 19:19:51 -08:00