Skip to content

Commit 39b71ef

Browse files
cdeckerrustyrussell
authored andcommitted
doc: Add links to mandelbit's recovery walkthrough
1 parent e6d5df7 commit 39b71ef

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/FAQ.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,22 @@ Which is to say that channels created after block [598000](https://blockstream.i
159159

160160
You can verify it using the `features` field from the [`listpeers` command](https://lightning.readthedocs.io/lightning-listpeers.7.html)'s result.
161161

162-
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`:
162+
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`:
163163
```python
164164
>>> bool(0x02aaa2 & ((1 << 12) | (1 << 13)))
165165
True
166166
```
167167

168+
If `option_static_remotekey` is enabled you can attempt to recover the
169+
funds in a channel following [this tutorial][mandelbit-recovery] on
170+
how to extract the necessary information from the network topology. If
171+
successful, result will be a private key matching a unilaterally
172+
closed channel, that you can import into any wallet, recovering the
173+
funds into that wallet.
174+
175+
[spec-features]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md
176+
[mandelbit-recovery]: https://github.com/mandelbit/bitcoin-tutorials/blob/master/CLightningRecoverFunds.md
177+
168178
## Technical Questions
169179

170180
### How do I get the `psbt` for RPC calls that need it?

0 commit comments

Comments
 (0)