Last active
December 18, 2019 20:07
-
-
Save Milerius/a6f92a7e2c218161ce69d7519771898c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct mm2_config | |
{ | |
std::string gui{"MM2GUI"}; | |
int64_t netid{9999}; | |
#ifdef _WIN32 | |
std::string userhome{std::getenv("HOMEPATH")}; | |
#else | |
std::string userhome{std::getenv("HOME")}; | |
#endif | |
// TODO: Handle passphrase | |
std::string passphrase{"FooBar##"}; | |
std::string rpc_password{"atomic_dex_mm2_passphrase"}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
MM2Config = object | |
gui: string | |
netid: int64 | |
userhome: string | |
passphrase: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment