mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
854e2a0581
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. |
||
---|---|---|
.. | ||
hodl | ||
circuit_map.go | ||
circuit_test.go | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mailbox_test.go | ||
mailbox.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
sequencer.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |