So far as I perceive, when a brand new node joined the community, it is going to obtain 500+ GB blockchain knowledge that can be used to confirm the blockchain integrity.
Begin from checking header from genesis block to tip block with a view to verify the integrity whether or not the downloaded blockchain is corrupted or not, since blockchain is tough to rewrite however simple 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 stability of every deal with).
For each block throughout iteration:
- Add an deal with to UTXO set if it is being an output (vacation spot) in a transaction.
- Take away the deal with 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 hold the state in its inner reminiscence (identical like how mempool saved). Right?
If appropriate, that is imply UTXO of each nodes could be fluctuate.
Please make clear my understanding.