aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-05-13simplewallet: don't complain about incoming payment ids on changemoneromooo-monero1-1/+1
2020-04-27trezor: adapt to new passphrase mechanismDusan Klinec1-2/+4
- choice where to enter passphrase is now made on the host - use wipeable string in the comm stack - wipe passphrase memory - protocol optimizations, prepare for new firmware version - minor fixes and improvements - tests fixes, HF12 support
2020-02-11wallet2_api: wallet recovery - seed offset passphrase supportxiphon1-1/+5
2020-01-25wallet2_api: implement estimateTransactionFeexiphon1-0/+20
2019-09-09wallet2_api: add missing parameterselsta1-2/+2
2019-09-09wallet2_api: fix load unsigned tx from file error propagationxiphon1-0/+4
2019-08-16wallet_api: add multi destination tx supportselsta1-48/+54
2019-07-28Fixed error preventing build of monero-guiNejcraft1-1/+3
get_attribute expects 2 values instead of 1
2019-06-19wallet_api: catch getTxKey exceptionDusan Klinec1-8/+17
- getTxKey method throws an exception, e.g., when user declines txKey export
2019-06-17device: show address on device displayDusan Klinec1-0/+17
- Trezor: support for device address display (subaddress, integrated address) - Wallet::API support added - Simplewallet: - address device [<index>] - address new <label> // shows address on device also - integrated_address [device] <payment_id|address> // new optional "device" arg to display also on the device
2019-05-16wallet: add unlock_time details to show_transfersmoneromooo-monero1-1/+1
also add a note when receiving the tx, because the user might not notice the "XXX blocks to unlock" in the balance.
2019-05-10expose set/get walletcache attribute functionality in wallet apidsc1-0/+11
2019-04-07device/trezor: add button pressed requestDusan Klinec1-0/+7
2019-04-05wallet: API changes to enable passphrase entryDusan Klinec1-0/+5
2019-04-02api/wallet: fix some wrong namespacestoffu1-2/+2
2019-03-25Added socks proxy (tor/i2pd/kovri) support to walletLee Clagett1-2/+1
2019-03-20device/trezor: HF10 support added, wallet::APIDusan Klinec1-0/+81
- import only key images generated by cold signing process - wallet_api: trezor methods added - wallet: button request code added - const added to methods - wallet2::get_tx_key_device() tries to decrypt stored tx private keys using the device. - simplewallet supports get_tx_key and get_tx_proof on hw device using the get_tx_key feature - live refresh enables refresh with trezor i.e. computing key images on the fly. More convenient and efficient for users. - device: has_ki_live_refresh added - a thread is watching whether live refresh is being computed, if not for 30 seconds, it terminates the live refresh process - switches Trezor state
2019-03-12Wallet API: multisig_tx_set passing bug fixednaughtyfox1-1/+3
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-04various: remove unused variablesmoneromooo-monero1-1/+0
2019-02-02epee: add SSL supportmoneromooo-monero1-2/+2
RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
2019-01-18core, wallet: remember original text version of destination addressmoneromooo-monero1-0/+2
2019-01-07wallet_api: fix usage of LOG_ERRORmoneromooo-monero1-10/+10
2019-01-02wallet api/device: set estimated restore height if none is providedselsta1-0/+6
2018-11-07api/wallet: fix compile errors made in #4720stoffu1-3/+3
2018-10-18Rename "blackball" for claritymoneromooo-monero1-3/+3
Apparently some people seem to think it's a censorship list...
2018-10-16wallet2_api: fix generating new wallet in the GUImoneromooo-monero1-1/+1
It was creating a new wallet without a password first (this should be fixed), then not changing the password correctly
2018-10-16WalletAPI: rescanBlockchain, rescanBlockchainAsyncmmitkevich1-2/+24
2018-10-04wallet2_api: fix build with C++14moneromooo-monero1-7/+14
2018-10-01Arbitrary M/N multisig schemes:naughtyfox1-0/+14
* support in wallet2 * support in monero-wallet-cli * support in monero-wallet-rpc * support in wallet api * support in monero-gen-trusted-multisig * unit tests for multisig wallets creation
2018-09-30wallet2_api: blackball/unblackball now take two parametersmoneromooo-monero1-0/+22
amount and offset (instead of pubkey)
2018-09-29Merge pull request #4458Riccardo Spagni1-2/+2
921b0fb1 use default create_address_file argument (m2049r)
2018-09-29Merge pull request #4417Riccardo Spagni1-16/+10
a21da905 Wallet: use unique_ptr for WalletImpl members (oneiric)
2018-09-22wallet2_api: fix for latest code changesmoneromooo-monero1-1/+1
2018-09-22Wallet: use unique_ptr for WalletImpl membersoneiric1-16/+10
Use unique_ptr to manage WalletImpl internals, rather than raw pointers.
2018-09-19query backing devicem2049r1-0/+5
2018-09-17api/wallet: properly disable key encryptionstoffu1-2/+2
2018-09-16wallet2_api: bring up to latest wallet apimoneromooo-monero1-16/+36
2018-09-14remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero1-4/+4
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero1-0/+1
2018-09-10WalletAPI: 'hasMultisigPartialKeyImages' function addednaughtyfox1-0/+14
2018-08-23wallet: store trusted-daemon flag in wallet2stoffu1-6/+5
2018-08-16store secret keys encrypted where possiblemoneromooo-monero1-1/+2
The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API.
2018-08-16wallet: wipe seed from memory where appropriatemoneromooo-monero1-2/+2
2018-08-16wallet2: make --restricted-rpc available for wallet RPC onlystoffu1-2/+2
2018-08-08wallet: allow adjusting number of rounds for the key derivation functionstoffu1-2/+2
2018-07-03wallet2: unlock keys file before calling verify_password (needed for Windows)stoffu1-0/+14
Also added notes to WalletManager::verifyWalletPassword (which afaik seems unused by anyone at the moment) regarding the need to unlock the keys file beforehand.
2018-06-28api/wallet: add missing arg to wallet2::refresh()stoffu1-1/+1
2018-06-28wallet: prevent the same wallet file from being opened by multiple processesstoffu1-0/+1
2018-06-21Wallet API: add support for wallet creation from hardware devicestoffu1-1/+31
2018-06-05use deterministic viewkey if not suppliedcryptochangements341-20/+34
2018-05-31wallet: fix shared ring db pathstoffu1-2/+6
2018-05-05add .load() to make Boost 1.67 happy with its new is_integral checkTeutone1-1/+1
2018-05-04Wallet API: allow log path to be non-default & console output to be configurablestoffu1-2/+2
2018-04-25Wallet: added methods to sign and verify arbitrary message with multisig ↵naughtyfox1-0/+44
public signer's key (libwallet & wallet api)
2018-04-13WalletApi: publicMultisigSignerKey methodnaughtyfox1-0/+10
2018-03-28wallet: fix default mixin (4 -> 6)sneurlax1-1/+1
2018-03-28WalletApi: getMultisigInfo entry for gui walletsnaughtyfox1-0/+160
WalletApi: makeMultisig call introduced WalletApi: finalizeMultisig call introduced WalletApi: new calls exportMultisigImages and importMultisigImages WalletApi: method to return multisig wallet creation state WalletApi: create multisig transaction, sign multisig transaction, commit transaction and get multisig data are added WalletApi: identation and style fixes
2018-03-28Refactored: work with wallet api statuses to make setting and getting ↵naughtyfox1-252/+165
operations atomic along with error strings WalletApi: added method statusWithErrorString to atomically retrieve error with error string
2018-03-16wallet: more user friendly print_ringmoneromooo-monero1-0/+24
It can now take a txid (to display rings for all its inputs), and will print rings in a format that set_ring understands
2018-03-16wallet2_api: add key reuse mitigations APImoneromooo-monero1-0/+15
2018-03-16wallet2_api: add ring apimoneromooo-monero1-0/+38
2018-03-16wallet2_api: add blackball apimoneromooo-monero1-0/+55
2018-03-05Correct spelling mistakes.Edward Betts1-1/+1
2018-03-05Wallet API: generalize 'bool testnet' to 'NetworkType nettype'stoffu1-8/+8
2018-03-05Stagenetstoffu1-12/+12
2018-03-04wallet2_api: add info/error/warning entry pointsmoneromooo-monero1-2/+14
2018-02-25wallet api: when restoring from EnglishOld, set language to Englishstoffu1-0/+4
2018-02-25Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windowsrbrunner71-0/+10
2018-02-08wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrownstoffu1-0/+1
2018-01-29Fixed typos and wording tweaksMaxithi1-2/+2
2018-01-28wallet: automatically use low priority if safe (no backlog & recent blocks ↵stoffu1-2/+4
not full)
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2018-01-17Wallet API: all recover options with passwordm2049r1-3/+18
also renamed memo => mnemonic in api method parms
2018-01-10Reserve proofstoffu1-0/+49
2017-11-21Spend proof without txkeystoffu1-0/+46
2017-11-21fix for tx proof: use exception instead of error_str when signature gen failedstoffu1-2/+2
2017-11-18Tx proof (revised):stoffu1-8/+132
- refactoring: proof generation/checking code was moved from simplewallet.cpp to wallet2.cpp - allow an arbitrary message to be signed together with txid - introduce two types (outbound & inbound) of tx proofs; with the same syntax, inbound is selected when <address> belongs to this wallet, outbound otherwise. see GitHub thread for more discussion - wallet RPC: added get_tx_key, check_tx_key, get_tx_proof, check_tx_proof - wallet API: moved WalletManagerImpl::checkPayment to Wallet::checkTxKey, added Wallet::getTxProof/checkTxProof - get_tx_key/check_tx_key: handle additional tx keys by concatenating them into a single string
2017-10-22Wallet API: default values for account and subaddr indexJaquee1-2/+1
2017-10-16Distinguish "not enough money" and "not enough unlocked money"binaryFate1-2/+20
Fix #1530
2017-10-15wallet2+API: use separate callbacks for lightwalletsJaquee1-0/+32
2017-10-15walletAPI: lightwallet exceptionsJaquee1-2/+12
2017-10-15walletAPI: add lightwallet login() and importWalletRequest()Jaquee1-0/+32
2017-10-15walletAPI: init() lightwallet and SSL supportJaquee1-4/+6
2017-10-07Subaddresseskenshi841-59/+119
2017-09-23store is optional during close and defaults to true; except during descructionm2049r1-9/+11
2017-08-21WalletAPI: only allow trusted daemon when importing key imagesJaquee1-0/+5
2017-08-21WalletAPI: copy wallet data when creating a view only walletJaquee1-0/+27
2017-08-09WalletAPI: add getDefaultDataDir()Jaquee1-0/+6
2017-08-07change mixin to ring size in user visible placesmoneromooo-monero1-4/+4
2017-08-02fix wallet callback signaturesm2049r1-4/+4
2017-06-13wallet_api: fix missing transaction parameter in callbackmoneromooo-monero1-1/+1
It was unused, so harmless Reported by erikd on IRC
2017-05-23Wallet API: Set seed lang when recovering form keysJaquee1-1/+2
2017-05-02Wallet API: add spend/view key gettersJaquee1-1/+16
2017-04-24wallet: add sweep_below functionmoneromooo-monero1-1/+1
It sweeps all outputs below the given threshold This is available via the existing sweep_all RPC, by setting amount_threshold the desired amount (in atomic units)
2017-03-24Wallet API: add hard fork info functionsJaquee1-0/+12
2017-03-18use const references in catch blocksmoneromooo-monero1-1/+1
2017-03-03wallet api: fix parameters in wallet2callbackImplJaquee1-7/+7
2017-02-25Wallet API: Add support for daemon rpc loginJaquee1-2/+4
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-18wallet_api: fix logging init via apimoneromooo-monero1-0/+5
2017-02-14simplewallet: validate hex input sizemoneromooo-monero1-3/+3
2017-02-06Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett1-1/+1
2017-02-05Wallet API: Easylogger wrapper for guiJaquee1-0/+6
2017-02-04GUI: Improved refresh performanceJaquee1-7/+10
2017-02-04wallet api: Remove initAsync() and don't start refresh automatically on initJaquee1-14/+1
2017-01-30Wallet API: Create wallet from keysJaquee1-0/+130
2017-01-25Updates to epee HTTP client codeLee Clagett1-6/+6
- http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed
2017-01-20wallet: print exception message on get_random_outs_errormoneromooo-monero1-2/+2
2017-01-14fix timeout in check_connectionJaquee1-2/+4
2017-01-13Wallet API: add key image import/export functionsJaquee1-6/+49
2017-01-13Wallet API: add rescanSpent()Jaquee1-0/+18
2017-01-12Wallet2 + API: Callbacks for unconfirmed transfersJaquee1-0/+15
2017-01-10Wallet api: Update trustedDaemon when daemon is changedJaquee1-0/+6
2017-01-10GUI cold signingJaquee1-0/+47
fix conflict
2017-01-10Wallet API: functions for supporting/creating view only walletsJaquee1-4/+61
2017-01-10Wallet API: functions for supporting/creating view only walletsJaquee1-4/+61
2017-01-08Add parse_uri to wallet2_apiMoroccanMalinois1-0/+5
2016-12-27wallet api: prevent setting refresh height too highJaquee1-4/+2
2016-12-15Wallet API: Do not refresh while daemon is syncingJaquee1-18/+49
+ fixed fast refresh when creating wallet offline + improved close wallet logic (make sure refresh thread is stopped)
2016-12-13Bitmonero namespace renamed Monero. Bitmonero namespace alias added so that ↵Randi Joseph1-1/+3
third party uses of the wallet api can transition.
2016-12-12addressbook updatesJaquee1-6/+11
2016-12-12GUI address bookJaquee1-3/+10
2016-12-04Fix a few minor typosPierre Boyer1-1/+1
2016-11-26wallet: add a getter for the filename pathmoneromooo-monero1-0/+5
2016-11-26Improve daemon RPC version handlingmoneromooo-monero1-3/+3
Daemon RPC version is now composed of a major and minor number, so that incompatible changes bump the major version, while compatible changes can still bump the minor version without causing clients to unnecessarily complain.
2016-11-18wallet2_api: fix payment ids from integrated addresses being ignoredmoneromooo-monero1-0/+11
2016-11-13Wallet2: calculate approximate blockchain height on offline creationJacob Brydolf1-1/+4
Wallet API: add approximateBlockChainHeight()
2016-11-09wallet2_api: support for sweeping allmoneromooo-monero1-9/+17
2016-11-09Wallet API: use stored refresh height when rebuilding cacheJacob Brydolf1-2/+12
2016-11-08wallet2_api: API to sign and verify a messagemoneromooo-monero1-0/+17
2016-11-08Wallet API: added getTxKey()Jacob Brydolf1-0/+20
2016-11-08wallet2_api: add API for create_unmixable_sweep_transactionsmoneromooo-monero1-0/+92
2016-11-08Wallet API: Pause refresh while creating transactionJacob Brydolf1-0/+6
2016-11-07wallet2_api: allow connection to return "yes, but wrong version"moneromooo-monero1-3/+9
2016-11-05wallet2_api: add API for tx notesmoneromooo-monero1-0/+20
2016-10-16wallet_api: add address validation functionsmoneromooo-monero1-0/+20
The payment id from integrated addresses is also parsed
2016-10-16wallet2_api: recognize full size payment ids as validmoneromooo-monero1-2/+7
2016-10-16wallet_api: do not override invalid payment idmoneromooo-monero1-1/+1
Instead, return an empty string to mark the error
2016-10-15wallet: improve error messages when not enough money for transfermoneromooo-monero1-0/+9
2016-10-10Wallet API: added setRecoveringFromSeed();Jacob Brydolf1-0/+4
2016-10-08libwallet_api: Added option to restore from specific heightJacob Brydolf1-0/+4
2016-10-07libwallet_api: do not signal on sent/received tx until wallet completelyIlya Kitaev1-6/+22
synchronized
2016-10-06libwallet_api: some renamingsIlya Kitaev1-1/+0
2016-10-06Initialize transaction history if emptyIlya Kitaev1-0/+6
2016-10-03wallet2_api: added Wallet::daemonBlockChainTargetHeight()Jacob Brydolf1-0/+17
libwallet_api: Wallet::blockChainTargetHeight Signed-off-by: Jacob Brydolf <jacob@brydolf.net>
2016-10-01libwallet_api: do not use fast-refresh on recoveryIlya Kitaev1-3/+6
2016-09-30libwallet_api: fast-refresh in case of opening non-synced walletIlya Kitaev1-4/+5
2016-09-30libwallet_api: fast-refresh for new walletIlya Kitaev1-9/+25
2016-09-28libwallet_api: Wallet::setAutoRefreshInterval sanity checkIlya Kitaev1-1/+9
2016-09-28libwallet_api: explicitly return 0 in Wallet::daemonBlockChainHeight()Ilya Kitaev1-0/+2
on error
2016-09-26wallet2_api: milliseconds resolution for auto-refresh intervalIlya Kitaev1-8/+8
2016-09-26wallet2_api: added Wallet::daemonBlockChainHeight()Ilya Kitaev1-0/+15
2016-09-26libwallet_api: Wallet::blockChainHeight, WalletListener::newBlockIlya Kitaev1-1/+9
2016-09-20wallet2_api: getter and setter for "refresh interval"Ilya Kitaev1-1/+19
2016-09-20wallet2_api: fixed deadlock while closing walletIlya Kitaev1-3/+7
2016-09-18switch wallet API from std thread/mutex to boostRiccardo Spagni1-4/+4
2016-09-18switch wallet API from std thread/mutex to boostRiccardo Spagni1-4/+4
2016-09-16wallet: change priority/fee to ArticMine's recommendationmoneromooo-monero1-2/+1
We keep 1, 2, 3 multipliers till the fee decrase from 0.01/kB to 0.002/kB, where we start using 1, 20, 166 multipliers. This ensures the higher multiplier will compensate for the block reward penalty when pushing past 100% of the past median. The fee-multiplier wallet setting is now rename to priority, since it keeps its [0..3] range, but maps to different multiplier values.
2016-08-28wallet2_api: zero amounts are now allowed with rctmoneromooo-monero1-6/+0
2016-08-28wallet2_api: update on_money_{received,spent} prototypes for rct changesmoneromooo-monero1-4/+2
2016-08-23libwallet_api: Wallet::amountFromString fixedIlya Kitaev1-1/+1
2016-08-23libwallet_api: helper method to return maximumAllowedAmountIlya Kitaev1-0/+5
2016-08-22libwallet_api: do not store wallet on close if status is not okIlya Kitaev1-3/+5
2016-08-11Fake outs set is now decided by the walletmoneromooo-monero1-2/+2
This plugs a privacy leak from the wallet to the daemon, as the daemon could previously see what input is included as a transaction input, which the daemon hadn't previously supplied. Now, the wallet requests a particular set of outputs, including the real one. This can result in transactions that can't be accepted if the wallet happens to select too many outputs with non standard unlock times. The daemon could know this and select another output, but the wallet is blind to it. It's currently very unlikely since I don't think anything uses non default unlock times. The wallet requests more outputs than necessary so it can use spares if any of the returns outputs are still locked. If there are not enough spares to reach the desired mixin, the transaction will fail.
2016-07-18refreshing wallet even if error happenedIlya Kitaev1-6/+14
2016-07-18wallet_api: async init, Wallet::connected status, log levelIlya Kitaev1-14/+38
2016-07-18libwallet_api cmake: conditionally creating libwallet_merged2 only forIlya Kitaev1-2/+1
STATIC build
2016-07-18wallet_api: segfault on refresh fixedIlya Kitaev1-2/+2
2016-07-18WalletListener functionalityIlya Kitaev1-10/+79
2016-07-18Transaction fee multiplier aka priority integragedIlya Kitaev1-2/+6
2016-07-18Wallet::paymentIdValidIlya Kitaev1-0/+6
2016-06-23Wallet: payment id and integrated addressIlya Kitaev1-8/+50
2016-06-23Wallet::createTransaction: added mixin_count paramIlya Kitaev1-7/+11
2016-06-23double/string to monero integer convertion methodsIlya Kitaev1-0/+17
2016-06-23wallet::default_mixin exposed to public interface asIlya Kitaev1-1/+10
Wallet::setDefaultMixin, Wallet::defaultMixin; wallet::create_transaction_2 used in Wallet::createTransaction
2016-06-23Wallet::filename, Wallet::keysFilename, tests for move walletIlya Kitaev1-0/+10
2016-06-23WalletListener::moneySpent testIlya Kitaev1-0/+8
2016-06-23WalletListener::moneySpent(), WalletListener::moneyReceived()Ilya Kitaev1-2/+21
2016-06-23started WalletListenerIlya Kitaev1-1/+53
2016-06-23merged with upstreamIlya Kitaev1-2/+17
2016-06-23Wallet API : transaction history in progressIlya Kitaev1-1/+4
2016-06-23transaction history api in progressIlya Kitaev1-1/+1
2016-06-23api implementation splitted over separate filesIlya Kitaev1-311/+16
2016-06-23TransactionInfo / TransactionHistory APIs designIlya Kitaev1-123/+155
2016-06-23Wallet::createTransaction API introducedIlya Kitaev1-122/+203
Transaction API continued TODOs for Transaction/Transfer interface
2016-06-23Wallet::transfer in progressIlya Kitaev1-1/+182
2016-06-23Wallet::refresh + testsIlya Kitaev1-0/+13
2016-06-23"testnet" is default parameterIlya Kitaev1-1/+10
2016-06-23testnet option, Wallet::balance(), Wallet::unlockedBalance()Ilya Kitaev1-3/+9
2016-06-23- testnet option added to api;Ilya Kitaev1-9/+41
2016-06-23wallet2::store() implemented within wallet2::store_toIlya Kitaev1-0/+6
2016-04-20api implementation splitted over separate filesIlya Kitaev1-706/+0
2016-04-19TransactionInfo / TransactionHistory APIs designIlya Kitaev1-123/+155
2016-04-12TODOs for Transaction/Transfer interfaceIlya Kitaev1-10/+17
2016-04-06Transaction API continuedIlya Kitaev1-4/+20
2016-04-05Wallet::createTransaction API introducedIlya Kitaev1-119/+177
2016-04-04Wallet::transfer() continuedIlya Kitaev1-6/+147
2016-04-03Wallet::transfer in progressIlya Kitaev1-0/+40
2016-03-31Wallet::refresh + testsIlya Kitaev1-0/+13