TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why is Git not considered a "block chain"?

4 pointsby kkoncevicius6 months ago

1 comment

symbolicAGI6 months ago
Git is a block chain in which successive data entries (commits) include the hash of the predecessor in the data such that the entire data set can be verified against data corruption by recomputing the hash codes of each successive entry and comparing the final hash code with the separately recorded latest hash code for the data set.<p>Other sequential data sets use this efficient consistency check, for example the Kafka log files do this.<p>In contrast, cryptocurrencies for example Bitcoin, use block chains whose hash codes are crypographically (slowly) calculated so that it is practically impossible to corrupt the data to arrive at a given hash code.<p>Git and Kafka use very efficient hash codes that do not have this anti-hacker feature. They only detect ordinary corruption from example missing, duplicated or garbled data as opposed to malicious data falsification.<p>&quot;Blockchain&quot; in common speech has the meaning of cryptographic block chain and that is why Git is not ordinarily considered to be a &quot;Blockchain&quot; despite it having data blocks whose verification is performed by chained (efficient non-cryptographic) hash functions.
评论 #42179472 未加载
评论 #42181267 未加载
评论 #42179292 未加载