SN-3148 已核对来源,附原文与上下文。
SVN rev 163(版本 0.3.13.3)加入了密钥池功能。预生成的新密钥先在队列里放置一段时间再启用,这样 wallet.dat 的备份就持有你将来会用到的密钥。
SVN rev 163 (ver 0.3.13.3) has the key pool feature. Pre-generated new keys are aged in a queue before use, so that backups of wallet.dat hold keys you'll use in the future.
目前我把默认池大小设为 100。能用 -keypool= 配置。注意,增大池需要一些时间,因此别玩过头。磁盘占用约为每把密钥 1K。
For now I made the default pool size 100. It can be configured with -keypool=. Be aware, it takes a little time to increase the pool size, so don't go crazy with it. Disk space is about 1K per key.
恢复那一侧我尚未处理。如果你真的恢复了一个旧的 wallet.dat,我想你恐怕得删掉 blk*.dat,让重新下载时找回自己的交易。
I have not addressed the recovery side of this yet. If you actually did restore an old wallet.dat, I think you may have to delete blk*.dat to rediscover your own transactions during the redownload.
我只做过中等程度的测试。在它经过更多测试之前,网站服务器恐怕不该用它。
I've only tested this moderately. You might not want to use this for a website server until it's had some more testing.