What changed, and why it matters
This commit adds a simple read-only accessor (getter) method that returns the wallet's configured proxy address. It does not change any behavior, fix any bug, or alter how data is handled. There is no security issue visible in this change.
No security action required. Review as normal code-quality/API change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A single-line inline getter get_daemon_proxy() returning m_proxy is added to the wallet2 class header. It exposes the existing m_proxy member as a read-only string, consistent with existing getters like get_daemon_address() and get_daemon_login(). No logic, validation, or network handling is modified.
Changed components
src/wallet/wallet2.hInspect captured patch +1 / −0
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index f6271bd..719e284 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1547,6 +1547,7 @@ private:
std::string get_keys_file() const;
std::string get_daemon_address() const;
const boost::optional<epee::net_utils::http::login>& get_daemon_login() const { return m_daemon_login; }
+ std::string get_daemon_proxy() const { return m_proxy; }
uint64_t get_daemon_blockchain_height(std::string& err);
uint64_t get_daemon_blockchain_target_height(std::string& err);
uint64_t get_daemon_adjusted_time();
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.