lightningnetwork / lnd

Lightning Network Daemon ⚡️
MIT License
7.58k stars 2.06k forks source link

[feature]: return rescan progress in `GetInfo` call #8781

Open kaloudis opened 2 months ago

kaloudis commented 2 months ago

When the wallet is rescanning, it would be nice to see the progress - in terms of block height - returned in the GetInfo call. This would allow LND mobile wallets like ZEUS, Blixt, Breez etc. to easily convey to users that a rescan is occurring without having to grok logs.

guggero commented 2 months ago

I assume you mean a re-scan after being offline for a while (or when starting with --reset-wallet-transactions)? Because there already is a GetRecoveryInfo RPC, but that only returns anything (as its name implies) when the wallet is being recovered (restored from seed with a non-zero recoveryWindow).

tlindi commented 1 month ago

I pingpong everywhere where logging is talked related to mobile syncs.

I quess you both know difference of this issue vs ths one https://github.com/ZeusLN/zeus/issues/2055