Hacker News new | ask | show | jobs
by limmeau 4422 days ago
Wouldn't it be even easier to just use Git for most of the heavy lifting?

- Ledger is a file in a Git repo

- Blocks are confirmed by committing them with a SHA1 with sufficiently many leading zeros (adjust a nonce in the commit msg until it fits)

- Some bot accepts all pull requests into the Github repo that are fast-forward and whose commits have sufficiently many leading 0s (possibly after confirming that the booking is valid ;)

We could call that... oh I don't know, DvcsCoin or so.

3 comments

'gitcoin'

Perfect name.

Knowing HN this is gonna be a show HN in a couple of days and rewritten in 10 lines of js a week after that.

This was a challenge in Stripe CTF3. As mentioned by aljungberg, see https://github.com/ctfs/write-ups/tree/master/stripe-ctf3/le...
That's what Stripe's CTF3's Gitcoin was like: https://github.com/ctfs/write-ups/tree/master/stripe-ctf3/le...
Interesting idea, but I hate the name :)