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