Skip to content

Commit bbe2aeb

Browse files
Update networks-and-nodes.md
1 parent 2b7950b commit bbe2aeb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

content/md/en/docs/learn/networks-and-nodes.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For example, Substrate blockchains are used to build the following network types
2929

3030
Blockchains require network nodes to be synchronised to present a consistent and up-to-date view of the blockchain state.
3131
Each synchronised node stores a copy of the blockchain and keeps track of incoming transactions.
32-
However, keeping a full copy of an entire blockchain requires a lot of storage and computing resources and downloading all of the blocks from genesis to the most recent isn’t practical for most use cases.
32+
However, keeping a full copy of an entire blockchain requires a lot of storage and downloading all of the blocks from genesis to the most recent isn’t practical for most use cases.
3333
To make it easier to maintain the security and integrity of the chain but reduce the resource requirements for clients wanting access to blockchain data, there are different types of nodes that can interact with the chain:
3434

3535
- [Full nodes](#full-nodes)
@@ -39,16 +39,16 @@ To make it easier to maintain the security and integrity of the chain but reduce
3939
### Full nodes
4040

4141
Full nodes are a critical part of the blockchain network infrastructure and are the most common node type.
42-
Full nodes store blockchain data and, typically, participate in common blockchain operations, such as authoring and validating blocks, receiving and verifying transactions, and serving data in response to user requests.
42+
Full nodes store blockchain data and, typically, participate in common blockchain operations, such as validating blocks, receiving and verifying transactions, and serving data in response to user requests.
4343

4444
![Full node](/media/images/docs/full-node.png)
4545

46-
By default, full nodes are configured to store only the most recent 256 blocks and to discard state older than thatwith the exception of the genesis blockto prevent the full node from growing indefinitely and consuming all available disk space.
47-
You can configure the number of blocks a full node retains.
46+
By default, full nodes are configured to store all the blocks but only the most recent 256 states. They discard states older than that  with the exception of the genesis block  to prevent the full node from consuming too much disk space.
47+
You can configure the number of blocks a full node retains (see `--{state,blocks}-pruning` options).
4848

49-
Although older blocks are discarded, full nodes retain all of the [block headers](/reference/glossary/#header) from the genesis block to the most recent block to validate that the state is correct.
50-
Because the full node has access to all of the block headers, it can be used to rebuild the state of the entire blockchain by executing all of the blocks from the genesis block.
51-
Thus it requires much more computation to retrieve information about some previous state, and an archive should generally be used instead.
49+
Although older states are discarded, full nodes retain all the blocks from genesis to the head, allowing to rebuild all the intermediate states.
50+
It is achieved by taking the genesis state as initial state and executing all the blocks successively on top of if.
51+
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.
5252

5353
Full nodes allow you to read the current state of the chain and to submit and validate transactions directly on the network.
5454
By discarding state from older blocks, a full node requires much less disk space than an archive node.
@@ -57,8 +57,8 @@ If you need to query historical blocks, you should purge the full node then rest
5757

5858
### Archive nodes
5959

60-
Archive nodes are similar to full nodes except that they store all past blocks with complete state available for every block.
61-
Archive nodes are most often used by utilitiessuch as block explorers, wallets, discussion forums, and similar applicationsthat need access to historical information.
60+
Archive nodes are similar to full nodes except that they do not discard old states. As a result, they have complete state for every block available without computation.
61+
For this reason, archive nodes are often used by utilities  such as block explorers, wallets, discussion forums, and similar applications  that need access to historical information.
6262

6363
![Archive nodes](/media/images/docs/archive-node.png)
6464

0 commit comments

Comments
 (0)