use of org.aion.zero.impl.config.CfgTx in project aion by aionnetwork.
the class ApiWeb3Aion method configTx.
private static JSONObject configTx() {
CfgTx config = CfgAion.inst().getTx();
JSONObject obj = new JSONObject();
obj.put("cacheMax", config.getCacheMax());
obj.put("poolBackup", config.getPoolBackup());
obj.put("poolDump", config.getPoolDump());
obj.put("seedmode", config.isSeedMode());
return obj;
}
Aggregations