Hacker News new | ask | show | jobs
by zaarn 2990 days ago
Well, git has a lot of that too, atleast internally. Objects need to conform to git's internal format, otherwise the remote will reject it, similar to how Bitcoin only allows transactions if signed. (Git can sign too and with a hook it's enforceable)

The rest is fairly easy since you can enforce restriction with hooks that can do arbitrary edits and checks on the repository.

I imagine you can make git behave exactly like bitcoin with only a few simply hooks.

The main selling point of bitcoin is really only the "cannot be censored" part and that is a bit meh, tbh. The moment you need to use real cash to obtain it, the government can come, kick down your door and threaten you. Such things have happened in ISIS-controlled regions when people tried to buy bitcoin or otherwise get cash out of country.