If nonce can change the hash then it should be changing the next block's previous hash? I am studing blockhain and i know that a block hash is linked to the next block in previous hash and it cant be changed for valid reason.
Reason is : because if someone have changed hash then then he/she would have to change in hundreds or millions of nodes/system also otherwise it wont be valid.
My question is :
If nonce will be changed by some miner then the hash will also get changed and it should be changing the next block's previous hash.
correct me if i am wrong. I mean if a miner can change the hash of a block then how he can replicate that hash in all the nodes or system for that block? this is confusing.
Miners don't change the hash of a published block, they change the nonce of a block template until the resulting hash is less than the target and only then publish the block.
So until then, there are no other copies that need changing and there are no other blocks that refer to the older failed versions of the published block.