自动备份 wallet.dat

中本聪SN-2608

我本来在另一个主题里发,这里再重复一遍,这个主题看起来更切题。

I started posting in the other topic but I'll repeat here, this thread seems more specific to the topic.

备份的主要改进会是预生成的密钥池,以及加载时重新扫描、从区块历史里捞出被漏掉的交易。那样一次备份就能管用很久。

The main backup improvement will be a pre-generated pool of keys and a rescan at load to scrape missed transactions from the block history. Then a backup will last forward for a long time.

我正准备发和你一样的想法,nelisky。

I was starting to post the same idea you said nelisky.

加一个 json-rpc 命令如何:锁定钱包、刷盘、把 wallet.dat 拷贝到你指定的位置,然后解锁?这比密钥池工程量小,也许可以先做。

How about a json-rpc command that locks the wallet, flushes it, copies wallet.dat to a location you specified, then unlocks it? That would be a smaller project than the pooled keys, so maybe it could be done first.

拷贝文件最简单的可移植方法是什么?Boost 里有现成的吗?

What's the simplest portable way to copy a file? Is there something in Boost?

该叫什么名字?也许:

What should it be named? maybe:

backupwallet

backupwallet

译文校对、修订与纠错

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

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

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

准备纠错说明

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

来源
英文原标题

auto backing up of wallet.dat

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

阅读字号

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