mirror of
https://github.com/wownero/lwsf-wow.git
synced 2026-10-17 07:21:28 +02:00
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:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user