警报系统的开发

中本聪SN-2561

我一直在写警报系统。警报通过网络广播,适用于一定范围内的版本。警报消息用私钥签名,私钥只有我有。

I've been working on writing the alert system. Alerts are broadcast through the network and apply to a range of version numbers. Alert messages are signed with a private key that only I have.

节点可以对警报做两件事:

  • 在状态栏显示警告消息。
  • 让 json-rpc 接口的资金处理方法返回错误。

Nodes can do two things in response to an alert:

  • Put a warning message on the status bar.
  • Make the money handling methods of the json-rpc interface return an error.

在诸如溢出 bug 或分叉这类用户可能无法信任所收支付的情形下,警报应该能让旧版本在升级前基本安全。手动操作客户端的用户在查看收款时会注意到状态栏警告,而 json-rpc 安全模式会阻止自动化网站在升级前继续交易。

In cases like the overflow bug or a fork where users may not be able to trust received payments, the alert should keep old versions mostly safe until they upgrade. Manual users should notice the status bar warning when looking for received payments, and the json-rpc safe mode stops automated websites from making any more trades until they're upgraded.

警报期间返回错误的 json-rpc 方法是:

The json-rpc methods that return errors during an alert are:

sendtoaddress

sendtoaddress

getbalance

getbalance

getreceivedbyaddress

getreceivedbyaddress

getreceivedbylabel

getreceivedbylabel

listreceivedbyaddress

listreceivedbyaddress

listreceivedbylabel

listreceivedbylabel

上下文
译文校对、修订与纠错

当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。

查看历史审校与代表修订 →

译文内容版本:6dc518629d71。用于比对文本,不代表校对等级或更新时间。

准备纠错说明

请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。

来源
英文原标题

Development of alert system

Bitcointalk · 原始链接 ↗ 记录编号 SN-2561

阅读字号

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