Bitcointalk · Ummmm... where did my bitcoins go?

中本聪,2010 年 5 月 18 日

SN-0512 已核对来源,附原文与上下文。

阅读语言
中文译文

耗时的其实不是下载,而是下载时验证所有区块里的全部签名。

初始区块下载通常要花多久?中途会变慢,还是全程速度差不多?

我想过对链条的大部分做更粗略的检查、只认真验证最后几千个区块。可行,但工作量大,而且还有许多优先级更高的事要做。

简化支付验证(SPV)是为轻量级纯客户端用户准备的:他们只做交易、不生成、不参与节点网络。他们不需要下载区块,只需下载哈希链——目前大约 2MB,验证极快(验证整条链不到一秒)。如果网络变得非常大,比如超过 100,000 个节点,我们就用这个让普通用户不必成为完整节点也能交易。到那个阶段,大多数用户应该开始运行纯客户端软件,只有专业服务器农场继续运行完整网络节点,有点像 usenet 网络的整合方式。

SPV 尚未实现,也要到很远的将来才会实现,但当前的所有实现都是围绕支持它而设计的。

与此同时,vekja.netwww.mybitcoin.com 这类站点一直在试验基于账户的网站。你在网站上创建账户,把比特币存在那里的账户里,转入转出。在网站注册账户比安装、学习使用软件容易得多,对大多数人也是更熟悉的方式。唯一的缺点是你必须信任该站点,但对零钱数额的微支付和杂项开支来说这没问题。这是很好的入门方式,等金额大了再升级到真正的 bitcoin 软件。

ORIGINAL · 英文原文
It's not the download so much as verifying all the signatures in all the blocks as it downloads that takes a long time.

How long is the initial block download typically taking?  Does it slow down half way through or is about the same speed the whole way?

I've thought about ways to do a more cursory check of most of the chain up to the last few thousand blocks.  It is possible, but it's a lot of work, and there are a lot of other higher priority things to work on.

Simplified Payment Verification is for lightweight client-only users who only do transactions and don't generate and don't participate in the node network.  They wouldn't need to download blocks, just the hash chain, which is currently about 2MB and very quick to verify (less than a second to verify the whole chain).  If the network becomes very large, like over 100,000 nodes, this is what we'll use to allow common users to do transactions without being full blown nodes.  At that stage, most users should start running client-only software and only the specialist server farms keep running full network nodes, kind of like how the usenet network has consolidated.

SPV is not implemented yet, and won't be implemented until far in the future, but all the current implementation is designed around supporting it.

In the meantime, sites like vekja.net and www.mybitcoin.com have been experimenting with account-based sites.  You create an account on a website and hold your bitcoins on account there and transfer in and out.  Creating an account on a website is a lot easier than installing and learning to use software, and a more familiar way of doing it for most people.  The only disadvantage is that you have to trust the site, but that's fine for pocket change amounts for micropayments and misc expenses.  It's an easy way to get started and if you get larger amounts then you can upgrade to the actual bitcoin software.
上下文
← 上一条 SN-0512 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-0512