|
Electroneum
|
Interface for wallet operations. TODO: check if /include/IWallet.h is still actual. More...
#include <wallet2_api.h>

Public Types | |
| enum | Device { Device_Software = 0, Device_Ledger = 1, Device_Trezor = 2 } |
| enum | Status { Status_Ok, Status_Error, Status_Critical } |
| enum | ConnectionStatus { ConnectionStatus_Disconnected, ConnectionStatus_Connected, ConnectionStatus_WrongVersion } |
Public Member Functions | |
| virtual | ~Wallet ()=0 |
| virtual std::string | seed () const =0 |
| virtual std::string | getSeedLanguage () const =0 |
| virtual void | setSeedLanguage (const std::string &arg)=0 |
| virtual int | status () const =0 |
| returns wallet status (Status_Ok | Status_Error) More... | |
| virtual std::string | errorString () const =0 |
| in case error status, returns error string More... | |
| virtual void | statusWithErrorString (int &status, std::string &errorString) const =0 |
| returns both error and error string atomically. suggested to use in instead of status() and errorString() More... | |
| virtual bool | setPassword (const std::string &password)=0 |
| virtual bool | setDevicePin (const std::string &pin) |
| virtual bool | setDevicePassphrase (const std::string &passphrase) |
| virtual std::string | address (uint32_t accountIndex=0, uint32_t addressIndex=0) const =0 |
| std::string | mainAddress () const |
| virtual std::string | path () const =0 |
| virtual NetworkType | nettype () const =0 |
| bool | mainnet () const |
| bool | testnet () const |
| bool | stagenet () const |
| virtual void | hardForkInfo (uint8_t &version, uint64_t &earliest_height) const =0 |
| returns current hard fork info More... | |
| virtual bool | useForkRules (uint8_t version, int64_t early_blocks) const =0 |
| check if hard fork rules should be used More... | |
| virtual std::string | integratedAddress (const std::string &payment_id) const =0 |
| 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... | |
| virtual std::string | secretViewKey () const =0 |
| secretViewKey - returns secret view key More... | |
| virtual std::string | publicViewKey () const =0 |
| publicViewKey - returns public view key More... | |
| virtual std::string | secretSpendKey () const =0 |
| secretSpendKey - returns secret spend key More... | |
| virtual std::string | publicSpendKey () const =0 |
| publicSpendKey - returns public spend key More... | |
| virtual std::string | publicMultisigSignerKey () const =0 |
| publicMultisigSignerKey - returns public signer key More... | |
| virtual bool | store (const std::string &path)=0 |
| store - stores wallet to file. More... | |
| virtual std::string | filename () const =0 |
| filename - returns wallet filename More... | |
| virtual std::string | keysFilename () const =0 |
| keysFilename - returns keys filename. usually this formed as "wallet_filename".keys More... | |
| virtual bool | init (const std::string &daemon_address, uint64_t upper_transaction_size_limit=0, const std::string &daemon_username="", const std::string &daemon_password="", bool use_ssl=false, bool lightWallet=false)=0 |
| 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... | |
| virtual bool | createWatchOnly (const std::string &path, const std::string &password, const std::string &language) const =0 |
| createWatchOnly - Creates a watch only wallet More... | |
| virtual void | setRefreshFromBlockHeight (uint64_t refresh_from_block_height)=0 |
| setRefreshFromBlockHeight - start refresh from block height on recover More... | |
| virtual uint64_t | getRefreshFromBlockHeight () const =0 |
| getRestoreHeight - get wallet creation height More... | |
| virtual void | setRecoveringFromSeed (bool recoveringFromSeed)=0 |
| setRecoveringFromSeed - set state recover form seed More... | |
| virtual void | setRecoveringFromDevice (bool recoveringFromDevice)=0 |
| setRecoveringFromDevice - set state to recovering from device More... | |
| virtual void | setSubaddressLookahead (uint32_t major, uint32_t minor)=0 |
| setSubaddressLookahead - set size of subaddress lookahead More... | |
| virtual bool | connectToDaemon ()=0 |
| connectToDaemon - connects to the daemon. TODO: check if it can be removed More... | |
| virtual ConnectionStatus | connected () const =0 |
| connected - checks if the wallet connected to the daemon More... | |
| virtual void | setTrustedDaemon (bool arg)=0 |
| virtual bool | trustedDaemon () const =0 |
| virtual uint64_t | balance (uint32_t accountIndex=0, bool public_blockchain=false) const =0 |
| uint64_t | balanceAll (bool public_blockchain) const |
| virtual uint64_t | unlockedBalance (uint32_t accountIndex=0, bool public_blockchain=false) const =0 |
| uint64_t | unlockedBalanceAll (bool public_blockchain) const |
| virtual bool | watchOnly () const =0 |
| watchOnly - checks if wallet is watch only More... | |
| virtual uint64_t | blockChainHeight () const =0 |
| blockChainHeight - returns current blockchain height More... | |
| virtual uint64_t | approximateBlockChainHeight () const =0 |
| approximateBlockChainHeight - returns approximate blockchain height calculated from date/time More... | |
| virtual uint64_t | estimateBlockChainHeight () const =0 |
| estimateBlockChainHeight - returns estimate blockchain height. More accurate than approximateBlockChainHeight, uses daemon height and falls back to calculation from date/time More... | |
| virtual uint64_t | daemonBlockChainHeight () const =0 |
| daemonBlockChainHeight - returns daemon blockchain height More... | |
| virtual uint64_t | daemonBlockChainTargetHeight () const =0 |
| daemonBlockChainTargetHeight - returns daemon blockchain target height More... | |
| virtual bool | synchronized () const =0 |
| synchronized - checks if wallet was ever synchronized More... | |
| virtual void | startRefresh ()=0 |
| StartRefresh - Start/resume refresh thread (refresh every 10 seconds) More... | |
| virtual void | pauseRefresh ()=0 |
| pauseRefresh - pause refresh thread More... | |
| virtual bool | refresh ()=0 |
| refresh - refreshes the wallet, updating transactions from daemon More... | |
| virtual void | refreshAsync ()=0 |
| refreshAsync - refreshes wallet asynchronously. More... | |
| virtual bool | rescanBlockchain ()=0 |
| rescanBlockchain - rescans the wallet, updating transactions from daemon More... | |
| virtual void | rescanBlockchainAsync ()=0 |
| rescanBlockchainAsync - rescans wallet asynchronously, starting from genesys More... | |
| virtual void | setAutoRefreshInterval (int millis)=0 |
| setAutoRefreshInterval - setup interval for automatic refresh. More... | |
| virtual int | autoRefreshInterval () const =0 |
| autoRefreshInterval - returns automatic refresh interval in millis More... | |
| virtual void | addSubaddressAccount (const std::string &label)=0 |
| addSubaddressAccount - appends a new subaddress account at the end of the last major index of existing subaddress accounts More... | |
| virtual size_t | numSubaddressAccounts () const =0 |
| numSubaddressAccounts - returns the number of existing subaddress accounts More... | |
| virtual size_t | numSubaddresses (uint32_t accountIndex) const =0 |
| numSubaddresses - returns the number of existing subaddresses associated with the specified subaddress account More... | |
| virtual void | addSubaddress (uint32_t accountIndex, const std::string &label)=0 |
| addSubaddress - appends a new subaddress at the end of the last minor index of the specified subaddress account More... | |
| virtual std::string | getSubaddressLabel (uint32_t accountIndex, uint32_t addressIndex) const =0 |
| getSubaddressLabel - gets the label of the specified subaddress More... | |
| virtual void | setSubaddressLabel (uint32_t accountIndex, uint32_t addressIndex, const std::string &label)=0 |
| setSubaddressLabel - sets the label of the specified subaddress More... | |
| virtual MultisigState | multisig () const =0 |
| multisig - returns current state of multisig wallet creation process More... | |
| virtual std::string | getMultisigInfo () const =0 |
| getMultisigInfo More... | |
| virtual std::string | makeMultisig (const std::vector< std::string > &info, uint32_t threshold)=0 |
| makeMultisig - switches wallet in multisig state. The one and only creation phase for N / N wallets More... | |
| virtual std::string | exchangeMultisigKeys (const std::vector< std::string > &info)=0 |
| exchange_multisig_keys - provides additional key exchange round for arbitrary multisig schemes (like N-1/N, M/N) More... | |
| virtual bool | finalizeMultisig (const std::vector< std::string > &extraMultisigInfo)=0 |
| finalizeMultisig - finalizes N - 1 / N multisig wallets creation More... | |
| virtual bool | exportMultisigImages (std::string &images)=0 |
| exportMultisigImages - exports transfers' key images More... | |
| virtual size_t | importMultisigImages (const std::vector< std::string > &images)=0 |
| importMultisigImages - imports other participants' multisig images More... | |
| virtual bool | hasMultisigPartialKeyImages () const =0 |
| hasMultisigPartialKeyImages - checks if wallet needs to import multisig key images from other participants More... | |
| virtual PendingTransaction * | restoreMultisigTransaction (const std::string &signData)=0 |
| restoreMultisigTransaction creates PendingTransaction from signData More... | |
| virtual PendingTransaction * | createTransaction (const std::string &dst_addr, const std::string &payment_id, optional< uint64_t > amount, uint32_t mixin_count, PendingTransaction::Priority=PendingTransaction::Priority_Low, uint32_t subaddr_account=0, std::set< uint32_t > subaddr_indices={})=0 |
| createTransaction creates transaction. if dst_addr is an integrated address, payment_id is ignored More... | |
| virtual PendingTransaction * | createSweepUnmixableTransaction ()=0 |
| createSweepUnmixableTransaction creates transaction with unmixable outputs. More... | |
| virtual UnsignedTransaction * | loadUnsignedTx (const std::string &unsigned_filename)=0 |
| loadUnsignedTx - creates transaction from unsigned tx file More... | |
| virtual bool | submitTransaction (const std::string &fileName)=0 |
| submitTransaction - submits transaction in signed tx file More... | |
| virtual void | disposeTransaction (PendingTransaction *t)=0 |
| disposeTransaction - destroys transaction object More... | |
| virtual bool | exportKeyImages (const std::string &filename)=0 |
| exportKeyImages - exports key images to file More... | |
| virtual bool | importKeyImages (const std::string &filename)=0 |
| importKeyImages - imports key images from file More... | |
| virtual TransactionHistory * | history ()=0 |
| virtual AddressBook * | addressBook ()=0 |
| virtual Subaddress * | subaddress ()=0 |
| virtual SubaddressAccount * | subaddressAccount ()=0 |
| virtual void | setListener (WalletListener *)=0 |
| virtual uint32_t | defaultMixin () const =0 |
| defaultMixin - returns number of mixins used in transactions More... | |
| virtual void | setDefaultMixin (uint32_t arg)=0 |
| setDefaultMixin - setum number of mixins to be used for new transactions More... | |
| virtual bool | setUserNote (const std::string &txid, const std::string ¬e)=0 |
| setUserNote - attach an arbitrary string note to a txid More... | |
| virtual std::string | getUserNote (const std::string &txid) const =0 |
| getUserNote - return an arbitrary string note attached to a txid More... | |
| virtual std::string | getTxKey (const std::string &txid) const =0 |
| virtual bool | checkTxKey (const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations)=0 |
| virtual std::string | getTxProof (const std::string &txid, const std::string &address, const std::string &message) const =0 |
| virtual bool | checkTxProof (const std::string &txid, const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &received, bool &in_pool, uint64_t &confirmations)=0 |
| virtual std::string | getSpendProof (const std::string &txid, const std::string &message) const =0 |
| virtual bool | checkSpendProof (const std::string &txid, const std::string &message, const std::string &signature, bool &good) const =0 |
| virtual std::string | getReserveProof (bool all, uint32_t account_index, uint64_t amount, const std::string &message) const =0 |
getReserveProof - Generates a proof that proves the reserve of unspent funds Parameters account_index and amount are ignored when all is true More... | |
| virtual bool | checkReserveProof (const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &total, uint64_t &spent) const =0 |
| virtual std::string | signMessage (const std::string &message)=0 |
| virtual bool | verifySignedMessage (const std::string &message, const std::string &addres, const std::string &signature) const =0 |
| verifySignedMessage - verify a signature matches a given message More... | |
| virtual std::string | signMultisigParticipant (const std::string &message) const =0 |
| signMultisigParticipant signs given message with the multisig public signer key More... | |
| virtual bool | verifyMessageWithPublicKey (const std::string &message, const std::string &publicKey, const std::string &signature) const =0 |
| verifyMessageWithPublicKey verifies that message was signed with the given public key 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)=0 |
| virtual std::string | getDefaultDataDir () const =0 |
| virtual bool | rescanSpent ()=0 |
| virtual bool | blackballOutputs (const std::vector< std::string > &outputs, bool add)=0 |
| blackballs a set of outputs More... | |
| virtual bool | blackballOutput (const std::string &amount, const std::string &offset)=0 |
| blackballs an output More... | |
| virtual bool | unblackballOutput (const std::string &amount, const std::string &offset)=0 |
| unblackballs an output More... | |
| virtual bool | getRing (const std::string &key_image, std::vector< uint64_t > &ring) const =0 |
| gets the ring used for a key image, if any More... | |
| virtual bool | getRings (const std::string &txid, std::vector< std::pair< std::string, std::vector< uint64_t >>> &rings) const =0 |
| gets the rings used for a txid, if any More... | |
| virtual bool | setRing (const std::string &key_image, const std::vector< uint64_t > &ring, bool relative)=0 |
| sets the ring used for a key image More... | |
| virtual void | segregatePreForkOutputs (bool segregate)=0 |
| sets whether pre-fork outs are to be segregated More... | |
| virtual void | segregationHeight (uint64_t height)=0 |
| sets the height where segregation should occur More... | |
| virtual void | keyReuseMitigation2 (bool mitigation)=0 |
| secondary key reuse mitigation More... | |
| virtual bool | lightWalletLogin (bool &isNewWallet) const =0 |
| Light wallet authenticate and login. More... | |
| virtual bool | lightWalletImportWalletRequest (std::string &payment_id, uint64_t &fee, bool &new_request, bool &request_fulfilled, std::string &payment_address, std::string &status)=0 |
| Initiates a light wallet import wallet request. More... | |
| virtual bool | lockKeysFile ()=0 |
| locks/unlocks the keys file; returns true on success More... | |
| virtual bool | unlockKeysFile ()=0 |
| virtual bool | isKeysFileLocked ()=0 |
| returns true if the keys file is locked More... | |
| virtual Device | getDeviceType () const =0 |
| Queries backing device for wallet keys. More... | |
| virtual uint64_t | coldKeyImageSync (uint64_t &spent, uint64_t &unspent)=0 |
| cold-device protocol key image sync More... | |
Static Public Member Functions | |
| 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, NetworkType nettype) |
| 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, NetworkType nettype, std::string &error) |
| 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, NetworkType nettype) |
| 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 | init (const char *argv0, const char *default_log_base_name, const std::string &log_path, bool console) |
| static void | debug (const std::string &category, const std::string &str) |
| static void | info (const std::string &category, const std::string &str) |
| static void | warning (const std::string &category, const std::string &str) |
| static void | error (const std::string &category, const std::string &str) |
Interface for wallet operations. TODO: check if /include/IWallet.h is still actual.
Definition at line 430 of file wallet2_api.h.
| Enumerator | |
|---|---|
| ConnectionStatus_Disconnected | |
| ConnectionStatus_Connected | |
| ConnectionStatus_WrongVersion | |
Definition at line 444 of file wallet2_api.h.
| Enumerator | |
|---|---|
| Status_Ok | |
| Status_Error | |
| Status_Critical | |
Definition at line 438 of file wallet2_api.h.
|
pure virtual |
Definition at line 294 of file wallet.cpp.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 336 of file wallet.cpp.


