substrate-docs
substrate-docs copied to clipboard
Information on Full Node is not correct AFAICT
https://github.com/substrate-developer-hub/substrate-docs/blob/1a4c24f46e7bc1010bf2f8707d1192075b136aac/content/md/en/docs/learn/networks-and-nodes.md?plain=1#L49-L51
In this paragraph it is said:
Although older blocks are discarded, full nodes retain all of the block headers from the genesis block to the most recent block to validate that the state is correct. 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.
But the header is not enough to replay the whole blockchain. Extrinsics are not part of the header and are needed to replay the block.
I think the doc confuse block and the storage associated to a block in the trie.
The full node discard the storage associated to old blocks in the trie. But keeps the blocks.