Support option_data_loss_protect for remote peer
authorAntoine Riard <ariard@student.42.fr>
Wed, 10 Jul 2019 19:48:23 +0000 (15:48 -0400)
committerAntoine Riard <ariard@student.42.fr>
Tue, 30 Jul 2019 04:38:20 +0000 (00:38 -0400)
commit2869e50d67ad5fc18b9434c771d7c227ead800ce
tree1c68fd8dc5b9393c818ec5b7ccbc383caf396972
parent283d40f2e41f6ee984a7f802200acf3482e6193f
Support option_data_loss_protect for remote peer

In case of sending channel_reestablish message, we join
our current per_commitment_point and their highest revocation
secret we know about

We set data_loss_protect by default and adjust encoding_init
test in consequence
src/ln/channel.rs
src/ln/msgs.rs
src/ln/peer_handler.rs