0

This is my first time dealing with Ethereum nodes. With other coins, such as bitcoin, we have the option to "prune nodes" which allows us to only store the newest blocks to save space and resources.

Is this possible with Ethereum? I don't want to store the entire Ether blockchain, but am not sure if this is possible. How can I enable such a feature if it exists?

1

Here are some of the different options on syncing with geth

  • "Full" Sync: Gets the block headers, the block bodies, and validates every element from genesis block.

  • Fast Sync: Gets the block headers, the block bodies, it processes no transactions until current block - 64(*). Then it gets a snapshot state and goes like a full synchronization.

  • Light Sync: Gets only the current state. To verify elements, it needs to ask to full (archive) nodes for the corresponding tree leaves.

Light sync is execute with geth --light and it is likely what you are looking for.

  • To add to this, here is an article that gives a great in-depth explanation of the various combinations of sync modes and associated sync-time and storage requirements: dev.to/5chdn/… – Mark Toda Oct 29 '18 at 10:19
0

Depends on what u r using for ethereum. The --light option is mandatory in newer versions of geth and parity. This will probably be the closet to pruning u can get.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.