mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 13:37:24 +00:00
LevelDbFullPrunedBlockStore: Reformat and rename class. It used Windows line endings.
This commit is contained in:
@@ -20,15 +20,15 @@ import org.bitcoinj.core.FullPrunedBlockChain;
|
||||
import org.bitcoinj.core.PeerGroup;
|
||||
import org.bitcoinj.params.MainNetParams;
|
||||
import org.bitcoinj.store.FullPrunedBlockStore;
|
||||
import org.bitcoinj.store.LevelDbFullPrunedBlockStore;
|
||||
import org.bitcoinj.store.LevelDBFullPrunedBlockStore;
|
||||
|
||||
public class LevelDb {
|
||||
public class LevelDB {
|
||||
public static void main(String[] args) throws Exception {
|
||||
/*
|
||||
* This is just a test runner that will download blockchain till block
|
||||
* 390000 then exit.
|
||||
*/
|
||||
FullPrunedBlockStore store = new LevelDbFullPrunedBlockStore(
|
||||
FullPrunedBlockStore store = new LevelDBFullPrunedBlockStore(
|
||||
MainNetParams.get(), args[0], 1000, 100 * 1024 * 1024l,
|
||||
10 * 1024 * 1024, 100000, true, 390000);
|
||||
|
||||
@@ -42,7 +42,5 @@ public class LevelDb {
|
||||
|
||||
vPeerGroup.start();
|
||||
vPeerGroup.downloadBlockChain();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user