So far as I perceive, when a brand new node joined the community, it’s going to obtain 500+ GB blockchain knowledge that might be used to confirm the blockchain integrity.
Begin from checking header from genesis block to tip block with a purpose to examine the integrity whether or not the downloaded blockchain is corrupted or not, since blockchain is difficult to rewrite however simple to confirm.
Then, it is iterating the physique of block from genesis block to tip block which take days or perhaps weeks to assemble UTXO (the present steadiness 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 maintain the state in its inner reminiscence (similar like how mempool saved). Appropriate?
If right, that is imply UTXO of each nodes is likely to be fluctuate.
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 might be used to confirm the blockchain integrity.
Begin from checking header from genesis block to tip block with a purpose to examine the integrity whether or not the downloaded blockchain is corrupted or not, since blockchain is difficult to rewrite however simple to confirm.
Then, it is iterating the physique of block from genesis block to tip block which take days or perhaps weeks to assemble UTXO (the present steadiness 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 maintain the state in its inner reminiscence (similar like how mempool saved). Appropriate?
If right, that is imply UTXO of each nodes is likely to be fluctuate.
Please make clear my understanding.