Is Git a Block Chain?
domustower.com
Is Git a Block Chain?
1–10 of 55 posts
Re: Is Git a Block Chain?
#2Re: Is Git a Block Chain?
#3Re: Is Git a Block Chain?
#4That is, a block in the bitcoin blockchain is valid not only if its hash matches what one would expect given the included transactions, but that those transactions adhere to the rules of bitcoin. (No double-spends, no dust transactions, etc).
While there are data structures in a git commit that must be present and/or follow a particular set of semantics, git does not enforce anything about the _contents_ of those commits.
Another key distinction: blockchains seek consensus, whereas divergent forks in git repos are by design.
EDIT: I should probably not distinguish too much between consensus and rule enforcement, as those two are obviously intertwined. :)
Re: Is Git a Block Chain?
#5Here's a writeup: https://github.com/ctfs/write-ups-2014/tree/master/stripe-ct...
A Gitcoin miner updates the ledger (a text file in the repo), and "mines" the next-smaller hash.
It doesn't have consensus, but it does give a neat programming challenge.
Re: Is Git a Block Chain?
#6Re: Is Git a Block Chain?
#7Re: Is Git a Block Chain?
#8Re: Is Git a Block Chain?
#9No, its not. Its just a chain. There's no block. The block in a blockchain is everything to do with distributed / trustless conscensus.
Re: Is Git a Block Chain?
#10No, its not. Its just a chain. There's no block. The block in a blockchain is everything to do with distributed / trustless conscensus.
Imagine how cool it would be if I could share a guid for my repo - and then your bit client (let's call it gitcoin, or maybe just bit) can fetch new commits from a distributed block chain (essentially the git log). Github is no longer an intermediary or a single point of failure. Private repo? Don't share the guid.