Describe the enhancement
Blockchains electrum and esplora don't currently update the progress callback. For apps that expect progress this causes a problem. The blockchains that don't report progress should just call the progress call back with 0 and then 100 when done.
Use case
On apps that let the user select which blockchain there needs to be at least starting and ending progress call backs even if the underlying blockchain doesn't have intermediate progress updates.
Additional context
|
_progress_update: Box<dyn Progress>, |
|
_progress_update: Box<dyn Progress>, |
|
_progress_update: Box<dyn Progress>, |
Describe the enhancement
Blockchains electrum and esplora don't currently update the progress callback. For apps that expect progress this causes a problem. The blockchains that don't report progress should just call the progress call back with 0 and then 100 when done.
Use case
On apps that let the user select which blockchain there needs to be at least starting and ending progress call backs even if the underlying blockchain doesn't have intermediate progress updates.
Additional context
bdk/src/blockchain/electrum.rs
Line 121 in 5c42102
bdk/src/blockchain/esplora/blocking.rs
Line 121 in 5c42102
bdk/src/blockchain/esplora/async.rs
Line 139 in 5c42102