|
|
|
|
|
by jacquesm
3107 days ago
|
|
You are simply wrong. Think of a blockchain as only one strand (say, the leftmost strand, from a leaf all the way to the root) of a Merkle tree. Think of a git repository as the whole tree. So no, they are not equivalent. If they were there would never be a way to have more than one branch depend on a previous one. |
|
The commit log is a strict DAG, if you don't have any merges, it is a strict blockchain, otherwise it gets fuzzy but is close enough.
I never said it's equivalent but that is what a blockchain is; "A blockchain [...] is a continuously growing list of records [...] which are linked and secured using cryptography."[0]
This doesn't mention "Can't be a merkle tree" for one, but also doesn't mention "can't consist of branches which merge again" or "requires proof of work" or "must use signatures" (cryptography refers to the hashes normally but can refer to anything else too)
Git also acts like a blockchain, if you change the past (edit a past commit) you need to update all following commits for the new hash and their children hashes and anyone who has the repository must do a force pull, similarly to how Bitcoin rejects fork chains with less proof-of-work.
It might be worth mentioning that Bitcoin also uses MerkleTrees for storage as they are very good for quickly comparing sets.
A blockchain does not necessarily process financial transactions at all and I don't see why it must be a requirement.
[0]: https://en.wikipedia.org/wiki/Blockchain