by endisneigh · 5y ago · 0 comments
How is blockchain superior than me just creating a git repository on GitHub called "allmoney" and just setting it up such that a commit represents a transaction and the log represents the ledger?
I also don't see how block chains or smart contracts can override reality. Let's say you buy a house using a smart contract, and someone, in real life, comes to you with a gun and says give me your wallet and transfer it to me, or you die. Are we supposed to just accept that? If not, what mechanism will undo the crime and restore the house back to the [rightful] owner?
it just all seems dumb, imo - technology cannot exist in a vacuum, ever.
Also, I can make a PR that says that Joe gave me 100$. When Joe in fact did not give me 100$, in fact, Joe doesn't even know me. Yet I can still make a PR for that and how would you know to merge it or not?
Also, I can make a PR where I have 0$, but I transfer 10000$ from myself to Barbara. What is there to stop it? You could just go and accept my patch and I just created money that didn't exist.
Another example is I can have 10000$ and make 10 PRs all showing that I am transferring that 10k to a different person. You merge them all, and now with only 10k I managed to transfer 100k.
Etc.
Basically it's just insufficient in many many ways.
Blockchain requires everything to be cryptographically signed. In a blockchain, each dollar is cryptographically accounted for. Each person is cryptographically accounted for. And the whole system is redundant so that if you temper with one repo it doesn't matter, you need to temper with the majority of them.
Edit: And to your other question. If someone forces you to transfer your coins from your wallet to theirs, you got your coins stolen. Currently most cryptocurrency are designed to be anonymous. In that case, you're screwed. But there could be non-anonymous cryptocurrencies. Those would allow to track criminals much more effectively as it be difficult for them to hide the trail of money. Even in the anonymous case though, if there were processes around this, the network could decide okay this transaction was fraudulent, we agree, and the money trail would all be there, so it could choose to correct it, reinstitute you the fund, do charge backs, or whatever else it wants. That would be much harder with real cash, because the cash is gone, even if you say yup your cash was stolen, nobody knows where it is now. With crypto you'd know where it is, and you'd know which wallet stole it from yours. So that's already a little better.
For example, you could imagine that you'd have say 24h to claim a fraudulent transaction, as soon as you do, all stolen funds could be frozen in the entire network for 14 day, where an investigation would take place. Etc. The technology opens up this kind of things.
Not quite true. Git makes it possible to hard fork it’s internal commit tree, and easily move the HEAD marker to your new fork. But it’s obvious to everyone observing the tree that the modification has happened.
Same applies to all normal blockchains. Only difference is that blockchain clients will ignore that fork if the correct proof work hasn’t been provided, but you could add that to a git commit if you really wanted too.
The git commit tree is cryptographically signed, every commit is identified by its cryptographic hash, and that has is taken from the content of the commit, which includes the hash of the parent commits. So you can cryptographically prove that a specific git tree is properly linked together, and the each individual commit hasn’t been tampered with.
The ability to detect tampered commits, and observe forks is all you really need for a blockchain. Everything else is just deciding how you determine which branch is the “real” branch. But you don’t need proof of work for that, it could be enforced by courts or governments the old fashioned way.
As for your PR stuff. You can fix that by publishing an agreed set of valid commit types, which limits the types of modifications that are allowable. Then when validating a tree, you ignore commits that don’t meet that specification (just like more traditional blockchains do).
Ultimately the only novel thing blockchains bring to the table is proof of work algorithms etc which allow for supposedly decentralised trust.
But decentralised trust doesn’t really exist when dealing with physical assets. At the end of the day ownership is determined by your ability to physically defend your assets, or ability to convince the state to defend them on your behalf. So if the state says you don’t own your house (and the courts agree), then the content of your decentralised blockchain is irrelevant because it won’t stop the police from forcibly evicting you.
Git has some of the properties you'd want, but not all, could you implement more things on top of git to create a blockchain, possibly yes, but that doesn't make git a blockchain.
I like the wikipedia qualification for this:
> Logically, a blockchain can be seen as consisting of several layers:[21]
> infrastructure (hardware) networking (node discovery, information propagation and verification)
> consensus (proof of work, proof of stake)
> data (blocks, transactions)
> application (smart contracts/dApps, if applicable)
Lacks replication? What do you think the git clone and fetch commands do?
Validation is easily turned on, you can tell git to traverse the tree it pulls and make sure it's cryptographic integrity is upheld, that just a config flag.
Consensus is that "hard" one, but even that has already been solved on community-by-community basis. For the Linux kernel the community consensus is that Linus git repo is truth, but that can easily be changed if the community wanted to.
Certainly you need a few extra bits and bobs to build a proper cryptocurrency on top of git. But all the basics are there, and for many applications a git repository would be a perfect substitute for blockchain.
The point of cryptocurrency and smart contracts from a technology perspective is that it is distributed, decentralized/p2p, and has immutable atomic operations. There were lots of early cryptocurrencies and lots of early ledgers. World of Worldcraft gold is a a digital currency if you want to call it one.
What bitcoin solved was decentralized atomic operations (double spend). That's pretty much it. Whether or not you need that is open for debate, but points like you're making are ridiculous.
in practice what's the difference? what can you do with a blockchain that you couldn't do with a repo?
EDIT: A blockchain is not just about keeping a history, it's also about maintaining liveness of the chain and preventing censorship even when many non cooperating parties are involved with conflicting incentives.
this is literally already what happens with software development now.
the groundbreaking innovation when it comes to blockchain is distributed trust. you don't have one entity that decides what happens in case there is disagreement. Everyone, following the same rules, reach the same conclusion.
try doing that with pull requests.
Yes, and yes.
Paypal is superior to a github repo, but that doesn't mean they can't do the same job. Twitter is superior to an email chain, in most situations, but that doesn't mean it can't do the same job.
Concrete is superior to wood, that doesn't mean you cannot build houses out of wood. You could theoretically build a payments system on top of github, it might not be as efficient but it'll work.
To partially address your question about the github "allmoney" repository, some people already have a similar system called Hawala. People who make that system need to have networks of trust set up.
In my mind at least, blockchain is probably a stricter subset of the git feature set (no git push --force, only git commit -a -m is allowed, and probably a much more strict process to merge PRs to the master branch). There's probably a built in verification and mirroring aspect as well.
In my mind, blockchain is a very strict, application specific implementation of git for finance.
Blockchains are designed in such a way that each new block contains information from the previous block. Changing a single transaction in the past on a blockchain requires doing all the work to make each subsequent block conform to the rules, something which is designed to be prohibitively expensive to do by generating unlikely random hashes with special properties. Even if someone decided to do this anyway, the protocol says that in the case of competing chains, go with the chain that has the most work put into it. So it's just not feasible for someone to rewrite history in a healthy chain with many nodes validating/mining blocks; they just can't catch up, and nobody will trust their chain.
Git commits are designed around the idea that they can be rearranged relatively freely, and rearrangements are cheap, so there's no good criteria for trusting the git history that has the most work done with it.
Not true for a distributed blockchain.
what? no, the original repo is the real repo. my point is, is that the transparency makes it impossible for you to not trust me/GitHub.
why wouldn't you trust? you can see nothing was altered yourself - and if it is altered, the issue isn't trust anymore, I've simply committed fraud and you can use the existing legal system to punish me.
this is the same reason you would trust open source software installed on your machine, said machine that presumably has access to your environment/browser/etc which could contain a virus to take your existing fiat money today.