Merge pull request #8145

fb5b2b3 support authentication in monero-wallet-rpc set_daemon (woodser)
This commit is contained in:
luigi1111 2022-03-02 18:53:34 -05:00
commit 27f1d43547
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 9 additions and 1 deletions

View file

@ -2657,6 +2657,8 @@ namespace wallet_rpc
struct request_t
{
std::string address;
std::string username;
std::string password;
bool trusted;
std::string ssl_support; // disabled, enabled, autodetect
std::string ssl_private_key_path;
@ -2667,6 +2669,8 @@ namespace wallet_rpc
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(address)
KV_SERIALIZE(username)
KV_SERIALIZE(password)
KV_SERIALIZE_OPT(trusted, false)
KV_SERIALIZE_OPT(ssl_support, (std::string)"autodetect")
KV_SERIALIZE(ssl_private_key_path)