Add devtools/mkpoint#3115
Conversation
|
From re-reading IRC I suspect I also need to mix in hsm_secret somewhere in this process. |
You can use it as a subdaemon (as
Yep, it contains the bip32 master key, but it's handled by hsmd. |
|
So what would be the right approach to dump a per-commitment point? Should I make |
|
I'd go for spinning up hsmd as a subdaemon, however that's the path I know the less about so I might be wrong. |
|
The channel I need this for is long closed and pruned from listfunds. I assume it's not even in the database file, but it can still be reconstructed using the information I got from the logs. |
98366d8 to
a4a115d
Compare
|
@Sjors I wonder for the same reasons I wonder moving @rustyrussell EDIT: After talking about it with ZmnSCPxj and cdecker it does not seem to be a good idea. I think I'll integrate it to the |
|
Closing in favor of #3186 which introduces the equivalent: |
Tool to dump a channel commitment point, useful for recovering funds.
It takes the following arguments:
chan #entries in log)For some reason hsmd.c doesn't have a header file, so I'm confused how to properly call its functions.
Background: https://bitcoin.stackexchange.com/questions/90196/how-to-recover-funds-from-a-force-closed-lnd-lightning-channel