Rescanning field at the bottom left side is not complete #157

Open
opened 3 months ago by onryo · 1 comments
onryo commented 3 months ago
Collaborator

When rescan the progress bar can disappear or be far behind.

  1. No progress bar:

image

  1. 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

{
  "rescanning": true,
  "rescan_progress": "0.3672",
  "rescan_start_height": 3,
  "rescan_height": 606068
}
  1. During rescan it's good to say the rescan is ongoing and display the current block:

image

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".
onryo added the
feature
medium priority
labels 3 months ago
Collaborator

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.