iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 370 forks source link

Fix: Milestone progress bar v2 #1857

Open kwek20 opened 4 years ago

kwek20 commented 4 years ago

Description of change

Progressbar now shows up when we walk down latest milestone -> latest solid during syncing. Previously this only showed up when we were moving back up from latest solid -> latest. As this part is the easy part and takes the least time, i added this

We have set a constant deciding that going down the tangle takes 95x as logn as going up and checking solidity.

Edit: Whoeps pushed the rebase of https://github.com/iotaledger/iri/pull/1856

Type of change

How was this tested

GalRogozinski commented 4 years ago

Currently while running this branch I don't see this working while walking down...

GalRogozinski commented 4 years ago

I just debugged... The content of the progress logger is simply not being changed... I guess it is not walking down enough to change the percentage...

Will keep on monitoring