r/howdidtheycodeit • u/stable_maple • Dec 10 '21
How does blockchain additions synchronize?
After writing this, I'm coming to the realization that what I've written doesn't make a whole lot of sense and doesn't convey what I'm trying to ask very well, but I'm still posting it in the hope that someone can understand what I'm trying to say, since I'm probably not going to get another chance to ask for awhile.
I want to implement a basic sort of blockchain with no proof of work penalty. I understand that, to add a new block, a hash of the previous block is used for conformation of the new block. In my implementation, I get how a single node can just append a new block to the ledger, but if Alice and Bob both download the ledger at the same time and append new blocks, how do we synchronize their additions? How does Alice get bob's block without waiting on Bob's addition?
View all comments
Show parent comment
1
u/stable_maple Dec 14 '21
I don't care about the "currency"side of cryptocurrency, I'm interested in the "crypto" side, specifically protecting historical data records from manipulation. I'm aware of some implementations, but I can't remember what they're called.