|
inlinestatic |
Definition at line 668 of file wallet2_api.h.

|
pure virtual |
addSubaddress - appends a new subaddress at the end of the last minor index of the specified subaddress account
| accountIndex | - the major index specifying the subaddress account |
| label | - the label for the new subaddress |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
addSubaddressAccount - appends a new subaddress account at the end of the last major index of existing subaddress accounts
| label | - the label for the new account (which is the as the label of the primary address (accountIndex,0)) |
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 311 of file wallet.cpp.

|
static |
Definition at line 304 of file wallet.cpp.


|
pure virtual |
approximateBlockChainHeight - returns approximate blockchain height calculated from date/time
Implemented in Electroneum::WalletImpl.
|
pure virtual |
autoRefreshInterval - returns automatic refresh interval in millis
Implemented in Electroneum::WalletImpl.
Definition at line 604 of file wallet2_api.h.

|
pure virtual |
blackballs an output
Implemented in Electroneum::WalletImpl.
|
pure virtual |
blackballs a set of outputs
Implemented in Electroneum::WalletImpl.
|
pure virtual |
blockChainHeight - returns current blockchain height
Implemented in Electroneum::WalletImpl.

|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
cold-device protocol key image sync
Implemented in Electroneum::WalletImpl.
|
pure virtual |
connected - checks if the wallet connected to the daemon
Implemented in Electroneum::WalletImpl.

