]> git.bitcoin.ninja Git - rust-lightning/commit
Fix channel_reestablish exchanging in case of lost messages
authorMatt Corallo <git@bluematt.me>
Tue, 16 Oct 2018 02:03:12 +0000 (22:03 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 16 Oct 2018 02:03:12 +0000 (22:03 -0400)
commit17375b055146f55af75f1a22e5891b54ff94f9ca
treebd36f71e384ae086aefe6bab16e6ec433ec9d415
parentb4dcbfa569c5ead6eae9c114ff0fde29af93e04a
Fix channel_reestablish exchanging in case of lost messages

This uses the new storage in HTLC state enums to reproduce the
various updates in a CommitmentUpdate group which is obviously
required to re-send a commitment_update after pending unreceived
updates were dropped.

Does not yet handle dropped update_fee updates properly.
src/ln/channel.rs