tool/hsmtool: add a 'guesstoremote' command#3292
Conversation
|
Nice tool, my main concern is that we're starting to crowd the |
Yeah I was not sure about the README addtion. |
This, in the case of data loss on a channel with `option_static_remotekey` negotiated, allows to likely (if the dbid is not unreasonable) recover the funds from a remote unilateral close just with the hsm_secret. Changelog-added: A new command, 'guesstoremote', is added to the hsmtool. It is meant to be used to recover funds after an unilateral close of a channel with `option_static_remotekey` enabled.
73924d8 to
e0988a2
Compare
|
Thanks for the review ! |
|
ACK e0988a2 |
|
I think we should earmark these things for later collection into an faq in the docs 😉 |
This is the
static_remotekey-only version of #3217 (since I noticedto_remotekeys are (/were) actually derived from the localper_commitment_point, by the way if someone could explains me why I'd be interested ^^).I added a note to the README about it since all major implementations will implement it, it's likely that most of the newly created channels will enable
option_static_remotekeyin the near future and that this might be useful.