Skip to content

Instantly share code, notes, and snippets.

@Milerius
Last active December 18, 2019 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Milerius/a6f92a7e2c218161ce69d7519771898c to your computer and use it in GitHub Desktop.
Save Milerius/a6f92a7e2c218161ce69d7519771898c to your computer and use it in GitHub Desktop.
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"};
};
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