| 71 | static const std::string COOKIEAUTH_FILE = ".cookie"; |
| 72 | |
| 73 | boost::filesystem::path GetAuthCookieFile() |
| 74 | { |
| 75 | boost::filesystem::path path(GetArg("-rpccookiefile", COOKIEAUTH_FILE)); |
| 76 | if (!path.is_complete()) path = GetDataDir() / path; |
| 77 | return path; |
| 78 | } |
| 79 | |
| 80 | bool GenerateAuthCookie(std::string *cookie_out) |
| 81 | { |
no test coverage detected