3 ms·
The code in this post has a major bug. The data that’s hashed doesn’t include the hash from the previous block, so the chain can be tampered with by modifying
by barnabee 4y ago
The code in this post has a major bug.
The data that’s hashed doesn’t include the hash from the previous block, so the chain can be tampered with by modifying only blocks n and n+1.