MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / InitRPCAuthentication

Function InitRPCAuthentication

src/httprpc.cpp:148–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148static bool InitRPCAuthentication()
149{
150 if (mapArgs["-rpcpassword"] == "")
151 {
152 LogPrintf("Error: No rpcpassword set");
153 uiInterface.ThreadSafeMessageBox(_("Error: No rpcpassword set"),
154 "", CClientUIInterface::MSG_ERROR);
155 return false;
156 } else {
157 strRPCUserColonPass = mapArgs["-rpcuser"] + ":" + mapArgs["-rpcpassword"];
158 }
159 return true;
160}
161
162bool StartHTTPRPC()
163{

Callers 1

StartHTTPRPCFunction · 0.85

Calls 1

_Function · 0.85

Tested by

no test coverage detected