|
pure virtual |
connectToDaemon - connects to the daemon. TODO: check if it can be removed
Implemented in Electroneum::WalletImpl.
|
pure virtual |
createSweepUnmixableTransaction creates transaction with unmixable outputs.
Implemented in Electroneum::WalletImpl.
|
pure virtual |
createTransaction creates transaction. if dst_addr is an integrated address, payment_id is ignored
| dst_addr | destination address as string |
| payment_id | optional payment_id, can be empty string |
| amount | amount |
| mixin_count | mixin count. if 0 passed, wallet will use default value |
| subaddr_account | subaddress account from which the input funds are taken |
| subaddr_indices | set of subaddress indices to use for transfer or sweeping. if set empty, all are chosen when sweeping, and one or more are automatically chosen when transferring. after execution, returns the set of actually used indices |
| priority |
Implemented in Electroneum::WalletImpl.

|
pure virtual |
createWatchOnly - Creates a watch only wallet
| path | - where to store the wallet |
| password | |
| language |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
daemonBlockChainHeight - returns daemon blockchain height
Implemented in Electroneum::WalletImpl.

|
pure virtual |
daemonBlockChainTargetHeight - returns daemon blockchain target height
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 403 of file wallet.cpp.
|
pure virtual |
defaultMixin - returns number of mixins used in transactions
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 299 of file wallet.cpp.


|
pure virtual |
disposeTransaction - destroys transaction object
| t | - pointer to the "PendingTransaction" object. Pointer is not valid after function returned; |
Implemented in Electroneum::WalletImpl.

|
static |
|
pure virtual |
in case error status, returns error string
Implemented in Electroneum::WalletImpl.

|
pure virtual |
estimateBlockChainHeight - returns estimate blockchain height. More accurate than approximateBlockChainHeight, uses daemon height and falls back to calculation from date/time
Implemented in Electroneum::WalletImpl.
|
pure virtual |
exchange_multisig_keys - provides additional key exchange round for arbitrary multisig schemes (like N-1/N, M/N)
| info | - base58 encoded key derivations returned by makeMultisig or exchangeMultisigKeys function call |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
exportKeyImages - exports key images to file
| filename |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
exportMultisigImages - exports transfers' key images
| images | - output paramter for hex encoded array of images |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
|
pure virtual |
finalizeMultisig - finalizes N - 1 / N multisig wallets creation
| extraMultisigInfo | - wallet participants' extra multisig info obtained with makeMultisig call |
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 318 of file wallet.cpp.


|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Queries backing device for wallet keys.
Implemented in Electroneum::WalletImpl.
|
pure virtual |
getMultisigInfo
Implemented in Electroneum::WalletImpl.
|
pure virtual |
getRestoreHeight - get wallet creation height
Implemented in Electroneum::WalletImpl.
|
pure virtual |
getReserveProof - Generates a proof that proves the reserve of unspent funds Parameters account_index and amount are ignored when all is true
Implemented in Electroneum::WalletImpl.
|
pure virtual |
gets the ring used for a key image, if any
Implemented in Electroneum::WalletImpl.
|
pure virtual |
gets the rings used for a txid, if any
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
getSubaddressLabel - gets the label of the specified subaddress
| accountIndex | - the major index specifying the subaddress account |
| addressIndex | - the minor index specifying the subaddress |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
getUserNote - return an arbitrary string note attached to a txid
| txid | - the transaction id to attach the note to |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
returns current hard fork info
Implemented in Electroneum::WalletImpl.
|
pure virtual |
hasMultisigPartialKeyImages - checks if wallet needs to import multisig key images from other participants
Implemented in Electroneum::WalletImpl.
|
pure virtual |
|
pure virtual |
importKeyImages - imports key images from file
| filename |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
importMultisigImages - imports other participants' multisig images
| images | - array of hex encoded arrays of images obtained with exportMultisigImages |
Implemented in Electroneum::WalletImpl.
|
static |
|
pure 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.
| daemon_address | - daemon address in "hostname:port" format |
| upper_transaction_size_limit | |
| daemon_username | |
| daemon_password | |
| lightWallet | - start wallet in light mode, connect to a openmonero compatible server. |
Implemented in Electroneum::WalletImpl.

|
inlinestatic |
Definition at line 684 of file wallet2_api.h.


|
static |
Definition at line 393 of file wallet.cpp.

|
pure 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
| payment_id | - 16 characters hexadecimal string or empty string if new random payment id needs to be generated |
Implemented in Electroneum::WalletImpl.

|
pure virtual |
returns true if the keys file is locked
Implemented in Electroneum::WalletImpl.
|
pure virtual |
secondary key reuse mitigation
Implemented in Electroneum::WalletImpl.
|
pure virtual |
keysFilename - returns keys filename. usually this formed as "wallet_filename".keys
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 342 of file wallet.cpp.


|
inlinestatic |
Definition at line 673 of file wallet2_api.h.

|
pure virtual |
Initiates a light wallet import wallet request.
Implemented in Electroneum::WalletImpl.
Light wallet authenticate and login.
Implemented in Electroneum::WalletImpl.
|
pure virtual |
loadUnsignedTx - creates transaction from unsigned tx file
Implemented in Electroneum::WalletImpl.
|
pure virtual |
locks/unlocks the keys file; returns true on success
Implemented in Electroneum::WalletImpl.
|
inline |
Definition at line 464 of file wallet2_api.h.


|
inline |
Definition at line 467 of file wallet2_api.h.

|
pure virtual |
makeMultisig - switches wallet in multisig state. The one and only creation phase for N / N wallets
| info | - vector of multisig infos from other participants obtained with getMulitisInfo call |
| threshold | - number of required signers to make valid transaction. Must be equal to number of participants (N) or N - 1 |
Implemented in Electroneum::WalletImpl.
|
static |
|
pure virtual |
multisig - returns current state of multisig wallet creation process
Implemented in Electroneum::WalletImpl.
|
pure virtual |
|
pure virtual |
numSubaddressAccounts - returns the number of existing subaddress accounts
Implemented in Electroneum::WalletImpl.

|
pure virtual |
numSubaddresses - returns the number of existing subaddresses associated with the specified subaddress account
| accountIndex | - the major index specifying the subaddress account |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
pauseRefresh - pause refresh thread
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 378 of file wallet.cpp.


|
inlinestatic |
Definition at line 678 of file wallet2_api.h.

|
static |
Definition at line 325 of file wallet.cpp.

|
pure virtual |
publicMultisigSignerKey - returns public signer key
Implemented in Electroneum::WalletImpl.
|
pure virtual |
publicSpendKey - returns public spend key
Implemented in Electroneum::WalletImpl.
|
pure virtual |
publicViewKey - returns public view key
Implemented in Electroneum::WalletImpl.
|
pure virtual |
refresh - refreshes the wallet, updating transactions from daemon
Implemented in Electroneum::WalletImpl.

|
pure virtual |
refreshAsync - refreshes wallet asynchronously.
Implemented in Electroneum::WalletImpl.
|
pure virtual |
rescanBlockchain - rescans the wallet, updating transactions from daemon
Implemented in Electroneum::WalletImpl.
|
pure virtual |
rescanBlockchainAsync - rescans wallet asynchronously, starting from genesys
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
restoreMultisigTransaction creates PendingTransaction from signData
| signData | encrypted unsigned transaction. Obtained with PendingTransaction::multisigSignData |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
secretSpendKey - returns secret spend key
Implemented in Electroneum::WalletImpl.
|
pure virtual |
secretViewKey - returns secret view key
Implemented in Electroneum::WalletImpl.
|
pure virtual |
|
pure virtual |
sets whether pre-fork outs are to be segregated
Implemented in Electroneum::WalletImpl.
|
pure virtual |
sets the height where segregation should occur
Implemented in Electroneum::WalletImpl.
|
pure virtual |
setAutoRefreshInterval - setup interval for automatic refresh.
| seconds | - interval in millis. if zero or less than zero - automatic refresh disabled; |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
setDefaultMixin - setum number of mixins to be used for new transactions
| arg |
Implemented in Electroneum::WalletImpl.
|
inlinevirtual |
Reimplemented in Electroneum::WalletImpl.
Definition at line 462 of file wallet2_api.h.
|
inlinevirtual |
Reimplemented in Electroneum::WalletImpl.
Definition at line 461 of file wallet2_api.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
setRecoveringFromDevice - set state to recovering from device
| recoveringFromDevice | - true/false |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
setRecoveringFromSeed - set state recover form seed
| recoveringFromSeed | - true/false |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
setRefreshFromBlockHeight - start refresh from block height on recover
| refresh_from_block_height | - blockchain start height |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
sets the ring used for a key image
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
setSubaddressLabel - sets the label of the specified subaddress
| accountIndex | - the major index specifying the subaddress account |
| addressIndex | - the minor index specifying the subaddress |
| label | - the new label for the specified subaddress |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
setSubaddressLookahead - set size of subaddress lookahead
| major | - size fot the major index |
| minor | - size fot the minor index |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
setUserNote - attach an arbitrary string note to a txid
| txid | - the transaction id to attach the note to |
| note | - the note |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
signMultisigParticipant signs given message with the multisig public signer key
| message | message to sign |
Implemented in Electroneum::WalletImpl.
|
inline |
Definition at line 469 of file wallet2_api.h.

|
pure virtual |
StartRefresh - Start/resume refresh thread (refresh every 10 seconds)
Implemented in Electroneum::WalletImpl.

|
pure virtual |
returns wallet status (Status_Ok | Status_Error)
Implemented in Electroneum::WalletImpl.

|
pure virtual |
returns both error and error string atomically. suggested to use in instead of status() and errorString()
Implemented in Electroneum::WalletImpl.
|
pure virtual |
store - stores wallet to file.
| path | - main filename to store wallet to. additionally stores address file and keys file. to store to the same file - just pass empty string; |
Implemented in Electroneum::WalletImpl.

|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
submitTransaction - submits transaction in signed tx file
Implemented in Electroneum::WalletImpl.
|
pure virtual |
synchronized - checks if wallet was ever synchronized
Implemented in Electroneum::WalletImpl.
|
inline |
Definition at line 468 of file wallet2_api.h.


|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
unblackballs an output
Implemented in Electroneum::WalletImpl.
Definition at line 611 of file wallet2_api.h.

|
pure virtual |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
check if hard fork rules should be used
Implemented in Electroneum::WalletImpl.
|
pure virtual |
verifyMessageWithPublicKey verifies that message was signed with the given public key
| message | message |
| publicKey | hex encoded public key |
| signature | signature of the message |
Implemented in Electroneum::WalletImpl.
|
pure virtual |
verifySignedMessage - verify a signature matches a given message
| message | - the message (arbitrary byte data) |
| address | - the address the signature claims to be made with |
| signature | - the signature |
Implemented in Electroneum::WalletImpl.
|
static |
Definition at line 411 of file wallet.cpp.
|
pure virtual |
watchOnly - checks if wallet is watch only
Implemented in Electroneum::WalletImpl.