31 votes
Accepted

Difference between a pruned and unpruned blockchain

Lets take it one step at a time. Blockchains generally work by having an origin (genesis) state with a few accounts having funds, and then every block that you place on top of the chain moves those ...
Péter Szilágyi's user avatar
22 votes
Accepted

What is the parity light pruning mode?

geth and parity have differents methods to save the ethereum blockchain in their internal format. I made many benchs because i find it so long just to use a Wallet. The pruning mode is how the block ...
Ellis's user avatar
  • 2,354
20 votes

What are the Ethereum disk space needs?

As of 11/01/2016, ethereum blockchain (ETH, i.e. supporting DAO fork) downloaded in full mode occupies 75GB on my drive. Client is geth (go-ethereum), version 1.4.18, built from source cloned from ...
GoodMirek's user avatar
  • 301
18 votes

What are the Ethereum disk space needs?

I've stumbled upon the links bellow : 1- provides an online chart which presents the Ethereum's blockchain current size evolution alongside the Bitcoin blockchain's size. http://bc.daniel.net.nz/ ...
Badr Bellaj's user avatar
  • 18.8k
17 votes
Accepted

Why isn't fast sync the default?

Two reasons: Fast sync indeed has one additional weakness compared to full sync. As long as an attacker can keep you isolated from the main chain (e.g. infect your router), it may construct an ...
Péter Szilágyi's user avatar
13 votes

What is the parity light pruning mode?

With each block state (contracts storage and balances) is changing. By default (archive) we keep in database full state of every block. With different pruning algorithms we are ditching state data ...
todr's user avatar
  • 131
10 votes

What are the Ethereum disk space needs?

Benchmarks done on Homestead in june 2016 Geth 1.4.9 on i7 3720QM 16GB ram and SSD ----------------------------------------- | - | Full | Fast | Light | |-----------|--------|--------|...
Ellis's user avatar
  • 2,354
9 votes
Accepted

Is there a dynamic pruning in geth --fast?

Simple answer no. --fast download a pruned version of the state tries, but it behaves like archive after. So if you want spare disk, remove your blockchain with geth removedb and do a --fast again.
Ellis's user avatar
  • 2,354
7 votes
Accepted

Full node sync only preserve the last 128 history states

The behavior has changed with the release of geth v1.8.0 Fromt the release notes Tracing and pruning: By default, state for the last 128 blocks kept in memory. Most states are garbage collected. ...
Ismael's user avatar
  • 30.6k
6 votes

What are the Ethereum disk space needs?

I'm syncing a node in full mode. At the moment it' on block 5005306 (end of January 2018) and it is 700Gb. It's probably been running for more than 20 days
Diego's user avatar
  • 317
5 votes
Accepted

Can Ethereum be pruned to the extent that it could be run from a Raspberry Pi?

Light clients are on the way for lower power embedded devices. I believe these light clients only get block headers initially, and further data as needed on-demand from full nodes on the Ethereum ...
M. K.'s user avatar
  • 630
5 votes

How dependent is the ethereum client on the router and DNS being trusted?

The ethereum clients connect to some trusted nodes that I believe are run by the ethereum foundation. The p2p layer uses authenticated encryption, so these connections are secure regardless of what ...
Ethan's user avatar
  • 724
4 votes

How dependent is the ethereum client on the router and DNS being trusted?

Yes, there is an assumption that when the node tries to connect to a given IP address, that in fact it is. To restate what Ethan said a little differently, if you are concerned that you might be MITM'...
A. Frederick Dudley's user avatar
4 votes

What are the Ethereum disk space needs?

2023 update. You can now use chainstats, a page made by Chainstack, a blockchain infrastructure provider (full disclosure, I'm a dev advocate at Chainstack and worked on this page). This app displays ...
Dave Dev Advocate Chainstack's user avatar
3 votes
Accepted

I can no longer access old blocks via RPC in full syncmode?

Update: I had originally thought the OP's question was about stored state, but have since realized that even the block headers seem to be unavailable. Answers have been edited a bit to reflect this, ...
The Renaissance's user avatar
2 votes

Can I do a pruned fast sync?

Use geth --fast: --fast Enable fast syncing through state downloads This only downloads the blockchain and verifies the proof-of-work. It does not commit all transactions included in ...
q9f's user avatar
  • 32.9k
2 votes
Accepted

Why does the blockchain store multiple copies of the same code?

For now it's probably for simplicity of implementation - due to the fact that keeping one copy properly would require reference counting. Since contracts can be destroyed using the SUICIDE opcode, if ...
Matthew's user avatar
  • 205
2 votes
Accepted

What are the benefits of ethereum 'archive' sync mode and who should use it?

Archive nodes are only necessary if you're going to be querying historical nodes that are no longer on the state trie. That said, even fast-pruned nodes allow you to inspect some (configurable) depth ...
Joshua Mir's user avatar
1 vote

State trie pruning and synching, how does that work?

The state isn't pruned during syncing, it is pruned after. During sync the node downloads accounts incrementally until the whole State is downloaded. After the node is in sync, pruning is activated. ...
Nulik's user avatar
  • 4,061
1 vote

Is there Blocks Pruning in ethereum clients specialy geth? (and other questions)

Blocks aren't pruned. They are stored in geth/chaindata/ancient directory and you can't delete them because your Geth is serving this information to other nodes that at any point in time would need to ...
Nulik's user avatar
  • 4,061
1 vote

Reference a long-forgoten account

This is incorrect. I think the disconnect is that the block doesn't just contain changes to the state, it also contains the state root itself, which is generated using the entire current state. ...
natewelch_'s user avatar
1 vote

How to Make Geth 1.9+ Full Node to Trace Ancient Blocks?

You need to run an archive node, rather than just a full one. Use --gcmode archive command line option. See documentation for details.
Mikhail Vladimirov's user avatar
1 vote

Upgrade a fully synced node to archive node?

Someone correct me if I'm wrong but as I've understood it archive node can be built from full node information. Full node basically gets all blocks in history and processes them (more specifically: ...
Lauri Peltonen's user avatar
1 vote

Ethereum pruning: What if no archival node existed?

Seeing as nobody else has provided any answer let me try to give an answer of some sort. I'm not very familiar with this and googling was giving me a bit contradictory results - somebody please ...
Lauri Peltonen's user avatar
1 vote

Merkle tree child hashing process

I asked myself this question too, and by looking at bitcoin's implementation of merkle trees, it seems like the two hashes are first, treated as binary data and second, they're indeed concatenated.
mgul's user avatar
  • 111
1 vote
Accepted

Speed of syncing the chain in parity using archive pruning mode

Thanks for accepting the challenge of running a full archive node! :D 1) what are the drivers for the speed of the syncing in archive mode in parity ? Is that CPU ? Disk (hdd vs ssd) ? Memory (I ...
q9f's user avatar
  • 32.9k
1 vote

Syncing a fraction of the blockchain

I wouldn't recommend using that approach of mocking/downloading the ethereum blockchain ahead of time to skip a full sync. If you want to just sync the bare minimum of the ethereum blockchain, you ...
Oisin's user avatar
  • 121

Only top scored, non community-wiki answers of a minimum length are eligible