Improve PermanentFailure requiremnts documentation
authorAntoine Riard <ariard@student.42.fr>
Fri, 28 Aug 2020 20:31:31 +0000 (16:31 -0400)
committerAntoine Riard <ariard@student.42.fr>
Tue, 15 Sep 2020 22:17:37 +0000 (18:17 -0400)
commit6622ea724f9947a52600d5743cbd8d8f45d1e6e4
treec3e4de89d425a54311a93d49f7d4654bba60f31c
parente706c67bdb508247f54bb11c698646db5e5839a2
Improve PermanentFailure requiremnts documentation

Sources of the failure may be multiple in case of distributed watchtower
deployment. In either case, the channel manager must return a final
update asking to its channel monitor(s) to broadcast the lastest state
available. Revocation secret must not be released for the faultive
channel.

In the future, we may return wider type of failures to take more
fine-grained processing decision (e.g if local disk failure and
redudant remote channel copy available channel may still be processed
forward).
lightning/src/ln/channelmonitor.rs