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.

Building a tiny blockchain

187 pointsby nitrammalmost 8 years ago

8 comments

wildbunnyalmost 8 years ago
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 未加载
cableshaftalmost 8 years ago
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 未加载
Uptrendaalmost 8 years ago
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 未加载
kbodyalmost 8 years ago
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 未加载
chrisallickalmost 8 years ago
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 未加载
e12ealmost 8 years ago
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.
jchrisaalmost 8 years ago
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>
wildbunnyalmost 8 years ago
When you&#x27;re talking about people&#x27;s money, just following tutorials and piecing something together does not cut it.
评论 #14798557 未加载
评论 #14797016 未加载
评论 #14797119 未加载