@Override public void populateDatabase(int blockCount) { shutdownDbServer(); fetcherService.writeBlockchainToJSON(blockCount); parseService.writeJSONToDB(); startDbServer(); }
@Override public void updateDatabase() { shutdownDbServer(); fetcherService.writeBlockchainToJSON(); parseService.writeJSONToDB(); startDbServer(); }