3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00

Switch WalletTool to SPVBlockStore.

This commit is contained in:
Mike Hearn 2013-03-01 14:06:12 +01:00 committed by Mike Hearn
parent 18a14c6668
commit a61cd9eb19

View File

@ -539,7 +539,7 @@ public class WalletTool {
reset(); reset();
} }
if (mode == ValidationMode.SPV) { if (mode == ValidationMode.SPV) {
store = new BoundedOverheadBlockStore(params, chainFileName); store = new SPVBlockStore(params, chainFileName);
chain = new BlockChain(params, wallet, store); chain = new BlockChain(params, wallet, store);
} else if (mode == ValidationMode.FULL) { } else if (mode == ValidationMode.FULL) {
FullPrunedBlockStore s = new H2FullPrunedBlockStore(params, chainFileName.getAbsolutePath(), 5000); FullPrunedBlockStore s = new H2FullPrunedBlockStore(params, chainFileName.getAbsolutePath(), 5000);