Skip to content

版本 0.3.12 ​

原始发布页

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

版本 0.3.12 现已发布。

功能: - json-rpc 错误返回更标准的错误对象。(感谢加文·安德烈森) - json-rpc 命令行返回退出码。 - json-rpc 的“backupwallet”命令。 - 如果收到的消息引发异常,程序会恢复并继续运行。其他节点本不应能够引发异常,而且以前也从未发生过,但如果有人找到了引发异常的方法,这项改动会阻止其被用来让网络节点停止运行。

如果你的 json-rpc 代码会检查错误字符串的内容,就需要改成接收标准格式的错误对象:{"code":<number>,"message":<string>}。请参阅这个帖子: http://bitcointalk.org/index.php?topic=969.0

下载: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.12/

英文原文 ​

展开英文原文

Version 0.3.12 is now available.

Features: - json-rpc errors return a more standard error object. (thanks to Gavin Andresen) - json-rpc command line returns exit codes. - json-rpc "backupwallet" command. - Recovers and continues if an exception is caused by a message you received. Other nodes shouldn't be able to cause an exception, and it hasn't happened before, but if a way is found to cause an exception, this would keep it from being used to stop network nodes.

If you have json-rpc code that checks the contents of the error string, you need to change it to expect error objects of the form {"code":<number>,"message":<string>}, which is the standard. See this thread: http://bitcointalk.org/index.php?topic=969.0

Download: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.12/

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