lnd.xprv/htlcswitch
Olaoluwa Osuntokun 2ab03c57be
htlcswitch: re-introduce dynamic commitment log tick timer
This commit fixes a slight regression in the logic of the switch by
ensuring that the log commitment timer is only start _after_ we receive
a new commitment signature. Otherwise, the ticker will keep ticking and
possibly settle HTLC’s that’ve yet to be locked in, or waste a
signature causing us to be deprived of a revocation which is required
for us to initiate a new state transition.

Additionally, the commit performs a few minor post-merge clean ups.
2017-05-31 16:43:48 -07:00
..
circuit.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
interfaces.go htlcswitch: add channel link config 2017-05-31 11:06:08 -07:00
iterator.go htlcswitch: add real sphinx iterator 2017-05-31 11:06:08 -07:00
link_test.go htlcswitch: add usage of queue in channel link 2017-05-31 11:06:08 -07:00
link.go htlcswitch: re-introduce dynamic commitment log tick timer 2017-05-31 16:43:48 -07:00
log.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
mock.go htlcswitch: add channel link tests 2017-05-31 11:06:08 -07:00
packet.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
queue_test.go htlcswitch: add packet queue 2017-05-31 11:06:08 -07:00
queue.go htlcswitch: add packet queue 2017-05-31 11:06:08 -07:00
switch_test.go htlcswitch: recreate hlcswitch from scratch 2017-05-31 11:06:08 -07:00
switch.go htlcswitch: fix issues with forwarding stats logger display 2017-05-31 16:16:58 -07:00
test_utils.go htlcswitch: add usage of queue in channel link 2017-05-31 11:06:08 -07:00