3 ms·
Real blockchains do have a blockheader.prevHash field to indicate that the previous block is the one satisfying HASH(prevheader) == blockheader.prevHash T
by tromp 10y ago
Real blockchains do have a blockheader.prevHash field to indicate that the previous block is the one satisfying
HASH(prevheader) == blockheader.prevHash
This one actually adds a blockheader.hash field and instead compares
prevheader.hash == blockheader.prevHash
Naive indeed:-)
- runeks 10y agoGood video+interactive explanation: https://anders.com/blockchain/ https://anders.com/blockchain/