From 87d2d2fc57c24ffc46ecb4c1c025f5ce05e05c82 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Tue, 4 Aug 2026 09:06:21 -0400 Subject: [PATCH] Add missing include and update wallet api (#14) * Add missing include for SWAP32LE * Add new wallet api functions (on master) (cherry picked from commit 383fa320918d2e01fbb5e75a5165a1c5667c8777) --- src/backend.cpp | 1 + src/wallet.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/backend.cpp b/src/backend.cpp index d34c478..45cd64f 100644 --- a/src/backend.cpp +++ b/src/backend.cpp @@ -40,6 +40,7 @@ #include "cryptonote_basic/cryptonote_format_utils.h" // monero/src #include "error.h" #include "hex.h" // monero/src +#include "int-util.h" // monero/contrib/epee/include #include "lwsf_config.h" #include "net/websocket.h" #include "ringct/rctOps.h" diff --git a/src/wallet.h b/src/wallet.h index ae7ed85..572c293 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -229,6 +229,14 @@ namespace internal */ virtual bool init(const std::string &daemon_address, uint64_t, const std::string &daemon_username = "", const std::string &daemon_password = "", bool use_ssl = false, bool lightWallet = false, const std::string &proxy_address = "") override; +#ifdef LWSF_MASTER_ENABLE + virtual void allowMismatchedDaemonVersion(bool allow_mismatch) override + {} + + virtual void setRingDatabase(const std::string &path) override + { throw std::logic_error{"lwsf does not support ring database"}; } +#endif + /*! * \brief createWatchOnly - Creates a watch only wallet * \param path - where to store the wallet