mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-08 03:31:34 +00:00
Increase wallet autosave delay for wallet-tool and WalletAppKit. Since we have some recovery for out-of-sync wallets in place, we can afford to save less often.
This commit is contained in:
@@ -826,7 +826,7 @@ public class WalletTool {
|
||||
chain = new FullPrunedBlockChain(params, wallet, s);
|
||||
}
|
||||
// This will ensure the wallet is saved when it changes.
|
||||
wallet.autosaveToFile(walletFile, 200, TimeUnit.MILLISECONDS, null);
|
||||
wallet.autosaveToFile(walletFile, 5, TimeUnit.SECONDS, null);
|
||||
if (options.has("tor")) {
|
||||
try {
|
||||
peers = PeerGroup.newWithTor(params, chain, new TorClient());
|
||||
|
Reference in New Issue
Block a user