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

Function DeleteAuthCookie

src/rpc/protocol.cpp:126–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void DeleteAuthCookie()
127{
128 try {
129 fs::remove(GetAuthCookieFile());
130 } catch (const fs::filesystem_error& e) {
131 LogPrintf("%s: Unable to remove random auth cookie file: %s\n", __func__, e.what());
132 }
133}
134
135std::vector<UniValue> JSONRPCProcessBatchReply(const UniValue &in, size_t num)
136{

Callers 1

StopRPCFunction · 0.85

Calls 2

GetAuthCookieFileFunction · 0.85
whatMethod · 0.80

Tested by

no test coverage detected