lnd.xprv/htlcswitch
Johan T. Halseth 854e2a0581
link test: add TestChannelLinkWaitForRevocation
This commit adds a test where we trigger a situation which would
previously make the link think it was never in sync, and potentially
create a lot of empty state updates. This would happen if we were
waiting for a revocation, while still receiving updates from the remote.
Since in this case we could not ACK the updates because of the exhausted
revocation window, our local commitchain would extend, while the remote
chain would stall. When we finally got the revocation the local
commitment height would be far larger than the remote, and FullySynced
would return false from that point on.
2018-05-09 08:47:21 +02:00
..
hodl htlcswitch/hodl_mask_test: tests HodlMask active flags 2018-05-02 00:18:50 -07:00
circuit_map.go htlcswitch/circuit_map: trim using NextLocalHtlcIndex 2018-05-02 01:12:17 -07:00
circuit_test.go multi: fix typos in comments 2018-04-17 19:03:27 -07:00
circuit.go htlcswitch/circuit: add half adds to circuit map 2018-03-09 21:08:42 -08:00
failure.go htlcswitch/failure: add Reextract to SphinxErrorEncrypter 2018-03-13 16:33:28 -07:00
interfaces.go htlcswitch: perform fee related checks at forwarding time 2018-04-06 14:52:00 -07:00
iterator.go htlcswitch/iterator: extract error encrypter from ephemeral key 2018-03-13 16:33:28 -07:00
link_test.go link test: add TestChannelLinkWaitForRevocation 2018-05-09 08:47:21 +02:00
link.go Merge pull request #1206 from wpaulino/temp-chan-failure-update 2018-05-08 19:33:20 -07:00
log.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
mailbox_test.go htlcswitch/mailbox_test: adds checks for reset and replay of pkts 2018-03-09 21:08:43 -08:00
mailbox.go htlcswitch: add additional comments and logging 2018-03-12 18:58:44 -07:00
mock.go htlcswitch+server: ensure we always send an update w/ a TempChannelFailure 2018-05-08 13:00:28 -04:00
packet.go htlcswitch/packet: adds serialization to htlcPacket 2018-03-09 21:08:44 -08:00
queue_test.go htlcswitch: Remove obsolete fields from htlcPacket. 2017-12-14 17:53:58 -08:00
queue.go multi: fix a-vs-an typos 2018-04-17 19:02:04 -07:00
sequencer.go build+multi: switch from bolt to bbolt 2018-03-10 19:01:13 -08:00
switch_test.go htlcswitch/switch_test: change forward() -> send() 2018-03-09 21:08:44 -08:00
switch.go htlcswitch+server: ensure we always send an update w/ a TempChannelFailure 2018-05-08 13:00:28 -04:00
test_utils.go multi: fix a-vs-an typos 2018-04-17 19:02:04 -07:00