dmigwi / sample

0 stars 0 forks source link

[BTC]: Retrieve data from the logs when running wallet recovery in the background and display the information on the UI #533

Open dmigwi opened 1 year ago

dmigwi commented 1 year ago

Issue first documented here: https://code.cryptopower.dev/group/cryptopower/-/merge_requests/1174#note_9925

btc wallet doesn't export the wallet recovery progress but that data can be collected from btc wallet logs

(Issue originally authored by: @Kennedy Izuegbu in gitlab.com)

dmigwi commented 1 year ago

This makes loads of sense instead of fetching the progress from the piped logs, our own recovery manager could helps us resolve that problem.

By Migwi Ndung'u on 2023-01-13T17:37:08 (imported from GitLab)

(Comment originally authored by: @Kennedy Izuegbu in gitlab.com)

dmigwi commented 1 year ago

https://pkg.go.dev/github.com/btcsuite/btcwallet/wallet#RecoveryManager

we have the option to create our own recovery manager to help in address discovery, it would also enable us to keep track of blocks that have been scanned and blocks that haven't been scanned

By Kennedy Izuegbu on 2023-01-13T17:37:08 (imported from GitLab)

(Comment originally authored by: @Kennedy Izuegbu in gitlab.com)

dmigwi commented 1 year ago

assigned to @dreacot

By Kennedy Izuegbu on 2023-01-13T17:12:27 (imported from GitLab)

(Comment originally authored by: @Kennedy Izuegbu in gitlab.com)

dmigwi commented 1 year ago

assigned to @dmigwi

By Kennedy Izuegbu on 2023-01-13T17:12:52 (imported from GitLab)

(Comment originally authored by: @Kennedy Izuegbu in gitlab.com)

dmigwi commented 1 year ago

unassigned @dreacot

By Kennedy Izuegbu on 2023-01-13T17:12:50 (imported from GitLab)

(Comment originally authored by: @Kennedy Izuegbu in gitlab.com)