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

Re: A few suggestions

Bitcointalk · 2009-12-13 16:51:25 UTC

AuthorSatoshi Nakamoto
TitleRe: A few suggestions
Date2009-12-13 16:51:25 UTC
ForumBitcointalk · 原文

运行时会有一个命令行开关,让它在无界面模式下运行。它要做的只是不创建主窗口。简单的做法是在 ui.cpp 里禁用"pframeMain->Show"和"ptaskbaricon->Show"。网络线程不在乎界面在不在。除了磁盘空间不足时 CheckDiskSpace 会弹一个消息框,就没有别的界面了。

然后再单独做一个命令行工具跟它通信来做事。叫什么名字还没想好。

"natural deflation"(自然通缩)……我喜欢这个名字。是的,由于付款失误和数据丢失,会有自然通缩。币的产出最终会慢到被自然通缩超过,我们就会进入净通缩。

英文原文

There would be a command line switch at runtime to tell it to run without UI.  All it needs to do is not create the main window.  A simplistic way would be to disable "pframeMain->Show" and "ptaskbaricon->Show" in ui.cpp.  The network threads don't care that the UI isn't there.  The only other UI is a message box in CheckDiskSpace if it runs out of disk space.

Then a separate command line utility to communicate with it to do things.  Not sure what it should be named.

"natural deflation"... I like that name for it.  Yes, there will be natural deflation due to payment mistakes and lost data.  Coin creation will eventually get slow enough that it is exceeded by natural deflation and we'll have net deflation.