Blockchain-Technology-Lab / consensus-decentralization

Tool that analyzes blockchain decentralization on the consensus layer by looking at the block production distributions of various blockchain systems.
https://blockchain-technology-lab.github.io/consensus-decentralization
MIT License
25 stars 6 forks source link

Error when launching with a `--timeframe` and `--animated` `--plot` flags #115

Closed MokhFn closed 11 months ago

MokhFn commented 1 year ago

When i launch the tool with the following command, i get the error below :

python run.py --ledgers cardano bitcoin ethereum dogecoin --force-map --force-parse --plot --animated --timeframe 2023

image

For your information, i used only 2023 data for all 4 chains. A command without the --animated flag works correctly, but outputs plots since 2010 (which makes the plot pretty unreadable)

This latest remark, might be related to the fact that i haven't updated my local branch. However, when i did update my branch, the plotting that was once done in under 5 minutes for 3 chains and data from 2018 till now (cardano, bitcoin, ethereum) had become now much longer. It took me 25 minutes to genrate the same output, with the exact same scope of data and ledgers. So i reset my branch to the commits prior to the latest PR. Things went back to normal.

I haven't looked at the latest changes though, but it's important to say that the plots were still on a scale from 2010 up until now, which makes the charts almost unreadable.