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

Function StartHTTPServer

src/httpserver.cpp:1258–1264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1256}
1257
1258void StartHTTPServer()
1259{
1260 auto rpcThreads{std::max(gArgs.GetArg<int>("-rpcthreads", DEFAULT_HTTP_THREADS), 1)};
1261 LogInfo("Starting HTTP server with %d worker threads", rpcThreads);
1262 g_threadpool_http.Start(rpcThreads);
1263 g_http_server->StartSocketsThreads();
1264}
1265
1266void InterruptHTTPServer()
1267{

Callers 1

AppInitServersFunction · 0.85

Calls 2

StartSocketsThreadsMethod · 0.80
StartMethod · 0.45

Tested by

no test coverage detected