Questions tagged [state-trie-pruning]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Upgrade a fully synced node to archive node?

Is it possible to upgrade a fully synced node to archive node ? means can i download older states by changing gcmode to archive ? or i will have to start from scratch ?
4
votes
1answer
60 views

Ethereum pruning: What if no archival node existed?

I was reading about pruning in Ethereum which is basically a way to run a full node without needing to keep over 1TB of blockchain data. To my understanding, the whole blockchain exists but only keeps ...
0
votes
0answers
112 views

Really slow syncing on mainnet with SSD disk and archive mode

I've set up a full Parity Ethereum node connected to the main network on a server with 2TB SSD, 4 CPUs and 8GB memory. I've set the pruning mode to archive since my application does a lot of state ...
1
vote
1answer
172 views

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

We have set up a private Ethereum node for our blockchain application connected to the mainnet. The node runs on a server with 2TB SSD, 4 CPU and 6GB memory. It's been syncing for about a week and is ...
1
vote
0answers
68 views

Custom Merkle Patricia Tree

One of the requirements of building our company's DApp is to maintain a separate, custom Merkle Patricia Tree that contain's data from our company's platform only. The Tree needs all CRUD operations ...
1
vote
0answers
57 views

What portions of the block are validated in Geth's --fast and Parity's --warp mode?

When I am syncing an Ethereum node using Geth's --fast mode and Parity's --warp mode, what portions of the block are being validated as they are being downloaded? I understand that --fast and --warp ...
0
votes
0answers
113 views

How to make geth keep states for the last 10000 blocks instead of 128

If I understand it correctly, geth preserves states for the last 128 blocks and prunes states for all other blocks. I would like to keep states for a bigger number of last blocks, say 10000 blocks. Is ...
1
vote
1answer
43 views

Reference a long-forgoten account

In the Etherem Blog Vitalik says: "but we do not store history older than 5000 blocks.". 1) Is it to be understood that the state Trie does not contain the state of accounts which were not in use ...
6
votes
1answer
696 views

Full node sync only preserve the last 128 history states

While researching on the different sync modes and their behaviors, I learned that geth full sync will replay all transactions from the genesis and preserve all history states, while fast sync will ...
2
votes
1answer
269 views

Merkle tree child hashing process

Each non leaf node of a Merkle tree is just the hash of the concatenation of it's children. Does this literally mean stick the 2 hashes together or is there a more intricate process involved? i.e. ...
3
votes
0answers
848 views

Questions about geth state tree pruning [closed]

In current geth, how long (in terms of blocks) will a state tree node put into the death row before being pruned? Does this vary among different sync mode? And can we configure it? Besides state ...
2
votes
0answers
978 views

Geth traceTransaction: missing trie node [duplicate]

I have a fully synced Geth node and am trying to run the debug.traceTransaction() method, but it keeps giving me this error: Error: missing trie node ...
2
votes
1answer
2k views

Speed of syncing the chain in parity using archive pruning mode

I am using parity v1.7.0-beta-5f2cabd-20170727 and I sync with ethereum chain in archive mode in order to keep all states of smart contracts. The command i use to launch parity is parity --pruning ...
1
vote
1answer
91 views

What does State Trie save when pushing into array?

I'm interested/worried about the size of the State Trie over time Lets suppose I have a contract with two vars: uint myNumber; uint[] myArray; As far as I understand, If I change the value of "...
2
votes
1answer
105 views

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

Based on joeykrug's questions on Github: Is there any reason we need to store multiple copies of code if the same contracts use the same code? For example, if a contract is deployed and another ...
4
votes
1answer
135 views

Syncing a fraction of the blockchain

I have a few questions about the way the blockchain syncs. I noticed on a couple of posts while researching that it's possible to start the block chain from a certain block. It was suggested that if ...
3
votes
0answers
368 views

Do I have to set pruning to archive for supportive full node

I run a parity node on a server of mine (with a lot of resources and bandwidth) for the sole reason of supporting the network. I don't have any accounts there since my funds are on another machine. ...
7
votes
1answer
2k views

Is there a dynamic pruning in geth --fast?

Once i've downloaded the blockchain with geth --fast , is there a dynamic pruning on the up-comings blocks, or will I archive all the blocks from where I stand?
17
votes
1answer
350 views

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

What are the limits to how much the ETH blockchain can be pruned. Will ETH ever be practical on devices with limited resources such as a Raspberry Pi, Android or iOS wallet?
16
votes
2answers
10k views

What is the parity light pruning mode?

Parity offers four different pruning methods: archive, basic, fast and light: --pruning METHOD Configure pruning of the state/storage trie. METHOD may be one of ...
4
votes
0answers
376 views

How does ethereum keep track of changes on smart contract storage? [closed]

I'm aware that ethereum has essentially 3 tree-like structures: State data Receipts data Chain data As I've just learned from this question, contract storage resides on state data tree. Digging ...
4
votes
1answer
775 views

Can I do a pruned fast sync?

I would like to do a fast bootstrap of the Ethereum blockchain with minimal disk space usage. Can geth do a pruned fast sync?
12
votes
1answer
4k views

Why isn't fast sync the default?

As I understand, fast sync has all the security guarantees of a full sync, but is faster. Is that correct? If so, why isn't fast sync the default?
21
votes
1answer
3k views

Difference between a pruned and unpruned blockchain

At the Berlin Blockchain Meetup, Gustav Simonsson teased the Homestead release coming soon (tm) and we were discussing blockchain bloat and the current size of the Ethereum blockchain. We discussed ...
11
votes
2answers
199 views

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

Another way to put it: what is the root of trust for a full client on a network that has a potentially untrusted (or "owned") router+DNS? As I was going through the ethereum wiki semi-randomly, I ...
5
votes
1answer
379 views

How can we conserve disk space or compress the blockchain?

The blockchain is eating into my macs disk space. Will there be a way in the future to compress it or redirect to an external hard drive?
16
votes
1answer
3k views

What is state-trie pruning and how does it work?

Several sources mention the idea of state-trie pruning. What is that, and is it currently being implemented on the network? Is this a manual process or can it be done automatically? If Ethereum is ...
159
votes
7answers
116k views

What are the Ethereum disk space needs?

How fast is Ethereum blockchain growing and how big is it likely to get in the future? Is it still about 1 GB per month? Are there any data pruning or compression algorithms in place?