原始文献 / 论坛帖 / Re: A few suggestions

Re: A few suggestions

Bitcointalk · 2009-12-10 19:31:49 UTC

AuthorSatoshi Nakamoto
TitleRe: A few suggestions
Date2009-12-10 19:31:49 UTC
ForumBitcointalk · 原文

引用自:madhatter2,2009 年 12 月 10 日 02:00:17 PM(https://bitcointalk.org/index.php?topic=12.msg44#msg44)

前端也可以跑在 CPU 很弱的客户端上,比如手机。

手机走这个路线不错。用 PHP(任何语言都行)写的程序化 API 来呈现 Web UI,可以覆盖远程管理、手机以及其他不能一直在线、没有固定 IP 的客户端。这就像 webmail。对新用户来说,如果只需要在网站上注册个账号、不用安装软件,上手会容易得多。

引用:

下载前可以预置种子节点。预置也能解决 TOR+IRC 的问题。我知道大家会想在这套系统上跑 I2P+TOR。

等静态节点多到可以预置种子列表,就可以逐步淘汰 IRC。一旦连上种子节点,就不再需要 IRC 了。

引用:

区块也可以预置,这样初次运行时就不用下载了。(在慢速 ADSL 上下载 28,000 个区块要等到天荒地老,真不敢想区块到几百万的时候要多久——一辈子吧。)

0.1.5 的初始区块下载有时会卡住,0.2 加了代码保证顺畅。我觉得应该不到一小时。我得赶紧把 0.2 发布出去。

区块是线性增长的,到几百万还得几十年。理论上,8 个月后区块下载时间就会到顶,因为到那时摩尔定律的增长会超过区块链的增长。

引用:

能给我开 CVS 权限吗?(不行的话,我给你发补丁也行。)我想帮忙。

是 sourceforge 上的 SVN。把你的 sourceforge 账号 PM 或邮件发我,我给你开权限。

引用:

我主要是 Linux/BSD 方向的,想在这方面出力。

太好了,这正是我不擅长的。比如 Linux 上"开机启动比特币"怎么做最好,我还没研究过。在 Windows 上,这个选项就是在"启动"文件夹里加/删一个图标。

英文原文

Quote from: madhatter2 on December 10, 2009, 02:00:17 PM(https://bitcointalk.org/index.php?topic=12.msg44#msg44)Front ends can also be ran on clients with very low cpu power such as mobile phones.
That's a good approach for mobile.  Programmatic API used by PHP (any language) to present a web UI covers remote admin, mobile and any other client that can't be online all the time with a static IP.  It would be like webmail.  It would be easier for new users to get started if they only need to create an account on a website, not install software.

QuoteThe app could be pre-seeded before downloading. Pre-seeding would also cure the TOR+IRC problem. I know that people will want to run this system over I2P+TOR.
Yeah, we can phase out IRC when there are enough static nodes to preprogram a seed list.  Once you get seeded, you don't need IRC.

QuoteAlso you could pre-seed the blocks so they won't have to be downloaded upon initial run. (Downloading 28,000 blocks on a slower ADSL takes forever I couldn't imagine how long it would take when there are millions of blocks -- a lifetime).
There were some issues in 0.1.5 where the initial block download could get bogged down.  0.2 has code to make sure it goes smoothly.  It ought to take less than an hour, I think.  I need to hurry up and get 0.2 out the door.

The blocks increase linearly, it'll be decades before it's millions.  In theory, the block download time should top out 8 months from now when Moore's Law will be growing faster than the block chain.

QuoteCan you give me CVS access or something? (If not, can I send you patches?) I'd like to help out.
It's SVN on sourceforge.  PM or e-mail me your sourceforge account and I'll give you access.

QuoteI am mostly a Linux/BSD guy and I would like to lend my expertise in those areas.
That's great because that's where I have less expertise.  For instance, I haven't researched the best way to do the "Start Bitcoin on system startup" feature on Linux.  On Windows, the option adds/removes an icon in the Startup folder.