|
| | WalletImpl (NetworkType nettype=MAINNET, uint64_t kdf_rounds=1) |
| |
| | ~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 override |
| | createWatchOnly - Creates a watch only wallet
|
| |
| bool | open (const std::string &path, const std::string &password) |
| |
| bool | recover (const std::string &path, const std::string &password, const std::string &seed, const std::string &seed_offset={}) |
| |
| bool | recoverFromKeysWithPassword (const std::string &path, const std::string &password, const std::string &language, const std::string &address_string, const std::string &viewkey_string, const std::string &spendkey_string="") |
| |
| 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 | recoverFromDevice (const std::string &path, const std::string &password, const std::string &device_name) |
| |
| Device | getDeviceType () const override |
| | Queries backing device for wallet keys.
|
| |
| bool | close (bool store=true) |
| |
| std::string | seed (const std::string &seed_offset="") const override |
| |
| std::string | getSeedLanguage () const override |
| |
| void | setSeedLanguage (const std::string &arg) override |
| |
| int | status () const override |
| | returns wallet status (Status_Ok | Status_Error)
|
| |
| std::string | errorString () const override |
| | in case error status, returns error string
|
| |
| void | statusWithErrorString (int &status, std::string &errorString) const override |
| | returns both error and error string atomically. suggested to use in instead of status() and errorString()
|
| |
| bool | setPassword (const std::string &password) override |
| |
| const std::string & | getPassword () const override |
| |
| bool | setDevicePin (const std::string &password) override |
| |
| bool | setDevicePassphrase (const std::string &password) override |
| |
| std::string | address (uint32_t accountIndex=0, uint32_t addressIndex=0) const override |
| |
| std::string | integratedAddress (const std::string &payment_id) const override |
| | 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
|
| |
| std::string | secretViewKey () const override |
| | secretViewKey - returns secret view key
|
| |
| std::string | publicViewKey () const override |
| | publicViewKey - returns public view key
|
| |
| std::string | secretSpendKey () const override |
| | secretSpendKey - returns secret spend key
|
| |
| std::string | publicSpendKey () const override |
| | publicSpendKey - returns public spend key
|
| |
| std::string | publicMultisigSignerKey () const override |
| | publicMultisigSignerKey - returns public signer key
|
| |
| std::string | path () const override |
| |
| void | stop () override |
| | stop - interrupts wallet refresh() loop once (doesn't stop background refresh thread)
|
| |
| bool | store (const std::string &path) override |
| | store - stores wallet to file.
|
| |
| std::string | filename () const override |
| | filename - returns wallet filename
|
| |
| std::string | keysFilename () const override |
| | keysFilename - returns keys filename. usually this formed as "wallet_filename".keys
|
| |
| 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, const std::string &proxy_address="") override |
| | 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.
|
| |
| bool | connectToDaemon () override |
| | connectToDaemon - connects to the daemon. TODO: check if it can be removed
|
| |
| ConnectionStatus | connected () const override |
| | connected - checks if the wallet connected to the daemon
|
| |
| void | setTrustedDaemon (bool arg) override |
| |
| bool | trustedDaemon () const override |
| |
| bool | setProxy (const std::string &address) override |
| |
| uint64_t | balance (uint32_t accountIndex=0) const override |
| |
| uint64_t | unlockedBalance (uint32_t accountIndex=0) const override |
| |
| uint64_t | blockChainHeight () const override |
| | blockChainHeight - returns current blockchain height
|
| |
| uint64_t | approximateBlockChainHeight () const override |
| | approximateBlockChainHeight - returns approximate blockchain height calculated from date/time
|
| |
| uint64_t | estimateBlockChainHeight () const override |
| | estimateBlockChainHeight - returns estimate blockchain height. More accurate than approximateBlockChainHeight, uses daemon height and falls back to calculation from date/time
|
| |
| uint64_t | daemonBlockChainHeight () const override |
| | daemonBlockChainHeight - returns daemon blockchain height
|
| |
| uint64_t | daemonBlockChainTargetHeight () const override |
| | daemonBlockChainTargetHeight - returns daemon blockchain target height
|
| |
| bool | synchronized () const override |
| | synchronized - checks if wallet was ever synchronized
|
| |
| bool | refresh () override |
| | refresh - refreshes the wallet, updating transactions from daemon
|
| |
| void | refreshAsync () override |
| | refreshAsync - refreshes wallet asynchronously.
|
| |
| bool | rescanBlockchain () override |
| | rescanBlockchain - rescans the wallet, updating transactions from daemon
|
| |
| void | rescanBlockchainAsync () override |
| | rescanBlockchainAsync - rescans wallet asynchronously, starting from genesys
|
| |
| void | setAutoRefreshInterval (int millis) override |
| | setAutoRefreshInterval - setup interval for automatic refresh.
|
| |
| int | autoRefreshInterval () const override |
| | autoRefreshInterval - returns automatic refresh interval in millis
|
| |
| void | setRefreshFromBlockHeight (uint64_t refresh_from_block_height) override |
| | setRefreshFromBlockHeight - start refresh from block height on recover
|
| |
| uint64_t | getRefreshFromBlockHeight () const override |
| | getRestoreHeight - get wallet creation height
|
| |
| void | setRecoveringFromSeed (bool recoveringFromSeed) override |
| | setRecoveringFromSeed - set state recover form seed
|
| |
| void | setRecoveringFromDevice (bool recoveringFromDevice) override |
| | setRecoveringFromDevice - set state to recovering from device
|
| |
| void | setSubaddressLookahead (uint32_t major, uint32_t minor) override |
| | setSubaddressLookahead - set size of subaddress lookahead
|
| |
| bool | watchOnly () const override |
| | watchOnly - checks if wallet is watch only
|
| |
| bool | isDeterministic () const override |
| | isDeterministic - checks if wallet keys are deterministic
|
| |
| bool | rescanSpent () override |
| |
| NetworkType | nettype () const override |
| |
| void | hardForkInfo (uint8_t &version, uint64_t &earliest_height) const override |
| | returns current hard fork info
|
| |
| bool | useForkRules (uint8_t version, int64_t early_blocks) const override |
| | check if hard fork rules should be used
|
| |
| void | addSubaddressAccount (const std::string &label) override |
| | addSubaddressAccount - appends a new subaddress account at the end of the last major index of existing subaddress accounts
|
| |
| size_t | numSubaddressAccounts () const override |
| | numSubaddressAccounts - returns the number of existing subaddress accounts
|
| |
| size_t | numSubaddresses (uint32_t accountIndex) const override |
| | numSubaddresses - returns the number of existing subaddresses associated with the specified subaddress account
|
| |
| void | addSubaddress (uint32_t accountIndex, const std::string &label) override |
| | addSubaddress - appends a new subaddress at the end of the last minor index of the specified subaddress account
|
| |
| std::string | getSubaddressLabel (uint32_t accountIndex, uint32_t addressIndex) const override |
| | getSubaddressLabel - gets the label of the specified subaddress
|
| |
| void | setSubaddressLabel (uint32_t accountIndex, uint32_t addressIndex, const std::string &label) override |
| | setSubaddressLabel - sets the label of the specified subaddress
|
| |
| MultisigState | multisig () const override |
| | multisig - returns current state of multisig wallet creation process
|
| |
| std::string | getMultisigInfo () const override |
| | getMultisigInfo
|
| |
| std::string | makeMultisig (const std::vector< std::string > &info, uint32_t threshold) override |
| | makeMultisig - switches wallet in multisig state. The one and only creation phase for N / N wallets
|
| |
| std::string | exchangeMultisigKeys (const std::vector< std::string > &info, const bool force_update_use_with_caution=false) override |
| | exchange_multisig_keys - provides additional key exchange round for arbitrary multisig schemes (like N-1/N, M/N)
|
| |
| bool | exportMultisigImages (std::string &images) override |
| | exportMultisigImages - exports transfers' key images
|
| |
| size_t | importMultisigImages (const std::vector< std::string > &images) override |
| | importMultisigImages - imports other participants' multisig images
|
| |
| bool | hasMultisigPartialKeyImages () const override |
| | hasMultisigPartialKeyImages - checks if wallet needs to import multisig key images from other participants
|
| |
| PendingTransaction * | restoreMultisigTransaction (const std::string &signData) override |
| | restoreMultisigTransaction creates PendingTransaction from signData
|
| |
| PendingTransaction * | createTransactionMultDest (const std::vector< std::string > &dst_addr, const std::string &payment_id, optional< std::vector< uint64_t > > amount, uint32_t mixin_count, PendingTransaction::Priority priority=PendingTransaction::Priority_Low, uint32_t subaddr_account=0, std::set< uint32_t > subaddr_indices={}) override |
| | createTransactionMultDest creates transaction with multiple destinations. if dst_addr is an integrated address, payment_id is ignored
|
| |
| PendingTransaction * | createTransaction (const std::string &dst_addr, const std::string &payment_id, optional< uint64_t > amount, uint32_t mixin_count, PendingTransaction::Priority priority=PendingTransaction::Priority_Low, uint32_t subaddr_account=0, std::set< uint32_t > subaddr_indices={}) override |
| | createTransaction creates transaction. if dst_addr is an integrated address, payment_id is ignored
|
| |
| virtual PendingTransaction * | createSweepUnmixableTransaction () override |
| | createSweepUnmixableTransaction creates transaction with unmixable outputs.
|
| |
| bool | submitTransaction (const std::string &fileName) override |
| | submitTransaction - submits transaction in signed tx file
|
| |
| virtual UnsignedTransaction * | loadUnsignedTx (const std::string &unsigned_filename) override |
| | loadUnsignedTx - creates transaction from unsigned tx file
|
| |
| bool | exportKeyImages (const std::string &filename, bool all=false) override |
| | exportKeyImages - exports key images to file
|
| |
| bool | importKeyImages (const std::string &filename) override |
| | importKeyImages - imports key images from file
|
| |
| bool | exportOutputs (const std::string &filename, bool all=false) override |
| | importOutputs - exports outputs to file
|
| |
| bool | importOutputs (const std::string &filename) override |
| | importOutputs - imports outputs from file
|
| |
| bool | scanTransactions (const std::vector< std::string > &txids) override |
| | scanTransactions - scan a list of transaction ids, this operation may reveal the txids to the remote node and affect your privacy
|
| |
| virtual void | disposeTransaction (PendingTransaction *t) override |
| | disposeTransaction - destroys transaction object
|
| |
| virtual uint64_t | estimateTransactionFee (const std::vector< std::pair< std::string, uint64_t > > &destinations, PendingTransaction::Priority priority) const override |
| | Estimates transaction fee.
|
| |
| virtual TransactionHistory * | history () override |
| |
| virtual AddressBook * | addressBook () override |
| |
| virtual Subaddress * | subaddress () override |
| |
| virtual SubaddressAccount * | subaddressAccount () override |
| |
| virtual void | setListener (WalletListener *l) override |
| |
| virtual uint32_t | defaultMixin () const override |
| | defaultMixin - returns number of mixins used in transactions
|
| |
| virtual void | setDefaultMixin (uint32_t arg) override |
| | setDefaultMixin - setum number of mixins to be used for new transactions
|
| |
| virtual bool | setCacheAttribute (const std::string &key, const std::string &val) override |
| | setCacheAttribute - attach an arbitrary string to a wallet cache attribute
|
| |
| virtual std::string | getCacheAttribute (const std::string &key) const override |
| | getCacheAttribute - return an arbitrary string attached to a wallet cache attribute
|
| |
| virtual void | setOffline (bool offline) override |
| |
| virtual bool | isOffline () const override |
| |
| virtual bool | setUserNote (const std::string &txid, const std::string ¬e) override |
| | setUserNote - attach an arbitrary string note to a txid
|
| |
| virtual std::string | getUserNote (const std::string &txid) const override |
| | getUserNote - return an arbitrary string note attached to a txid
|
| |
| virtual std::string | getTxKey (const std::string &txid) const override |
| |
| virtual bool | checkTxKey (const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations) override |
| |
| virtual std::string | getTxProof (const std::string &txid, const std::string &address, const std::string &message) const override |
| |
| 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) override |
| |
| virtual std::string | getSpendProof (const std::string &txid, const std::string &message) const override |
| |
| virtual bool | checkSpendProof (const std::string &txid, const std::string &message, const std::string &signature, bool &good) const override |
| |
| virtual std::string | getReserveProof (bool all, uint32_t account_index, uint64_t amount, const std::string &message) const override |
| | getReserveProof - Generates a proof that proves the reserve of unspent funds Parameters account_index and amount are ignored when all is true
|
| |
| virtual bool | checkReserveProof (const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &total, uint64_t &spent) const override |
| |
| virtual std::string | signMessage (const std::string &message, const std::string &address) override |
| |
| virtual bool | verifySignedMessage (const std::string &message, const std::string &address, const std::string &signature) const override |
| | verifySignedMessage - verify a signature matches a given message
|
| |
| virtual std::string | signMultisigParticipant (const std::string &message) const override |
| | signMultisigParticipant signs given message with the multisig public signer key
|
| |
| virtual bool | verifyMessageWithPublicKey (const std::string &message, const std::string &publicKey, const std::string &signature) const override |
| | verifyMessageWithPublicKey verifies that message was signed with the given public key
|
| |
| virtual void | startRefresh () override |
| | StartRefresh - Start/resume refresh thread (refresh every 10 seconds)
|
| |
| virtual void | pauseRefresh () override |
| | pauseRefresh - pause refresh thread
|
| |
| 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) override |
| |
| virtual std::string | make_uri (const std::string &address, const std::string &payment_id, uint64_t amount, const std::string &tx_description, const std::string &recipient_name, std::string &error) const override |
| |
| virtual std::string | getDefaultDataDir () const override |
| |
| virtual bool | lightWalletLogin (bool &isNewWallet) const override |
| | Light wallet authenticate and login.
|
| |
| virtual bool | lightWalletImportWalletRequest (std::string &payment_id, uint64_t &fee, bool &new_request, bool &request_fulfilled, std::string &payment_address, std::string &status) override |
| | Initiates a light wallet import wallet request.
|
| |
| virtual bool | blackballOutputs (const std::vector< std::string > &outputs, bool add) override |
| | blackballs a set of outputs
|
| |
| virtual bool | blackballOutput (const std::string &amount, const std::string &offset) override |
| | blackballs an output
|
| |
| virtual bool | unblackballOutput (const std::string &amount, const std::string &offset) override |
| | unblackballs an output
|
| |
| virtual bool | getRing (const std::string &key_image, std::vector< uint64_t > &ring) const override |
| | gets the ring used for a key image, if any
|
| |
| virtual bool | getRings (const std::string &txid, std::vector< std::pair< std::string, std::vector< uint64_t > > > &rings) const override |
| | gets the rings used for a txid, if any
|
| |
| virtual bool | setRing (const std::string &key_image, const std::vector< uint64_t > &ring, bool relative) override |
| | sets the ring used for a key image
|
| |
| virtual void | segregatePreForkOutputs (bool segregate) override |
| | sets whether pre-fork outs are to be segregated
|
| |
| virtual void | segregationHeight (uint64_t height) override |
| | sets the height where segregation should occur
|
| |
| virtual void | keyReuseMitigation2 (bool mitigation) override |
| | secondary key reuse mitigation
|
| |
| virtual bool | lockKeysFile () override |
| | locks/unlocks the keys file; returns true on success
|
| |
| virtual bool | unlockKeysFile () override |
| |
| virtual bool | isKeysFileLocked () override |
| | returns true if the keys file is locked
|
| |
| virtual uint64_t | coldKeyImageSync (uint64_t &spent, uint64_t &unspent) override |
| | cold-device protocol key image sync
|
| |
| virtual void | deviceShowAddress (uint32_t accountIndex, uint32_t addressIndex, const std::string &paymentId) override |
| | shows address on device display
|
| |
| virtual bool | reconnectDevice () override |
| | attempt to reconnect to hardware device
|
| |
| virtual uint64_t | getBytesReceived () override |
| | get bytes received
|
| |
| virtual uint64_t | getBytesSent () override |
| | get bytes sent
|
| |
| virtual | ~Wallet ()=0 |
| |
| virtual std::string | seed (const std::string &seed_offset="") 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)
|
| |
| virtual std::string | errorString () const =0 |
| | in case error status, returns error string
|
| |
| 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()
|
| |
| virtual bool | setPassword (const std::string &password)=0 |
| |
| virtual const std::string & | getPassword () const =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
|
| |
| virtual bool | useForkRules (uint8_t version, int64_t early_blocks) const =0 |
| | check if hard fork rules should be used
|
| |
| 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
|
| |
| virtual std::string | secretViewKey () const =0 |
| | secretViewKey - returns secret view key
|
| |
| virtual std::string | publicViewKey () const =0 |
| | publicViewKey - returns public view key
|
| |
| virtual std::string | secretSpendKey () const =0 |
| | secretSpendKey - returns secret spend key
|
| |
| virtual std::string | publicSpendKey () const =0 |
| | publicSpendKey - returns public spend key
|
| |
| virtual std::string | publicMultisigSignerKey () const =0 |
| | publicMultisigSignerKey - returns public signer key
|
| |
| virtual void | stop ()=0 |
| | stop - interrupts wallet refresh() loop once (doesn't stop background refresh thread)
|
| |
| virtual bool | store (const std::string &path)=0 |
| | store - stores wallet to file.
|
| |
| virtual std::string | filename () const =0 |
| | filename - returns wallet filename
|
| |
| virtual std::string | keysFilename () const =0 |
| | keysFilename - returns keys filename. usually this formed as "wallet_filename".keys
|
| |
| 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, const std::string &proxy_address="")=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.
|
| |
| virtual bool | createWatchOnly (const std::string &path, const std::string &password, const std::string &language) const =0 |
| | createWatchOnly - Creates a watch only wallet
|
| |
| virtual void | setRefreshFromBlockHeight (uint64_t refresh_from_block_height)=0 |
| | setRefreshFromBlockHeight - start refresh from block height on recover
|
| |
| virtual uint64_t | getRefreshFromBlockHeight () const =0 |
| | getRestoreHeight - get wallet creation height
|
| |
| virtual void | setRecoveringFromSeed (bool recoveringFromSeed)=0 |
| | setRecoveringFromSeed - set state recover form seed
|
| |
| virtual void | setRecoveringFromDevice (bool recoveringFromDevice)=0 |
| | setRecoveringFromDevice - set state to recovering from device
|
| |
| virtual void | setSubaddressLookahead (uint32_t major, uint32_t minor)=0 |
| | setSubaddressLookahead - set size of subaddress lookahead
|
| |
| virtual bool | connectToDaemon ()=0 |
| | connectToDaemon - connects to the daemon. TODO: check if it can be removed
|
| |
| virtual ConnectionStatus | connected () const =0 |
| | connected - checks if the wallet connected to the daemon
|
| |
| virtual void | setTrustedDaemon (bool arg)=0 |
| |
| virtual bool | trustedDaemon () const =0 |
| |
| virtual bool | setProxy (const std::string &address)=0 |
| |
| virtual uint64_t | balance (uint32_t accountIndex=0) const =0 |
| |
| uint64_t | balanceAll () const |
| |
| virtual uint64_t | unlockedBalance (uint32_t accountIndex=0) const =0 |
| |
| uint64_t | unlockedBalanceAll () const |
| |
| virtual bool | watchOnly () const =0 |
| | watchOnly - checks if wallet is watch only
|
| |
| virtual bool | isDeterministic () const =0 |
| | isDeterministic - checks if wallet keys are deterministic
|
| |
| virtual uint64_t | blockChainHeight () const =0 |
| | blockChainHeight - returns current blockchain height
|
| |
| virtual uint64_t | approximateBlockChainHeight () const =0 |
| | approximateBlockChainHeight - returns approximate blockchain height calculated from date/time
|
| |
| 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
|
| |
| virtual uint64_t | daemonBlockChainHeight () const =0 |
| | daemonBlockChainHeight - returns daemon blockchain height
|
| |
| virtual uint64_t | daemonBlockChainTargetHeight () const =0 |
| | daemonBlockChainTargetHeight - returns daemon blockchain target height
|
| |
| virtual bool | synchronized () const =0 |
| | synchronized - checks if wallet was ever synchronized
|
| |
| virtual void | startRefresh ()=0 |
| | StartRefresh - Start/resume refresh thread (refresh every 10 seconds)
|
| |
| virtual void | pauseRefresh ()=0 |
| | pauseRefresh - pause refresh thread
|
| |
| virtual bool | refresh ()=0 |
| | refresh - refreshes the wallet, updating transactions from daemon
|
| |
| virtual void | refreshAsync ()=0 |
| | refreshAsync - refreshes wallet asynchronously.
|
| |
| virtual bool | rescanBlockchain ()=0 |
| | rescanBlockchain - rescans the wallet, updating transactions from daemon
|
| |
| virtual void | rescanBlockchainAsync ()=0 |
| | rescanBlockchainAsync - rescans wallet asynchronously, starting from genesys
|
| |
| virtual void | setAutoRefreshInterval (int millis)=0 |
| | setAutoRefreshInterval - setup interval for automatic refresh.
|
| |
| virtual int | autoRefreshInterval () const =0 |
| | autoRefreshInterval - returns automatic refresh interval in millis
|
| |
| 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
|
| |
| virtual size_t | numSubaddressAccounts () const =0 |
| | numSubaddressAccounts - returns the number of existing subaddress accounts
|
| |
| virtual size_t | numSubaddresses (uint32_t accountIndex) const =0 |
| | numSubaddresses - returns the number of existing subaddresses associated with the specified subaddress account
|
| |
| 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
|
| |
| virtual std::string | getSubaddressLabel (uint32_t accountIndex, uint32_t addressIndex) const =0 |
| | getSubaddressLabel - gets the label of the specified subaddress
|
| |
| virtual void | setSubaddressLabel (uint32_t accountIndex, uint32_t addressIndex, const std::string &label)=0 |
| | setSubaddressLabel - sets the label of the specified subaddress
|
| |
| virtual MultisigState | multisig () const =0 |
| | multisig - returns current state of multisig wallet creation process
|
| |
| virtual std::string | getMultisigInfo () const =0 |
| | getMultisigInfo
|
| |
| 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
|
| |
| virtual std::string | exchangeMultisigKeys (const std::vector< std::string > &info, const bool force_update_use_with_caution)=0 |
| | exchange_multisig_keys - provides additional key exchange round for arbitrary multisig schemes (like N-1/N, M/N)
|
| |
| virtual bool | exportMultisigImages (std::string &images)=0 |
| | exportMultisigImages - exports transfers' key images
|
| |
| virtual size_t | importMultisigImages (const std::vector< std::string > &images)=0 |
| | importMultisigImages - imports other participants' multisig images
|
| |
| virtual bool | hasMultisigPartialKeyImages () const =0 |
| | hasMultisigPartialKeyImages - checks if wallet needs to import multisig key images from other participants
|
| |
| virtual PendingTransaction * | restoreMultisigTransaction (const std::string &signData)=0 |
| | restoreMultisigTransaction creates PendingTransaction from signData
|
| |
| virtual PendingTransaction * | createTransactionMultDest (const std::vector< std::string > &dst_addr, const std::string &payment_id, optional< std::vector< uint64_t > > amount, uint32_t mixin_count, PendingTransaction::Priority=PendingTransaction::Priority_Low, uint32_t subaddr_account=0, std::set< uint32_t > subaddr_indices={})=0 |
| | createTransactionMultDest creates transaction with multiple destinations. if dst_addr is an integrated address, payment_id is ignored
|
| |
| 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
|
| |
| virtual PendingTransaction * | createSweepUnmixableTransaction ()=0 |
| | createSweepUnmixableTransaction creates transaction with unmixable outputs.
|
| |
| virtual UnsignedTransaction * | loadUnsignedTx (const std::string &unsigned_filename)=0 |
| | loadUnsignedTx - creates transaction from unsigned tx file
|
| |
| virtual bool | submitTransaction (const std::string &fileName)=0 |
| | submitTransaction - submits transaction in signed tx file
|
| |
| virtual void | disposeTransaction (PendingTransaction *t)=0 |
| | disposeTransaction - destroys transaction object
|
| |
| virtual uint64_t | estimateTransactionFee (const std::vector< std::pair< std::string, uint64_t > > &destinations, PendingTransaction::Priority priority) const =0 |
| | Estimates transaction fee.
|
| |
| virtual bool | exportKeyImages (const std::string &filename, bool all=false)=0 |
| | exportKeyImages - exports key images to file
|
| |
| virtual bool | importKeyImages (const std::string &filename)=0 |
| | importKeyImages - imports key images from file
|
| |
| virtual bool | exportOutputs (const std::string &filename, bool all=false)=0 |
| | importOutputs - exports outputs to file
|
| |
| virtual bool | importOutputs (const std::string &filename)=0 |
| | importOutputs - imports outputs from file
|
| |
| virtual bool | scanTransactions (const std::vector< std::string > &txids)=0 |
| | scanTransactions - scan a list of transaction ids, this operation may reveal the txids to the remote node and affect your privacy
|
| |
| 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
|
| |
| virtual void | setDefaultMixin (uint32_t arg)=0 |
| | setDefaultMixin - setum number of mixins to be used for new transactions
|
| |
| virtual bool | setCacheAttribute (const std::string &key, const std::string &val)=0 |
| | setCacheAttribute - attach an arbitrary string to a wallet cache attribute
|
| |
| virtual std::string | getCacheAttribute (const std::string &key) const =0 |
| | getCacheAttribute - return an arbitrary string attached to a wallet cache attribute
|
| |
| virtual bool | setUserNote (const std::string &txid, const std::string ¬e)=0 |
| | setUserNote - attach an arbitrary string note to a txid
|
| |
| virtual std::string | getUserNote (const std::string &txid) const =0 |
| | getUserNote - return an arbitrary string note attached to a txid
|
| |
| 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
|
| |
| 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, const std::string &address="")=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
|
| |
| virtual std::string | signMultisigParticipant (const std::string &message) const =0 |
| | signMultisigParticipant signs given message with the multisig public signer key
|
| |
| 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
|
| |
| 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 | make_uri (const std::string &address, const std::string &payment_id, uint64_t amount, const std::string &tx_description, const std::string &recipient_name, std::string &error) const =0 |
| |
| virtual std::string | getDefaultDataDir () const =0 |
| |
| virtual bool | rescanSpent ()=0 |
| |
| virtual void | setOffline (bool offline)=0 |
| |
| virtual bool | isOffline () const =0 |
| |
| virtual bool | blackballOutputs (const std::vector< std::string > &outputs, bool add)=0 |
| | blackballs a set of outputs
|
| |
| virtual bool | blackballOutput (const std::string &amount, const std::string &offset)=0 |
| | blackballs an output
|
| |
| virtual bool | unblackballOutput (const std::string &amount, const std::string &offset)=0 |
| | unblackballs an output
|
| |
| 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
|
| |
| 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
|
| |
| 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
|
| |
| virtual void | segregatePreForkOutputs (bool segregate)=0 |
| | sets whether pre-fork outs are to be segregated
|
| |
| virtual void | segregationHeight (uint64_t height)=0 |
| | sets the height where segregation should occur
|
| |
| virtual void | keyReuseMitigation2 (bool mitigation)=0 |
| | secondary key reuse mitigation
|
| |
| virtual bool | lightWalletLogin (bool &isNewWallet) const =0 |
| | Light wallet authenticate and login.
|
| |
| 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.
|
| |
| virtual bool | lockKeysFile ()=0 |
| | locks/unlocks the keys file; returns true on success
|
| |
| virtual bool | unlockKeysFile ()=0 |
| |
| virtual bool | isKeysFileLocked ()=0 |
| | returns true if the keys file is locked
|
| |
| virtual Device | getDeviceType () const =0 |
| | Queries backing device for wallet keys.
|
| |
| virtual uint64_t | coldKeyImageSync (uint64_t &spent, uint64_t &unspent)=0 |
| | cold-device protocol key image sync
|
| |
| virtual void | deviceShowAddress (uint32_t accountIndex, uint32_t addressIndex, const std::string &paymentId)=0 |
| | shows address on device display
|
| |
| virtual bool | reconnectDevice ()=0 |
| | attempt to reconnect to hardware device
|
| |
| virtual uint64_t | getBytesReceived ()=0 |
| | get bytes received
|
| |
| virtual uint64_t | getBytesSent ()=0 |
| | get bytes sent
|
| |