自动备份 wallet.dat

中本聪SN-2611

如果你把它读进内存再写出去,在内存紧张的情况下可能会失败。

If you read it into memory and write it out, it could fail in tight memory situations.

我在找类似 copyfile(const char* from, const char* to) 或 copyfile(path from, path to) 的东西,最好 Boost 里就有。如果你能帮我找到,我就更有可能动手实现它。

I'm looking for something like copyfile(const char* from, const char* to) or copyfile(path from, path to), preferably something in Boost if it has it. If you find it for me, it's more likely I'll get to implementing it.

其他参与者原话nelisky原帖 ↗

至于文件拷贝,为什么还要增加对 boost 的依赖?我就希望核心库依赖越少越好。

As for the file copy, why add to the boost dependency? I for one would love to get a core lib with very little deps.

中本聪回应

我们需要 Boost 来做 JSON 和十来件原本依赖 wxWidgets 的事。Boost 是优秀的、可移植的库,我们不该躲着它。

We require Boost for JSON and a dozen things replacing dependencies on wxWidgets. Boost is good, portable stuff, we should not shy away from it.

译文校对、修订与纠错

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

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

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

准备纠错说明

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

来源
英文原标题

auto backing up of wallet.dat

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

阅读字号

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