mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Switch WalletTool to SPVBlockStore.
This commit is contained in:
parent
18a14c6668
commit
a61cd9eb19
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user