TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why is Git not considered a "block chain"?

4 点作者 kkoncevicius6 个月前

1 comment

symbolicAGI6 个月前
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 未加载