return pruningStateDS;
}
public long getTotalDbHits() {
return totalDbHits;
}
<BUG>private BlockchainImpl createBlockchain(Genesis genesis) {
IndexedBlockStore blockStore = new IndexedBlockStore();</BUG>
blockStore.init(new HashMapDB<byte[]>(), new HashMapDB<byte[]>());
stateDS = new HashMapDB<>();
pruningStateDS = new JournalSource<>(new CountingBytesSource(stateDS));

return pruningStateDS;
}
public long getTotalDbHits() {
return totalDbHits;
}
private BlockchainImpl createBlockchain(Genesis genesis) {
SystemProperties.getDefault().setBlockchainConfig(netConfig != null ? netConfig : getEasyMiningConfig());
IndexedBlockStore blockStore = new IndexedBlockStore();
blockStore.init(new HashMapDB<byte[]>(), new HashMapDB<byte[]>());
stateDS = new HashMapDB<>();
pruningStateDS = new JournalSource<>(new CountingBytesSource(stateDS));
