Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Current size of synced blockchain? #8676

Closed
quantumproducer opened this issue May 21, 2018 · 19 comments
Closed

Current size of synced blockchain? #8676

quantumproducer opened this issue May 21, 2018 · 19 comments
Labels
F5-documentation 📑 Documentation needs fixing, improving or augmenting. Z1-question 🙋‍♀️ Issue is a question. Closer should answer.
Milestone

Comments

@quantumproducer
Copy link

How can I calculate how much disk space I need for a parity sync?
My 80 GB drive just got filled from warp syncing.

@iFA88
Copy link

iFA88 commented May 21, 2018

Foundation network:
-warp full sync ~21GB
-normal mode full sync ~105GB
-full node ~1115 GB

@iFA88
Copy link

iFA88 commented May 21, 2018

If you don't need old blocks use --no-ancient-blocks flag.

@quantumproducer
Copy link
Author

@iFA88 very helpful, thank you. Does a warp node require a full sync (105 GB) and then downsize to 21 GB?

@Tbaut Tbaut added Z1-question 🙋‍♀️ Issue is a question. Closer should answer. F5-documentation 📑 Documentation needs fixing, improving or augmenting. labels May 21, 2018
@Tbaut
Copy link
Contributor

Tbaut commented May 21, 2018

Please find updated numbers here:
https://wiki.parity.io/FAQ#what-are-the-parity-ethereum-disk-space-needs-and-overall-hardware-requirements
@iFA88 I do not agree with your naming.
A full node is what you get without any flag (~80GB). A full node with archive state tree is ~1.1TB

It is also useful to mention that --no-ancient-blocks flag isn't secure as the client does not perform the full blockchain verification from the genesis block.

@Tbaut Tbaut closed this as completed May 21, 2018
@5chdn 5chdn added this to the 1.12 milestone May 21, 2018
@5chdn
Copy link
Contributor

5chdn commented May 21, 2018

-warp full sync ~21GB

That's the size without ancient blocks.

@quantumproducer
Copy link
Author

@Tbaut , running wirth --pruning=light says "unstable". Is this the same as insecure, or is light a reliable way to sync?

I need to get smart contract data from a recent contract.

@Tbaut
Copy link
Contributor

Tbaut commented May 23, 2018

@quantumproducer the --light flag is statistically less secure than a full node where you verified all blocks from the genesis but the level of security remains very high as any transaction you do would be verified by fetching data from full nodes and verifying it against merkle roots.

Unstable is related to the release stability. Here it simply means that potential bugs remain. You should definitely give it a try and see if it works for you.

@quantumproducer
Copy link
Author

Thank you @Tbaut . --light seemed to sync faster but eventually stopped working.
My current solution is : increased storage space, running with fast, and a cache size of 1024. It reached block 5,000,000 in a few days, slow moving from here (is this expected?)

But it hasn't crashed and seems to be gradually incrementing :)

@Tbaut
Copy link
Contributor

Tbaut commented May 23, 2018

@quantumproducer let's not mix discussions. Feel free to have a look at our Gitter channel to continue the discussion.

@marknuzz
Copy link

marknuzz commented Nov 1, 2018

Just a note: A Google search for "parity node size" yields this page as result #3. However, the link to https://wiki.parity.io/Setup#ethereum-mainnet-hardware-requirements posted by @Tbaut on May 21, 2018, no longer contains this information about the storage requirements of various types of Parity nodes.

The information can now be found on the FAQ. https://wiki.parity.io/FAQ#what-are-the-parity-ethereum-disk-space-needs-and-overall-hardware-requirements

@Tbaut
Copy link
Contributor

Tbaut commented Nov 1, 2018

Thanks for the heads-up, I'll update it.

@5chdn
Copy link
Contributor

5chdn commented Nov 1, 2018

@vietthang207
Copy link

Hi all, I just have a small question. I want my node to have all snapshot from block 5000000, is there a way to config that?

@jam10o-new
Copy link
Contributor

@vietthang207 what do you mean by that? Warp sync snapshots? You should know that your node only keeps a single (the latest) snapshot that it creates every 5k blocks. I'm not sure what you are trying to achieve with a snapshot from block 5M.

@vietthang207
Copy link

@joshua-mir So what happened when I query historical snapshots that were not stored in the hard disk. Will parity take the closest snapshot and blocks to calculate that ancient snapshots? Will it find an archive node and query that?

@jam10o-new
Copy link
Contributor

jam10o-new commented Nov 26, 2018

@vietthang207 Ahh, you mean state not snapshots. Unfortunately that is not really possible with Parity currently. You can't have a "partial archive node" which I believe is what you want.

Feel free to put in a feature request, if this is something you need.

@vietthang207
Copy link

@joshua-mir Sorry, I misunderstanding state and snapshot. As my company form for only more than 1 year, we don't need data before that point and I think I can save some storage by a partial archive nod.

@jam10o-new
Copy link
Contributor

Please create a new issue so we can discuss/track this @vietthang207

@k06a
Copy link

k06a commented Jan 16, 2020

@5chdn not works

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F5-documentation 📑 Documentation needs fixing, improving or augmenting. Z1-question 🙋‍♀️ Issue is a question. Closer should answer.
Projects
None yet
Development

No branches or pull requests

8 participants