So far as I perceive, when a brand new node joined the community, it’s going to obtain 500+ GB blockchain knowledge that shall be used to confirm the blockchain integrity.
Begin from checking header from genesis block to tip block with a view to test the integrity whether or not the downloaded blockchain is corrupted or not, since blockchain is difficult to rewrite however straightforward to confirm.
Then, it is iterating the physique of block from genesis block to tip block which take days or even weeks to assemble UTXO (the present steadiness of every tackle).
For each block throughout iteration:
- Add an tackle to UTXO set if it is being an output (vacation spot) in a transaction.
- Take away the tackle from UTXO set if it ‘s being an enter (supply) in a transaction.
So, can I say the blockchain itself is stateless because it’s solely permitting append operation to generate new block thus it is solely storing transaction historical past.
From that stateless knowledge, each node can assemble UTXO units which is stateful the place each nodes preserve the state in its inner reminiscence (similar like how mempool saved). Appropriate?
If appropriate, that is imply UTXO of each nodes may be differ.
Please make clear my understanding.
So far as I perceive, when a brand new node joined the community, it’s going to obtain 500+ GB blockchain knowledge that shall be used to confirm the blockchain integrity.
Begin from checking header from genesis block to tip block with a view to test the integrity whether or not the downloaded blockchain is corrupted or not, since blockchain is difficult to rewrite however straightforward to confirm.
Then, it is iterating the physique of block from genesis block to tip block which take days or even weeks to assemble UTXO (the present steadiness of every tackle).
For each block throughout iteration:
- Add an tackle to UTXO set if it is being an output (vacation spot) in a transaction.
- Take away the tackle from UTXO set if it ‘s being an enter (supply) in a transaction.
So, can I say the blockchain itself is stateless because it’s solely permitting append operation to generate new block thus it is solely storing transaction historical past.
From that stateless knowledge, each node can assemble UTXO units which is stateful the place each nodes preserve the state in its inner reminiscence (similar like how mempool saved). Appropriate?
If appropriate, that is imply UTXO of each nodes may be differ.
Please make clear my understanding.