3 ms·
https://medium.com/@shiyan/ethereum-summary-a53c4a8e66d https://medium.com/@shiyan/ethereum-summary-a53c4a8e66d "I found blockchain resembles Git, the source c
by billconan 9y ago
https://medium.com/@shiyan/ethereum-summary-a53c4a8e66d https://medium.com/@shiyan/ethereum-summary-a53c4a8e66d
"I found blockchain resembles Git, the source code management system a lot. Git is decentralized, each programer has a local duplication. What’s saved by Git is a journal of updates to source files (commits). To get the latest file, you apply a series of patches onto the initial commit. You can generate local git commits. These commits will not be written to other people’s Git repository yet, until you perform a “git push”. This is like having a local Bitcoin block, but only when you have won a lottery (mined a lucky number), you have the opportunity to write your local block to the blockchain. You also cannot write random data to the blockchain. Your change has to be verified by others, just like doing code reviews before a “git push”. Or in Bitcoin, a commit (a data write to the blockchain) has several recent transactions. Each of them needs to be cross verified by others."