Skip to content

Commit

Permalink
Update content/md/en/docs/learn/networks-and-nodes.md
Browse files Browse the repository at this point in the history
Co-authored-by: Shawn Tabrizi <[email protected]>
  • Loading branch information
Hugo-Trentesaux and shawntabrizi authored May 24, 2024
1 parent 7c5785d commit 55d4bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/md/en/docs/learn/networks-and-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Full nodes store blockchain data and, typically, participate in common blockchai
By default, full nodes are configured to store all the blocks but only the most recent 256 states. They discard states older than that&nbsp;&nbsp;with the exception of the genesis block&nbsp;&nbsp;to prevent the full node from consuming too much disk space.
You can configure the number of blocks a full node retains (see `--state-pruning` and `--blocks-pruning` options).

Although older states are discarded, full nodes retain all the blocks from genesis to the head, allowing to rebuild all the intermediate states.
Although older states are discarded, full nodes retain all the blocks from genesis to the head, allowing them to rebuild all the intermediate states.
It is achieved by taking the genesis state as initial state and executing all the blocks successively on top of if.
Retrieving information about some previous state thus requires an expensive computation which can be avoided by using an archive node, which does not discard the states.

Expand Down

0 comments on commit 55d4bcf

Please sign in to comment.