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