LevelDbFullPrunedBlockStore: Reformat and rename class. It used Windows line endings.

This commit is contained in:
Andreas Schildbach
2016-01-25 22:51:47 +01:00
parent 08ab6a0da5
commit 59fa28ec70
3 changed files with 1148 additions and 1215 deletions

View File

@@ -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();
}
}