When rescan the progress bar can disappear or be far behind.
No progress bar:
Synced block displayed in the progress is far behind of the actual synced block. It stops displaying rescan progress after about 10 seconds and after a few minutes it disappears:
During rescan it's good to say the rescan is ongoing and display the current block:
We could completely remove the progress bar on the left and instead, during the rescan, tell what is the current synced block on the right side, also changing "Connected" to "Rescanning".
When rescan the progress bar can disappear or be far behind.
1) No progress bar:
![image](/attachments/51c340ea-1f1b-41f9-a6ea-bd1d1a0d163e)
2) Synced block displayed in the progress is far behind of the actual synced block. It stops displaying rescan progress after about 10 seconds and after a few minutes it disappears:
![image](/attachments/acc43071-0234-4bf6-8c83-af7e99ba3762)
```
{
"rescanning": true,
"rescan_progress": "0.3672",
"rescan_start_height": 3,
"rescan_height": 606068
}
```
3) During rescan it's good to say the rescan is ongoing and display the current block:
![image](/attachments/6de4433b-c700-43a9-89c8-a341f193a867)
We could completely remove the progress bar on the left and instead, during the rescan, tell what is the current synced block on the right side, also changing "Connected" to "Rescanning".
I remember working on some stuff related to this in the past. From what I recall, the left status area is a bit tricky to work correctly. There are multiple timers for other RPCs that share updating that area. I think the timer for checking getrescaninfo gets killed by other RPCs and stops updating, but I haven't looked at that code in awhile.
It would be nice to have a working rescan progress in the GUI somewhere.
I remember working on some stuff related to this in the past. From what I recall, the left status area is a bit tricky to work correctly. There are multiple timers for other RPCs that share updating that area. I think the timer for checking getrescaninfo gets killed by other RPCs and stops updating, but I haven't looked at that code in awhile.
It would be nice to have a working rescan progress in the GUI somewhere.
When rescan the progress bar can disappear or be far behind.
We could completely remove the progress bar on the left and instead, during the rescan, tell what is the current synced block on the right side, also changing "Connected" to "Rescanning".
I remember working on some stuff related to this in the past. From what I recall, the left status area is a bit tricky to work correctly. There are multiple timers for other RPCs that share updating that area. I think the timer for checking getrescaninfo gets killed by other RPCs and stops updating, but I haven't looked at that code in awhile.
It would be nice to have a working rescan progress in the GUI somewhere.