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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Let's build a blockchain – A mini-cryptocurrency in Ruby [video]

62 点作者 seoguru超过 7 年前

4 条评论

1ba9115454超过 7 年前
This is probably the best mini implementation I&#x27;ve seen so far. The code is hosted at <a href="https:&#x2F;&#x2F;github.com&#x2F;Haseeb-Qureshi&#x2F;lets-build-a-blockchain" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Haseeb-Qureshi&#x2F;lets-build-a-blockchain</a><p>He&#x27;s missed one thing though, which a lot of these small implmentations miss, its the code for chain re-org.<p><a href="https:&#x2F;&#x2F;en.bitcoin.it&#x2F;wiki&#x2F;Chain_Reorganization" rel="nofollow">https:&#x2F;&#x2F;en.bitcoin.it&#x2F;wiki&#x2F;Chain_Reorganization</a><p>This is a crucial piece of code that figures out which chain is correct if 1 or more blocks arrive that have a greater proof of work than your current best chain.<p>But otherwise, a very good attempt.
评论 #15539944 未加载
giancarlostoro超过 7 年前
I want to see &quot;let&#x27;s build a blockchain&quot; minus the cryptocurrency. My understanding was that Medical and Financial institutions were more interested in the ledger not so much the currencies behind bitcoin and other cryptocurrencies. Or am I looking at this all wrong?
jschulenklopper超过 7 年前
Here&#x27;s an earlier example I found, building a tiny blockchain in Python: <a href="https:&#x2F;&#x2F;hackernoon.com&#x2F;learn-blockchains-by-building-one-117428612f46" rel="nofollow">https:&#x2F;&#x2F;hackernoon.com&#x2F;learn-blockchains-by-building-one-117...</a>.<p>Long, but accessible introduction. &quot;The fastest way to learn how Blockchains work is to build one.&quot;
ariza超过 7 年前
wanna learn it