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

Function AppInitServers

src/init.cpp:774–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772#endif
773
774static bool AppInitServers(NodeContext& node)
775{
776 const ArgsManager& args = *Assert(node.args);
777 if (!InitHTTPServer()) {
778 return false;
779 }
780 StartRPC();
781 node.rpc_interruption_point = RpcInterruptionPoint;
782 if (!StartHTTPRPC(&node))
783 return false;
784 if (args.GetBoolArg("-rest", DEFAULT_REST_ENABLE)) StartREST(&node);
785 StartHTTPServer();
786 return true;
787}
788
789// Parameter interaction based on rules
790void InitParameterInteraction(ArgsManager& args)

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