Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,412 Lines • ▼ Show 20 Lines | static bool AppInitServers(Config &config, | ||||
} | } | ||||
StartRPC(); | StartRPC(); | ||||
if (!StartHTTPRPC(httpRPCRequestProcessor)) { | if (!StartHTTPRPC(httpRPCRequestProcessor)) { | ||||
return false; | return false; | ||||
} | } | ||||
if (gArgs.GetBoolArg("-rest", DEFAULT_REST_ENABLE)) { | if (gArgs.GetBoolArg("-rest", DEFAULT_REST_ENABLE)) { | ||||
StartREST(); | StartREST(httpRPCRequestProcessor.context); | ||||
} | } | ||||
StartHTTPServer(); | StartHTTPServer(); | ||||
return true; | return true; | ||||
} | } | ||||
// Parameter interaction based on rules | // Parameter interaction based on rules | ||||
void InitParameterInteraction() { | void InitParameterInteraction() { | ||||
▲ Show 20 Lines • Show All 1,385 Lines • Show Last 20 Lines |