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

Function DeleteAuthCookie

src/rpc/request.cpp:164–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void DeleteAuthCookie()
165{
166 try {
167 if (g_generated_cookie) {
168 // Delete the cookie file if it was generated by this process
169 fs::remove(GetAuthCookieFile());
170 }
171 } catch (const fs::filesystem_error& e) {
172 LogWarning("Unable to remove random auth cookie file %s: %s\n", fs::PathToString(e.path1()), e.code().message());
173 }
174}
175
176std::vector<UniValue> JSONRPCProcessBatchReply(const UniValue& in)
177{

Callers 1

StopRPCFunction · 0.85

Calls 3

GetAuthCookieFileFunction · 0.85
PathToStringFunction · 0.85
messageMethod · 0.45

Tested by

no test coverage detected