Skip to content

回复:一些建议 ​

原始发布页

打开来源页面
查看 1 个交叉存档

运行时会有一个命令行开关,指示它在没有 UI 的情况下运行。它只需不创建主窗口即可。一种简单的做法是在 ui.cpp 中禁用 "pframeMain->Show" 和 "ptaskbaricon->Show"。网络线程并不在意 UI 是否存在。仅有的另一个 UI 是 CheckDiskSpace 在磁盘空间耗尽时显示的消息框。

然后再用一个单独的命令行实用程序与它通信,让它执行各种操作。还不确定它该叫什么名字。

“自然通缩”……我喜欢这个名称。是的,支付失误和数据丢失会造成自然通缩。新币生成最终会慢到低于自然通缩的速度,于是我们将出现净通缩。

英文原文 ​

展开英文原文

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.

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。