ExchangeUnion / xud-docker

Streamlined setup of xud and all dependencies via docker 🐳
https://docs.exchangeunion.com
GNU Affero General Public License v3.0
5 stars 5 forks source link

Show progress of Neutrino sync via lnd rpc call #354

Open peartobear opened 4 years ago

peartobear commented 4 years ago

A percentage of the progress in status field similar to bitcoind syncing process would give the user a better idea of potentially how long it'd take to sync the bitcoin and litecoin light clients.

kilrau commented 4 years ago

My former RaspiBlitz setup gave me a percentage on "LND syncing progress", maybe we can check what they used as indicator. Probably wallet birthday to current blockheight.

michael1011 commented 4 years ago

Does the RaspiBlitz support Neutrino?

kilrau commented 4 years ago

It doesn't, my bad.

michael1011 commented 4 years ago

I think just showing the number of blocks that LND has synced already would be best. Because right now it is still showing this until it is synced:

├───────────┼────────────────────────────────────────────────┤
│ lndbtc    │ Waiting for sync                               │
├───────────┼────────────────────────────────────────────────┤
│ lndltc    │ Waiting for sync                               │
├───────────┼────────────────────────────────────────────────┤
reliveyy commented 4 years ago

+1 for lnd syncing details

kilrau commented 4 years ago

Needs: https://github.com/lightninglabs/neutrino/pull/198

kilrau commented 4 years ago

Above got merged and will be in the next release!

kilrau commented 4 years ago

Lowering prio here since we now show neutrino sync percentage already by parsing logs. I believe above PR will only be in LND 0.11 . We can pick this up again once it's released.