自动备份 wallet.dat

中本聪SN-2616

抱歉,我最近太忙,只能扫一眼消息,还跟不上。

Sorry, I've been so busy lately I've been skimming messages and I still can't keep up.

我们要尽可能避免 Windows API 调用。它们通常要传 6-8 个参数、要大量测试才能用对,做件简单事得写一页代码。

We want to avoid Windows API calls whenever possible. They usually take about 6-8 parameters and a lot of testing to get right, it takes a page of code to do something simple.

我通常躲着 iostreams。我似乎经常碰到它的限制。他们 90 年代把 C++ 流标准搞得一团糟,真遗憾,流机制如果设计得当,可以非常强大实用。在 rpc.cpp 里用它最终恐怕也会被证明是个错误。

I usually shy away from iostreams. Seems like I too often hit limitations. They kind of botched the C++ streams standard in the 90's, which is too bad, streams can be very powerful and useful when done right. Using it in rpc.cpp may still turn out to be a mistake.

说到底,我宁可调用现成的文件拷贝函数,也不想自己写一个再测试。

Bottom line is I'd rather call an existing file copy function than make and test my own.

译文校对、修订与纠错

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

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

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

准备纠错说明

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

来源
英文原标题

auto backing up of wallet.dat

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

阅读字号

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