Search in sources :

Example 1 with CfgSync

use of org.aion.zero.impl.config.CfgSync in project aion by aionnetwork.

the class ApiWeb3Aion method configSync.

private static JSONObject configSync() {
    CfgSync config = CfgAion.inst().getSync();
    JSONObject obj = new JSONObject();
    obj.put("showStatus", config.getShowStatus());
    return obj;
}
Also used : JSONObject(org.json.JSONObject) CfgSync(org.aion.zero.impl.config.CfgSync)

Aggregations

CfgSync (org.aion.zero.impl.config.CfgSync)1 JSONObject (org.json.JSONObject)1