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:
parent
18a14c6668
commit
a61cd9eb19
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user