Bitcointalk

Version 0.3.12

中本聪 · 2010 年 9 月 7 日

SN-2716 已核对来源,附原文与上下文。

阅读语言

0.3.12 版现已发布。

Version 0.3.12 is now available.

特性:

  • json-rpc 错误返回更标准的错误对象。(感谢 Gavin Andresen)
  • json-rpc 命令行返回退出码。
  • json-rpc "backupwallet" 命令。
  • 如果收到的消息引发异常,会恢复并继续。其他节点本不该能引发异常,以前也从未发生过,但如果被发现某种引发异常的途径,这能防止它被用来搞停网络节点。

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.

如果你的 json-rpc 代码检查错误字符串的内容,你需要改成期望 {"code":,"message":} 形式的错误对象,这是标准。见这个帖子:

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":,"message":}, which is the standard. See this thread:

下载:

Download:

上下文
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2716

阅读字号

选择适合你的字号,之后阅读会继续使用。