Get name of RPC authentication cookie file */
| 70 | |
| 71 | /** Get name of RPC authentication cookie file */ |
| 72 | static fs::path GetAuthCookieFile(bool temp=false) |
| 73 | { |
| 74 | std::string arg = gArgs.GetArg("-rpccookiefile", COOKIEAUTH_FILE); |
| 75 | if (temp) { |
| 76 | arg += ".tmp"; |
| 77 | } |
| 78 | return AbsPathForConfigVal(fs::PathFromString(arg)); |
| 79 | } |
| 80 | |
| 81 | static bool g_generated_cookie = false; |
| 82 |
no test coverage detected