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)
This commit is contained in:
Lee *!* Clagett
2026-10-05 20:46:55 -04:00
committed by such-gitea
parent 8e62fe8c15
commit 87d2d2fc57
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -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"
+8
View File
@@ -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