MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / AppInitServers

Function AppInitServers

src/init.cpp:732–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730}
731
732static bool AppInitServers()
733{
734 RPCServer::OnStarted(&OnRPCStarted);
735 RPCServer::OnStopped(&OnRPCStopped);
736 if (!InitHTTPServer())
737 return false;
738 StartRPC();
739 if (!StartHTTPRPC())
740 return false;
741 if (gArgs.GetBoolArg("-rest", DEFAULT_REST_ENABLE) && !StartREST())
742 return false;
743 StartHTTPServer();
744 return true;
745}
746
747// Parameter interaction based on rules
748void InitParameterInteraction()

Callers 1

AppInitMainFunction · 0.85

Calls 6

InitHTTPServerFunction · 0.85
StartRPCFunction · 0.85
StartHTTPRPCFunction · 0.85
StartRESTFunction · 0.85
StartHTTPServerFunction · 0.85
GetBoolArgMethod · 0.80

Tested by

no test coverage detected