Y
Hacker News
new
|
ask
|
show
|
jobs
by
ceejayoz
2771 days ago
If Git is a blockchain, explain `git push --force`.
1 comments
craftyguy
2771 days ago
A way to break the chain and create a new one. I was making a joke and using a very loose definition of 'blockchain'[0], so shoot me.
0. "a data structure that carries some quantum of payload and a reference to the previous block"
link
gibsons77
2771 days ago
I guess DAG with a merkle tree data structure would be more appropriate. Blockchain
should
be reserved for DAG's that use Nakamoto Consensus (or similar) to determine the longest chain.
link
0. "a data structure that carries some quantum of payload and a reference to the previous block"