Skip to content
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

Disk Space parsing Bitcoin data #331

Open
mvcastellari opened this issue Dec 5, 2018 · 4 comments
Open

Disk Space parsing Bitcoin data #331

mvcastellari opened this issue Dec 5, 2018 · 4 comments

Comments

@mvcastellari
Copy link

I'm parsing all bitcoin data but im on block 230k and the mongo already have almost 120gb. From what I calculate it will need almost 3terabytes to storage everything, is there any changes i can do to store only critical data? (like for addresses it would be ok to store only the transactions txid instead of all the transaction info, i think this is what consume more space).

Please help, I'm not familiar with mongodb + node and after reading all the files I cant find on how to do those changes.

@gedanziger
Copy link
Member

are you checking only the mongodb size? Ours isn't taking up 3TB space.

@mvcastellari
Copy link
Author

Yes, the current database is bitcoin-db as you can see on this pic https://imgur.com/a/nXddYlz

But I'm not running the node on prune mode, maybe that's the difference between us?

@0xweb3builder
Copy link
Contributor

in mousebelt btc node, chain data is 227GB.

mongodb size is not big.
image

@mvcastellari
Copy link
Author

Your explorer doesn't store everything, as you can see for example our address 1BrasiLb2KMbdtuhb1chAVnS2FvcNGfV9J has only 28 transactions on http://mousexplore.mousebelt.com/btc/address/1BrasiLb2KMbdtuhb1chAVnS2FvcNGfV9J but on blockchain it have more than 10k. But maybe there's nothing that can be done to store all blockchain data with low disk space, I'll try to improve my droplet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants