-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI: Show blockchain sync progress as percentage to 2 decimal places #907
Comments
@darosior can you tag this one "good first issue"? It should be a super easy one :) |
@jp1ac4 Can I take this one ? |
Sure, that would be great thanks. Please note that it might not be possible to update the GUI's |
439af75 Fix blockchain sync precision, add tests (thomas) Pull request description: I've merged `roundup_progress` in `rounded_up_progress` since was in utils and was no longer used by any other method. I also added some tests to verify the precision's update but also for specific cases that we manage. By the way tests has been moved in the related file. Solves #907 ACKs for top commit: pythcoiner: ACK 439af75 jp1ac4: Tested ACK 439af75. Tree-SHA512: a87998d1e25c47d751dabc38f641f05f2544bf17cbdcf95d24e829a0aa9dd8ce2de3bdc72a52aced04ffd777412ca206641f914d9a083241d98ceea33d4c10cc
@nondiremanuel In #1386, the sync progress is shown on the home screen to 1 decimal place. Following #1457, we can now show it to 2 decimal places. Shall we use 2 decimal places on both the loading screen (for IBD) and home page (for existing wallets)? |
We need to update liana-gui with liana master then |
@thomask7b can you do this? |
If it's not too complicated, I agree to align the behavior. Not a major priority though. |
5d65a4e Use 2 decimal for sync progression in home page (thomas) Pull request description: Solves #907 ACKs for top commit: pythcoiner: ACK [5d65a4e](5d65a4e) Tree-SHA512: 677a132d42f426a37e30829e8a91bc6e7f258d3cfe808d4f0b5cadd1951b3cccd75527574200cf5e2319cf90e6ff5e6e88f387c457123cb9d556c81da458fe12
Currently, the percentage is shown to 2 decimal places, but the second decimal is always 0:
I think this can be resolved by increasing the number of decimal places of the
"sync"
entry in Liana'sgetinfo
command to 4.The text was updated successfully, but these errors were encountered: