Electroneum
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Electroneum::WalletImpl Class Reference

#include <wallet.h>

Inheritance diagram for Electroneum::WalletImpl:
Inheritance graph
[legend]
Collaboration diagram for Electroneum::WalletImpl:
Collaboration graph
[legend]

Public Member Functions

 WalletImpl (bool testnet=false)
 
 ~WalletImpl ()
 
bool create (const std::string &path, const std::string &password, const std::string &language)
 
bool createWatchOnly (const std::string &path, const std::string &password, const std::string &language) const
 createWatchOnly - Creates a watch only wallet More...
 
bool open (const std::string &path, const std::string &password)
 
bool recover (const std::string &path, const std::string &seed)
 
bool recoverFromKeys (const std::string &path, const std::string &language, const std::string &address_string, const std::string &viewkey_string, const std::string &spendkey_string="")
 
bool close ()
 
std::string seed () const
 
std::string getSeedLanguage () const
 
void setSeedLanguage (const std::string &arg)
 
int status () const
 returns wallet status (Status_Ok | Status_Error) More...
 
std::string errorString () const
 in case error status, returns error string More...
 
bool setPassword (const std::string &password)
 
std::string address () const
 
std::string integratedAddress (const std::string &payment_id) const
 integratedAddress - returns integrated address for current wallet address and given payment_id. if passed "payment_id" param is an empty string or not-valid payment id string (16 characters hexadecimal string) - random payment_id will be generated More...
 
std::string path () const
 
std::string secretViewKey () const
 secretViewKey - returns secret view key More...
 
std::string publicViewKey () const
 publicViewKey - returns public view key More...
 
std::string secretSpendKey () const
 secretSpendKey - returns secret spend key More...
 
std::string publicSpendKey () const
 publicSpendKey - returns public spend key More...
 
bool store (const std::string &path)
 store - stores wallet to file. More...
 
std::string filename () const
 filename - returns wallet filename More...
 
std::string keysFilename () const
 keysFilename - returns keys filename. usually this formed as "wallet_filename".keys More...
 
bool init (const std::string &daemon_address, uint64_t upper_transaction_size_limit=0, const std::string &daemon_username="", const std::string &daemon_password="")
 init - initializes wallet with daemon connection params. if daemon_address is local address, "trusted daemon" will be set to true forcibly startRefresh() should be called when wallet is initialized. More...
 
bool connectToDaemon ()
 connectToDaemon - connects to the daemon. TODO: check if it can be removed More...
 
ConnectionStatus connected () const
 connected - checks if the wallet connected to the daemon More...
 
void setTrustedDaemon (bool arg)
 
bool trustedDaemon () const
 
uint64_t balance () const
 
uint64_t unlockedBalance () const
 
uint64_t blockChainHeight () const
 blockChainHeight - returns current blockchain height More...
 
uint64_t approximateBlockChainHeight () const
 approximateBlockChainHeight - returns approximate blockchain height calculated from date/time More...
 
uint64_t daemonBlockChainHeight () const
 daemonBlockChainHeight - returns daemon blockchain height More...
 
uint64_t daemonBlockChainTargetHeight () const
 daemonBlockChainTargetHeight - returns daemon blockchain target height More...
 
bool synchronized () const
 synchronized - checks if wallet was ever synchronized More...
 
bool refresh ()
 refresh - refreshes the wallet, updating transactions from daemon More...
 
void refreshAsync ()
 refreshAsync - refreshes wallet asynchronously. More...
 
void setAutoRefreshInterval (int millis)
 setAutoRefreshInterval - setup interval for automatic refresh. More...
 
int autoRefreshInterval () const
 autoRefreshInterval - returns automatic refresh interval in millis More...
 
void setRefreshFromBlockHeight (uint64_t refresh_from_block_height)
 setRefreshFromBlockHeight - start refresh from block height on recover More...
 
uint64_t getRefreshFromBlockHeight () const
 getRestoreHeight - get wallet creation height More...
 
void setRecoveringFromSeed (bool recoveringFromSeed)
 setRecoveringFromSeed - set state recover form seed More...
 
bool watchOnly () const
 watchOnly - checks if wallet is watch only More...
 
bool rescanSpent ()
 
bool testnet () const
 
void hardForkInfo (uint8_t &version, uint64_t &earliest_height) const
 returns current hard fork info More...
 
bool useForkRules (uint8_t version, int64_t early_blocks) const
 check if hard fork rules should be used More...
 
PendingTransactioncreateTransaction (const std::string &dst_addr, const std::string &payment_id, optional< uint64_t > amount, uint32_t mixin_count, PendingTransaction::Priority priority=PendingTransaction::Priority_Low)
 createTransaction creates transaction. if dst_addr is an integrated address, payment_id is ignored More...
 
virtual PendingTransactioncreateSweepUnmixableTransaction ()
 createSweepUnmixableTransaction creates transaction with unmixable outputs. More...
 
bool submitTransaction (const std::string &fileName)
 submitTransaction - submits transaction in signed tx file More...
 
virtual UnsignedTransactionloadUnsignedTx (const std::string &unsigned_filename)
 loadUnsignedTx - creates transaction from unsigned tx file More...
 
bool exportKeyImages (const std::string &filename)
 exportKeyImages - exports key images to file More...
 
bool importKeyImages (const std::string &filename)
 importKeyImages - imports key images from file More...
 
virtual void disposeTransaction (PendingTransaction *t)
 disposeTransaction - destroys transaction object More...
 
virtual TransactionHistoryhistory () const
 
virtual AddressBookaddressBook () const
 
virtual void setListener (WalletListener *l)
 
virtual bool setUserNote (const std::string &txid, const std::string &note)
 
virtual std::string getUserNote (const std::string &txid) const
 getUserNote - return an arbitrary string note attached to a txid More...
 
virtual std::string getTxKey (const std::string &txid) const
 
virtual std::string signMessage (const std::string &message)
 
virtual bool verifySignedMessage (const std::string &message, const std::string &address, const std::string &signature) const
 verifySignedMessage - verify a signature matches a given message More...
 
virtual void startRefresh ()
 StartRefresh - Start/resume refresh thread (refresh every 10 seconds) More...
 
virtual void pauseRefresh ()
 pauseRefresh - pause refresh thread More...
 
virtual bool parse_uri (const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector< std::string > &unknown_parameters, std::string &error)
 
virtual std::string getDefaultDataDir () const
 
- Public Member Functions inherited from Electroneum::Wallet
virtual ~Wallet ()=0
 

Private Member Functions

void clearStatus () const
 
void refreshThreadFunc ()
 
void doRefresh ()
 
bool daemonSynced () const
 
void stopRefresh ()
 
bool isNewWallet () const
 
bool doInit (const std::string &daemon_address, uint64_t upper_transaction_size_limit)
 

Private Attributes

tools::wallet2m_wallet
 
std::atomic< int > m_status
 
std::string m_errorString
 
std::string m_password
 
TransactionHistoryImplm_history
 
bool m_trustedDaemon
 
WalletListenerm_walletListener
 
Wallet2CallbackImplm_wallet2Callback
 
AddressBookImplm_addressBook
 
std::atomic< boolm_refreshEnabled
 
std::atomic< boolm_refreshThreadDone
 
std::atomic< int > m_refreshIntervalMillis
 
boost::mutex m_refreshMutex
 
boost::mutex m_refreshMutex2
 
boost::condition_variable m_refreshCV
 
boost::thread m_refreshThread
 
std::atomic< boolm_recoveringFromSeed
 
std::atomic< boolm_synchronized
 
std::atomic< boolm_rebuildWalletCache
 
std::atomic< boolm_is_connected
 
boost::optional< epee::net_utils::http::login > m_daemon_login {}
 

Friends

class PendingTransactionImpl
 
class UnsignedTransactionImpl
 
class TransactionHistoryImpl
 
struct Wallet2CallbackImpl
 
class AddressBookImpl
 

Additional Inherited Members

- Public Types inherited from Electroneum::Wallet
enum  Status { Status_Ok, Status_Error, Status_Critical }
 
enum  ConnectionStatus { ConnectionStatus_Disconnected, ConnectionStatus_Connected, ConnectionStatus_WrongVersion }
 
- Static Public Member Functions inherited from Electroneum::Wallet
static std::string displayAmount (uint64_t amount)
 
static uint64_t amountFromString (const std::string &amount)
 
static uint64_t amountFromDouble (double amount)
 
static std::string genPaymentId ()
 
static bool paymentIdValid (const std::string &paiment_id)
 
static bool addressValid (const std::string &str, bool testnet)
 
static bool keyValid (const std::string &secret_key_string, const std::string &address_string, bool isViewKey, bool testnet, std::string &error)
 
static std::string paymentIdFromAddress (const std::string &str, bool testnet)
 
static uint64_t maximumAllowedAmount ()
 
static void init (const char *argv0, const char *default_log_base_name)
 
static void debug (const std::string &str)
 

Constructor & Destructor Documentation

◆ WalletImpl()

Electroneum::WalletImpl::WalletImpl ( bool  testnet = false)

◆ ~WalletImpl()

Electroneum::WalletImpl::~WalletImpl ( )

Member Function Documentation

◆ address()

std::string Electroneum::WalletImpl::address ( ) const
virtual

Implements Electroneum::Wallet.

◆ addressBook()

AddressBook * Electroneum::WalletImpl::addressBook ( ) const
virtual

Implements Electroneum::Wallet.

◆ approximateBlockChainHeight()

uint64_t Electroneum::WalletImpl::approximateBlockChainHeight ( ) const
virtual

approximateBlockChainHeight - returns approximate blockchain height calculated from date/time

Returns

Implements Electroneum::Wallet.

◆ autoRefreshInterval()

int Electroneum::WalletImpl::autoRefreshInterval ( ) const
virtual

autoRefreshInterval - returns automatic refresh interval in millis

Returns

Implements Electroneum::Wallet.

◆ balance()

uint64_t Electroneum::WalletImpl::balance ( ) const
virtual

Implements Electroneum::Wallet.

◆ blockChainHeight()

uint64_t Electroneum::WalletImpl::blockChainHeight ( ) const
virtual

blockChainHeight - returns current blockchain height

Returns

Implements Electroneum::Wallet.

◆ clearStatus()

void Electroneum::WalletImpl::clearStatus ( ) const
private

◆ close()

bool Electroneum::WalletImpl::close ( )

◆ connected()

Wallet::ConnectionStatus Electroneum::WalletImpl::connected ( ) const
virtual

connected - checks if the wallet connected to the daemon

Returns
- true if connected

Implements Electroneum::Wallet.

◆ connectToDaemon()

bool Electroneum::WalletImpl::connectToDaemon ( )
virtual

connectToDaemon - connects to the daemon. TODO: check if it can be removed

Returns

Implements Electroneum::Wallet.

◆ create()

bool Electroneum::WalletImpl::create ( const std::string &  path,
const std::string &  password,
const std::string &  language 
)

◆ createSweepUnmixableTransaction()

PendingTransaction * Electroneum::WalletImpl::createSweepUnmixableTransaction ( )
virtual

createSweepUnmixableTransaction creates transaction with unmixable outputs.

Returns
PendingTransaction object. caller is responsible to check PendingTransaction::status() after object returned

Implements Electroneum::Wallet.

◆ createTransaction()

PendingTransaction * Electroneum::WalletImpl::createTransaction ( const std::string &  dst_addr,
const std::string &  payment_id,
optional< uint64_t >  amount,
uint32_t  mixin_count,
PendingTransaction::Priority  = PendingTransaction::Priority_Low 
)
virtual

createTransaction creates transaction. if dst_addr is an integrated address, payment_id is ignored

Parameters
dst_addrdestination address as string
payment_idoptional payment_id, can be empty string
amountamount
mixin_countmixin count. if 0 passed, wallet will use default value
priority
Returns
PendingTransaction object. caller is responsible to check PendingTransaction::status() after object returned

Implements Electroneum::Wallet.

◆ createWatchOnly()

bool Electroneum::WalletImpl::createWatchOnly ( const std::string &  path,
const std::string &  password,
const std::string &  language 
) const
virtual

createWatchOnly - Creates a watch only wallet

Parameters
path- where to store the wallet
password
language
Returns
- true if created successfully

Implements Electroneum::Wallet.

◆ daemonBlockChainHeight()

uint64_t Electroneum::WalletImpl::daemonBlockChainHeight ( ) const
virtual

daemonBlockChainHeight - returns daemon blockchain height

Returns
0 - in case error communicating with the daemon. status() will return Status_Error and errorString() will return verbose error description

Implements Electroneum::Wallet.

◆ daemonBlockChainTargetHeight()

uint64_t Electroneum::WalletImpl::daemonBlockChainTargetHeight ( ) const
virtual

daemonBlockChainTargetHeight - returns daemon blockchain target height

Returns
0 - in case error communicating with the daemon. status() will return Status_Error and errorString() will return verbose error description

Implements Electroneum::Wallet.

◆ daemonSynced()

bool Electroneum::WalletImpl::daemonSynced ( ) const
private

◆ disposeTransaction()

void Electroneum::WalletImpl::disposeTransaction ( PendingTransaction t)
virtual

disposeTransaction - destroys transaction object

Parameters
t- pointer to the "PendingTransaction" object. Pointer is not valid after function returned;

Implements Electroneum::Wallet.

◆ doInit()

bool Electroneum::WalletImpl::doInit ( const std::string &  daemon_address,
uint64_t  upper_transaction_size_limit 
)
private

◆ doRefresh()

void Electroneum::WalletImpl::doRefresh ( )
private

◆ errorString()

std::string Electroneum::WalletImpl::errorString ( ) const
virtual

in case error status, returns error string

Implements Electroneum::Wallet.

◆ exportKeyImages()

bool Electroneum::WalletImpl::exportKeyImages ( const std::string &  filename)
virtual

exportKeyImages - exports key images to file

Parameters
filename
Returns
- true on success

Implements Electroneum::Wallet.

◆ filename()

string Electroneum::WalletImpl::filename ( ) const
virtual

filename - returns wallet filename

Returns

Implements Electroneum::Wallet.

◆ getDefaultDataDir()

std::string Electroneum::WalletImpl::getDefaultDataDir ( ) const
virtual

Implements Electroneum::Wallet.

◆ getRefreshFromBlockHeight()

uint64_t Electroneum::WalletImpl::getRefreshFromBlockHeight ( ) const
inlinevirtual

getRestoreHeight - get wallet creation height

Implements Electroneum::Wallet.

◆ getSeedLanguage()

std::string Electroneum::WalletImpl::getSeedLanguage ( ) const
virtual

Implements Electroneum::Wallet.

◆ getTxKey()

std::string Electroneum::WalletImpl::getTxKey ( const std::string &  txid) const
virtual

Implements Electroneum::Wallet.

◆ getUserNote()

std::string Electroneum::WalletImpl::getUserNote ( const std::string &  txid) const
virtual

getUserNote - return an arbitrary string note attached to a txid

Parameters
txid- the transaction id to attach the note to
Returns
the attached note, or empty string if there is none

Implements Electroneum::Wallet.

◆ hardForkInfo()

void Electroneum::WalletImpl::hardForkInfo ( uint8_t &  version,
uint64_t &  earliest_height 
) const
virtual

returns current hard fork info

Implements Electroneum::Wallet.

◆ history()

TransactionHistory * Electroneum::WalletImpl::history ( ) const
virtual

Implements Electroneum::Wallet.

◆ importKeyImages()

bool Electroneum::WalletImpl::importKeyImages ( const std::string &  filename)
virtual

importKeyImages - imports key images from file

Parameters
filename
Returns
- true on success

Implements Electroneum::Wallet.

◆ init()

bool Electroneum::WalletImpl::init ( const std::string &  daemon_address,
uint64_t  upper_transaction_size_limit = 0,
const std::string &  daemon_username = "",
const std::string &  daemon_password = "" 
)
virtual

init - initializes wallet with daemon connection params. if daemon_address is local address, "trusted daemon" will be set to true forcibly startRefresh() should be called when wallet is initialized.

Parameters
daemon_address- daemon address in "hostname:port" format
upper_transaction_size_limit
Returns
- true on success

Implements Electroneum::Wallet.

◆ integratedAddress()

std::string Electroneum::WalletImpl::integratedAddress ( const std::string &  payment_id) const
virtual

integratedAddress - returns integrated address for current wallet address and given payment_id. if passed "payment_id" param is an empty string or not-valid payment id string (16 characters hexadecimal string) - random payment_id will be generated

Parameters
payment_id- 16 characters hexadecimal string or empty string if new random payment id needs to be generated
Returns
- 106 characters string representing integrated address

Implements Electroneum::Wallet.

◆ isNewWallet()

bool Electroneum::WalletImpl::isNewWallet ( ) const
private

◆ keysFilename()

string Electroneum::WalletImpl::keysFilename ( ) const
virtual

keysFilename - returns keys filename. usually this formed as "wallet_filename".keys

Returns

Implements Electroneum::Wallet.

◆ loadUnsignedTx()

UnsignedTransaction * Electroneum::WalletImpl::loadUnsignedTx ( const std::string &  unsigned_filename)
virtual

loadUnsignedTx - creates transaction from unsigned tx file

Returns
- UnsignedTransaction object. caller is responsible to check UnsignedTransaction::status() after object returned

Implements Electroneum::Wallet.

◆ open()

bool Electroneum::WalletImpl::open ( const std::string &  path,
const std::string &  password 
)

◆ parse_uri()

bool Electroneum::WalletImpl::parse_uri ( const std::string &  uri,
std::string &  address,
std::string &  payment_id,
uint64_t &  amount,
std::string &  tx_description,
std::string &  recipient_name,
std::vector< std::string > &  unknown_parameters,
std::string &  error 
)
virtual

Implements Electroneum::Wallet.

◆ path()

std::string Electroneum::WalletImpl::path ( ) const
virtual

Implements Electroneum::Wallet.

◆ pauseRefresh()

void Electroneum::WalletImpl::pauseRefresh ( )
virtual

pauseRefresh - pause refresh thread

Implements Electroneum::Wallet.

◆ publicSpendKey()

std::string Electroneum::WalletImpl::publicSpendKey ( ) const
virtual

publicSpendKey - returns public spend key

Returns
- public spend key

Implements Electroneum::Wallet.

◆ publicViewKey()

std::string Electroneum::WalletImpl::publicViewKey ( ) const
virtual

publicViewKey - returns public view key

Returns
- public view key

Implements Electroneum::Wallet.

◆ recover()

bool Electroneum::WalletImpl::recover ( const std::string &  path,
const std::string &  seed 
)

◆ recoverFromKeys()

bool Electroneum::WalletImpl::recoverFromKeys ( const std::string &  path,
const std::string &  language,
const std::string &  address_string,
const std::string &  viewkey_string,
const std::string &  spendkey_string = "" 
)

◆ refresh()

bool Electroneum::WalletImpl::refresh ( )
virtual

refresh - refreshes the wallet, updating transactions from daemon

Returns
- true if refreshed successfully;

Implements Electroneum::Wallet.

◆ refreshAsync()

void Electroneum::WalletImpl::refreshAsync ( )
virtual

refreshAsync - refreshes wallet asynchronously.

Implements Electroneum::Wallet.

◆ refreshThreadFunc()

void Electroneum::WalletImpl::refreshThreadFunc ( )
private

◆ rescanSpent()

bool Electroneum::WalletImpl::rescanSpent ( )
virtual

Implements Electroneum::Wallet.

◆ secretSpendKey()

std::string Electroneum::WalletImpl::secretSpendKey ( ) const
virtual

secretSpendKey - returns secret spend key

Returns
- secret spend key

Implements Electroneum::Wallet.

◆ secretViewKey()

std::string Electroneum::WalletImpl::secretViewKey ( ) const
virtual

secretViewKey - returns secret view key

Returns
- secret view key

Implements Electroneum::Wallet.

◆ seed()

std::string Electroneum::WalletImpl::seed ( ) const
virtual

Implements Electroneum::Wallet.

◆ setAutoRefreshInterval()

void Electroneum::WalletImpl::setAutoRefreshInterval ( int  millis)
virtual

setAutoRefreshInterval - setup interval for automatic refresh.

Parameters
seconds- interval in millis. if zero or less than zero - automatic refresh disabled;

Implements Electroneum::Wallet.

◆ setListener()

void Electroneum::WalletImpl::setListener ( WalletListener l)
virtual

Implements Electroneum::Wallet.

◆ setPassword()

bool Electroneum::WalletImpl::setPassword ( const std::string &  password)
virtual

Implements Electroneum::Wallet.

◆ setRecoveringFromSeed()

void Electroneum::WalletImpl::setRecoveringFromSeed ( bool  recoveringFromSeed)
virtual

setRecoveringFromSeed - set state recover form seed

Parameters
recoveringFromSeed- true/false

Implements Electroneum::Wallet.

◆ setRefreshFromBlockHeight()

void Electroneum::WalletImpl::setRefreshFromBlockHeight ( uint64_t  refresh_from_block_height)
virtual

setRefreshFromBlockHeight - start refresh from block height on recover

Parameters
refresh_from_block_height- blockchain start height

Implements Electroneum::Wallet.

◆ setSeedLanguage()

void Electroneum::WalletImpl::setSeedLanguage ( const std::string &  arg)
virtual

Implements Electroneum::Wallet.

◆ setTrustedDaemon()

void Electroneum::WalletImpl::setTrustedDaemon ( bool  arg)
virtual

Implements Electroneum::Wallet.

◆ setUserNote()

bool Electroneum::WalletImpl::setUserNote ( const std::string &  txid,
const std::string &  note 
)
virtual

Implements Electroneum::Wallet.

◆ signMessage()

std::string Electroneum::WalletImpl::signMessage ( const std::string &  message)
virtual

Implements Electroneum::Wallet.

◆ startRefresh()

void Electroneum::WalletImpl::startRefresh ( )
virtual

StartRefresh - Start/resume refresh thread (refresh every 10 seconds)

Implements Electroneum::Wallet.

◆ status()

int Electroneum::WalletImpl::status ( ) const
virtual

returns wallet status (Status_Ok | Status_Error)

Implements Electroneum::Wallet.

◆ stopRefresh()

void Electroneum::WalletImpl::stopRefresh ( )
private

◆ store()

bool Electroneum::WalletImpl::store ( const std::string &  path)
virtual

store - stores wallet to file.

Parameters
path- main filename to store wallet to. additionally stores address file and keys file. to store to the same file - just pass empty string;
Returns

Implements Electroneum::Wallet.

◆ submitTransaction()

bool Electroneum::WalletImpl::submitTransaction ( const std::string &  fileName)
virtual

submitTransaction - submits transaction in signed tx file

Returns
- true on success

Implements Electroneum::Wallet.

◆ synchronized()

bool Electroneum::WalletImpl::synchronized ( ) const
virtual

synchronized - checks if wallet was ever synchronized

Returns

Implements Electroneum::Wallet.

◆ testnet()

bool Electroneum::WalletImpl::testnet ( ) const
inlinevirtual

Implements Electroneum::Wallet.

◆ trustedDaemon()

bool Electroneum::WalletImpl::trustedDaemon ( ) const
virtual

Implements Electroneum::Wallet.

◆ unlockedBalance()

uint64_t Electroneum::WalletImpl::unlockedBalance ( ) const
virtual

Implements Electroneum::Wallet.

◆ useForkRules()

bool Electroneum::WalletImpl::useForkRules ( uint8_t  version,
int64_t  early_blocks 
) const
virtual

check if hard fork rules should be used

Implements Electroneum::Wallet.

◆ verifySignedMessage()

bool Electroneum::WalletImpl::verifySignedMessage ( const std::string &  message,
const std::string &  addres,
const std::string &  signature 
) const
virtual

verifySignedMessage - verify a signature matches a given message

Parameters
message- the message (arbitrary byte data)
address- the address the signature claims to be made with
signature- the signature
Returns
true if the signature verified, false otherwise

Implements Electroneum::Wallet.

◆ watchOnly()

bool Electroneum::WalletImpl::watchOnly ( ) const
virtual

watchOnly - checks if wallet is watch only

Returns
- true if watch only

Implements Electroneum::Wallet.

Friends And Related Function Documentation

◆ AddressBookImpl

friend class AddressBookImpl
friend

◆ PendingTransactionImpl

friend class PendingTransactionImpl
friend

◆ TransactionHistoryImpl

friend class TransactionHistoryImpl
friend

◆ UnsignedTransactionImpl

friend class UnsignedTransactionImpl
friend

◆ Wallet2CallbackImpl

friend struct Wallet2CallbackImpl
friend

Member Data Documentation

◆ m_addressBook

AddressBookImpl* Electroneum::WalletImpl::m_addressBook
private

◆ m_daemon_login

boost::optional<epee::net_utils::http::login> Electroneum::WalletImpl::m_daemon_login {}
private

◆ m_errorString

std::string Electroneum::WalletImpl::m_errorString
mutableprivate

◆ m_history

TransactionHistoryImpl* Electroneum::WalletImpl::m_history
private

◆ m_is_connected

std::atomic<bool> Electroneum::WalletImpl::m_is_connected
mutableprivate

◆ m_password

std::string Electroneum::WalletImpl::m_password
private

◆ m_rebuildWalletCache

std::atomic<bool> Electroneum::WalletImpl::m_rebuildWalletCache
private

◆ m_recoveringFromSeed

std::atomic<bool> Electroneum::WalletImpl::m_recoveringFromSeed
private

◆ m_refreshCV

boost::condition_variable Electroneum::WalletImpl::m_refreshCV
private

◆ m_refreshEnabled

std::atomic<bool> Electroneum::WalletImpl::m_refreshEnabled
private

◆ m_refreshIntervalMillis

std::atomic<int> Electroneum::WalletImpl::m_refreshIntervalMillis
private

◆ m_refreshMutex

boost::mutex Electroneum::WalletImpl::m_refreshMutex
private

◆ m_refreshMutex2

boost::mutex Electroneum::WalletImpl::m_refreshMutex2
private

◆ m_refreshThread

boost::thread Electroneum::WalletImpl::m_refreshThread
private

◆ m_refreshThreadDone

std::atomic<bool> Electroneum::WalletImpl::m_refreshThreadDone
private

◆ m_status

std::atomic<int> Electroneum::WalletImpl::m_status
mutableprivate

◆ m_synchronized

std::atomic<bool> Electroneum::WalletImpl::m_synchronized
private

◆ m_trustedDaemon

bool Electroneum::WalletImpl::m_trustedDaemon
private

◆ m_wallet

tools::wallet2* Electroneum::WalletImpl::m_wallet
private

◆ m_wallet2Callback

Wallet2CallbackImpl* Electroneum::WalletImpl::m_wallet2Callback
private

◆ m_walletListener

WalletListener* Electroneum::WalletImpl::m_walletListener
private

The documentation for this class was generated from the following files: