lightning-app icon indicating copy to clipboard operation
lightning-app copied to clipboard

Android Recover with Pass Phrase

Open ghfranzmlq opened this issue 6 years ago • 10 comments

Description

Uninstalled Android Lightning app because secondary funding transaction was stuck in "Progress" because of chain not syncing to latest height. So after freshly installing and recovering with pass phrase it synced perfectly to the latest height except that Channel is gone and wasn't recovered. Balance is $0.00 now.

Steps to reproduce the behavior

Uninstall App after having funded and letting autopilot create a channel with balance.

Expected behavior

Channel should be recovered

Actual behavior

Channel wasn't recovered and list is empty

Screenshot and/or logs if applicable

ghfranzmlq avatar Jul 02 '19 05:07 ghfranzmlq

Same issue. On Android and using version 0.1.2

izzytdi avatar Jul 02 '19 11:07 izzytdi

Seed dont backup channels

nikito7 avatar Jul 02 '19 12:07 nikito7

@nikito7 Yeah I kind of suspected that,I wish there was a warning somewhere, maybe in the channel section. Something like "Warning: Channel balances can't be recovered once channel is closed or app uninstalled."

ghfranzmlq avatar Jul 02 '19 14:07 ghfranzmlq

What is the point of backing up this lightning wallet if it cant recover the funds in the lighting channels? Lightning is supposed to be the whole purpose of this wallet... Other wallets have channel backups, does this one not have it, or any tools to get our funds back from these channels?

izzytdi avatar Jul 02 '19 20:07 izzytdi

To be done

Related: https://github.com/lightninglabs/lightning-app/issues/1186

nikito7 avatar Jul 02 '19 21:07 nikito7

I closed my 0 balance issue because i now believe yours is more similar to mine. I had a channel open, closed it, but while it was closing I had to recover the wallet. When I opened it the funds were gone. I did not attribute it to recovering the wallet at first. But now I'm convinced that is what it was. Is there a way of recovering these funds?

Initial transaction id for opening channel: 511d526a692c521db69e20d98cfa4f7c8eb689136bec19f5cceeb90aa6164b5c

Where funds are currently sitting (transaction id): 9c7b968065da6596f0d6ca265eb7a89c1a89ff9bee4862899ca7b33c79229c1a

enoughofme avatar Jul 03 '19 01:07 enoughofme

so is there any way to recover funds?

izzytdi avatar Jul 05 '19 14:07 izzytdi

If you cleaned android no. If you have access to /data folder and have a file "channel.backup" maybe...

https://www.google.com/search?q=channel.backup+lnd

nikito7 avatar Jul 05 '19 15:07 nikito7

We're implementing a wallet recovery feature in case users are locked out of their wallet in https://github.com/lightninglabs/lightning-app/issues/1227. Static channel backup is also coming in https://github.com/lightninglabs/lightning-app/issues/1111. Although that only helps if users have closed their channels.

tanx avatar Jul 05 '19 20:07 tanx

Other wallets have channel backups, does this one not have it, or any tools to get our funds back from these channels?

Just to clarify lnd does indeed have static channel backups. With this, if you lose state, then you can restore your on-chain funds, then have the funds that were in your channels be transferred to your on-chain funds. The app today does maintain these static channel backups (SCBs), but if you deleted the app, then you also deleted this since they share the same storage.

We plan to enable iCloud+GDrive storage of the SCB file so if you loose your phone, but can log back into these respective services, then you'll be able to claim the remainder of your balances. We have more aggressive synchronization planned in the future, but care needs to be taken to ensure that it's done safely. Some other wallets my have this dynamic synchronization, but from my investigation there're unaddressed edge cases that could result in accidental breaches, or users need to sacrifice their privacy in order to use them. We're committed to providing a solution that is both privacy preserving, and as safe as possible given the current technology/protocol.

Roasbeef avatar Jul 09 '19 22:07 Roasbeef