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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Building a tiny blockchain

187 点作者 nitramm将近 8 年前

8 条评论

wildbunny将近 8 年前
This worries me. Bitcoin solved the double spend problem by using the LCR with PoW. That is the novel aspect which allowed cryptocurrencies to come into existence.<p>If you remove the LCR and PoW, all you are left with is a toy example which cannot work in practice.<p>What is needed is education about censensus design and bitcoin&#x27;s implementation of the solution, rather than a &#x27;how to guide&#x27; for building a basic linked list under the guise of &#x27;blockchain&#x27;.<p>Cheers, Paul.
评论 #14795849 未加载
评论 #14795835 未加载
评论 #14797022 未加载
cableshaft将近 8 年前
Regardless of the semantic discussion on what exactly a &#x27;blockchain&#x27; is and whether or not this qualifies, I found the article interesting by taking a tiny piece of the whole monster and demystifying it a bit.<p>I don&#x27;t see this any differently than a tutorial that makes a static image move around the screen with key presses. Is it a full game? Not at all. But can it teach you how to build a tiny piece of it, and you can look at other tutorials to figure out how to build other tiny pieces of it, and eventually synthesize that knowledge and make a full game? Yes.
评论 #14797107 未加载
Uptrenda将近 8 年前
So ah... where&#x27;s the part where you implement a working blockchain, again? There&#x27;s no proof-of-work, consensus logic, currency logic, accounting logic, peer-to-peer networking code, etc.<p>Instead this is just a list of hashed-linked documents... Not that much different from a Git repo or a basic file system with integrity checks. Hashing != blockchains.
评论 #14795611 未加载
评论 #14796651 未加载
kbody将近 8 年前
Clearly there&#x27;s an association to Bitcoin and there are certain expectations by people when mentioning blockchain.<p>It&#x27;s justified since blockchain on its own is a relatively simple data structure which on itself is not that significant. It&#x27;s the composition of all the elements that have given the value and recognition to this technology.
评论 #14797014 未加载
chrisallick将近 8 年前
I wanted to try re-writing in Ruby to warm up today. Can someone confirm this is correct? <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;chrisallick&#x2F;cb196b13555c86f9193f3ec4f7f15ecc" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;chrisallick&#x2F;cb196b13555c86f9193f3ec4...</a>
评论 #14796926 未加载
e12e将近 8 年前
Regardless of the quality of the article, it&#x27;s refreshing to see so many good questions and concise answers in this thread (mostly about blockchains-as-distributed-ledgers). It&#x27;s been a while since I saw such nice, civil and interesting technical discussion on hn.
jchrisa将近 8 年前
I&#x27;ve got a JS block-tree here. The root block is hashed from user content. <a href="https:&#x2F;&#x2F;github.com&#x2F;jchris&#x2F;document-coin" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jchris&#x2F;document-coin</a>
wildbunny将近 8 年前
When you&#x27;re talking about people&#x27;s money, just following tutorials and piecing something together does not cut it.
评论 #14798557 未加载
评论 #14797016 未加载
评论 #14797119 未加载