use of org.hyperledger.besu.chainimport.JsonBlockImporter in project besu by hyperledger.
the class Besu method main.
public static void main(final String... args) {
final Logger logger = setupLogging();
final BesuCommand besuCommand = new BesuCommand(logger, RlpBlockImporter::new, JsonBlockImporter::new, RlpBlockExporter::new, new RunnerBuilder(), new BesuController.Builder(), new BesuPluginContextImpl(), System.getenv());
besuCommand.parse(new RunLast().andExit(SUCCESS_EXIT_CODE), besuCommand.exceptionHandler().andExit(ERROR_EXIT_CODE), System.in, args);
}
Aggregations