mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 22:25:41 +01:00
Switch WalletTool to SPVBlockStore.
This commit is contained in:
parent
18a14c6668
commit
a61cd9eb19
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue