SN-1427 已核对来源,附原文与上下文。
还是想知道 Linux 上最典型的设置文件格式。有标准扩展名吗?我从没见过用 JSON 的设置文件,而且所有东西都得加引号,看起来也不太人性化。我平时见到的多半类似:
Still need to know what's the most typical settings file format on Linux. Is there a standard file extension? I've never seen a settings file using JSON, and it doesn't look very human friendly with everything required to be in quotes. I think what I usually see is like:
# comment
# comment
setting=value
setting=value
Boost 里有设置文件方面的东西吗?
Is there a settings file thing in Boost?
用 bitcoind 从命令行当客户端发命令时,能不能也让它从设置文件读密码?
When you're using bitcoind to issue commands from the command line as a client, can we have it get the password from the settings file then too?
Gavin 指出我忘了在 CommandLineRPC 里给数字列做递增,所以现在的 -rpcpw= 实现在命令行上带非字符串参数时不能正常工作。(JSON-RPC 没问题)仍在建设中。
Gavin pointed out I forgot to increment the column of numbers in CommandLineRPC, so the current -rpcpw= implementation doesn't work right from the command line with non-string parameters. (JSON-RPC is fine) Still under construction.