From 39b71ef4a1f8a247e3a0683ec9c4f89ca5d20c6f Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 15 Sep 2021 16:58:19 +0200 Subject: [PATCH] doc: Add links to mandelbit's recovery walkthrough --- doc/FAQ.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/FAQ.md b/doc/FAQ.md index 0f2795fd4..371b5efcf 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -159,12 +159,22 @@ Which is to say that channels created after block [598000](https://blockstream.i You can verify it using the `features` field from the [`listpeers` command](https://lightning.readthedocs.io/lightning-listpeers.7.html)'s result. -Here is an example in Python checking if [one of the `option_static_remotekey` bits](https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md) is set in the negotiated features corresponding to `0x02aaa2`: +Here is an example in Python checking if [one of the `option_static_remotekey` bits][spec-features] is set in the negotiated features corresponding to `0x02aaa2`: ```python >>> bool(0x02aaa2 & ((1 << 12) | (1 << 13))) True ``` +If `option_static_remotekey` is enabled you can attempt to recover the +funds in a channel following [this tutorial][mandelbit-recovery] on +how to extract the necessary information from the network topology. If +successful, result will be a private key matching a unilaterally +closed channel, that you can import into any wallet, recovering the +funds into that wallet. + +[spec-features]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md +[mandelbit-recovery]: https://github.com/mandelbit/bitcoin-tutorials/blob/master/CLightningRecoverFunds.md + ## Technical Questions ### How do I get the `psbt` for RPC calls that need it?