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();
}
if (mode == ValidationMode.SPV) {
store = new BoundedOverheadBlockStore(params, chainFileName);
store = new SPVBlockStore(params, chainFileName);
chain = new BlockChain(params, wallet, store);
} else if (mode == ValidationMode.FULL) {
FullPrunedBlockStore s = new H2FullPrunedBlockStore(params, chainFileName.getAbsolutePath(), 5000);