原始文献 / 论坛帖 / Re: Ummmm... where did my bitcoins go?
Re: Ummmm... where did my bitcoins go?
Bitcointalk · 2010-05-18 20:06:46 UTC
慢的不是下载本身,而是下载的同时要验证所有区块里所有签名,这才是耗时的。
初始区块下载一般要多久?是中途变慢,还是全程速度差不多?
我想过对大部分链、只到最后几千个区块之前做个粗略检查的办法。技术上可行,但工作量很大,而且还有很多优先级更高的事要做。
Simplified Payment Verification(简化支付验证)是给轻量级纯客户端用户用的,他们只做交易、不生成、也不参与节点网络。他们不需要下载区块,只需要哈希链,目前大概 2MB,验证起来非常快(验证整条链不到一秒)。如果网络变得非常大,比如超过 100,000 个节点,我们就用它让普通用户不用跑全节点也能交易。到那时,大多数用户应该开始跑纯客户端软件,只有专业的服务器机房继续跑全网络节点,有点像 usenet 网络的集中化过程。
SPV 还没实现,而且要到很久以后才会实现,但目前的所有实现都是围绕着支持它来设计的。
与此同时,vekja.net(http://vekja.net)和 www.mybitcoin.com(http://www.mybitcoin.com)这样的站在试验账户制网站。你在网站上开个户,比特币存在账户里,转进转出。在网站上开户比安装、学习使用软件容易得多,对大多数人来说也是更熟悉的方式。唯一的缺点是你要信任这个站,但对零钱级别的微支付和日常开销来说没问题。这是个容易上手的起点,等金额大了再升级到真正的 bitcoin 软件。
英文原文
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(http://vekja.net) and www.mybitcoin.com(http://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.
