mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 22:00:18 -04:00
Merge pull request #4054
24569454
epee: add SSL support (moneromooo-monero)
This commit is contained in:
commit
46fd181cca
25 changed files with 1065 additions and 239 deletions
|
@ -8402,7 +8402,8 @@ bool simple_wallet::status(const std::vector<std::string> &args)
|
|||
{
|
||||
uint64_t local_height = m_wallet->get_blockchain_current_height();
|
||||
uint32_t version = 0;
|
||||
if (!m_wallet->check_connection(&version))
|
||||
bool ssl = false;
|
||||
if (!m_wallet->check_connection(&version, &ssl))
|
||||
{
|
||||
success_msg_writer() << "Refreshed " << local_height << "/?, no daemon connected";
|
||||
return true;
|
||||
|
@ -8414,7 +8415,7 @@ bool simple_wallet::status(const std::vector<std::string> &args)
|
|||
{
|
||||
bool synced = local_height == bc_height;
|
||||
success_msg_writer() << "Refreshed " << local_height << "/" << bc_height << ", " << (synced ? "synced" : "syncing")
|
||||
<< ", daemon RPC v" << get_version_string(version);
|
||||
<< ", daemon RPC v" << get_version_string(version) << ", " << (ssl ? "SSL" : "no SSL");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue