aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | | fix for tx proof: use exception instead of error_str when signature gen failedstoffu2017-11-211-1/+1
|/ /
* / Tx proof (revised):stoffu2017-11-181-0/+4
|/ | | | | | | | | - 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
* wallet: add sweep_single commandstoffu2017-11-151-0/+1
|
* wallet2 bugfix: loading old m_unconfirmed_paymentsstoffu2017-11-151-3/+2
|
* wallet: rejig to avoid prompting in wallet2moneromooo-monero2017-11-141-7/+4
| | | | | | wallet2 is a library, and should not prompt for stdin. Instead, pass a function so simplewallet can prompt on stdin, and a GUI might display a window, etc.
* Merge pull request #2755Riccardo Spagni2017-11-141-2/+2
|\ | | | | | | d70515fc Used declared default refresh status as default rather than it's current value (Maxime THIEBAUT)
| * Used declared default refresh status as default rather than it's current valueMaxime THIEBAUT2017-11-031-2/+2
| |
* | Merge pull request #2624Riccardo Spagni2017-11-141-0/+1
|\ \ | | | | | | | | | | | | 2677ade5 simplewallet: forbid 0 ring size (moneromooo-monero) da8b60cb simplewallet: reject attempts to use too low mixin early (moneromooo-monero)
| * | simplewallet: reject attempts to use too low mixin earlymoneromooo-monero2017-11-141-0/+1
| | | | | | | | | | | | | | | This yields a clear error message rather then some possibly confusing more technical errors down the line
* | | Merge pull request #2697Riccardo Spagni2017-11-141-14/+38
|\ \ \ | |/ / |/| | | | | d269bff2 wallet2: use a vector, not a list, for selected_transfers (moneromooo-monero)
| * | wallet2: use a vector, not a list, for selected_transfersmoneromooo-monero2017-11-131-14/+38
| | | | | | | | | | | | | | | | | | Friendlier on memory/speed, we know in advance the max amount of items, which are small and constant size, and there's a lot of list walking involved.
* | | track double spending in the txpoolmoneromooo-monero2017-11-061-7/+32
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Transactions in the txpool are marked when another transaction is seen double spending one or more of its inputs. This is then exposed wherever appropriate. Note that being marked with this "double spend seen" flag does NOT mean this transaction IS a double spend and will never be mined: it just means that the network has seen at least another transaction spending at least one of the same inputs, so care should be taken to wait for a few confirmations before acting upon that transaction (ie, mostly of use for merchants wanting to accept unconfirmed transactions).
* | Merge pull request #2605Riccardo Spagni2017-11-061-1/+27
|\ \ | | | | | | | | | b370ef54 Wallet: Descriptions through new commands 'set_description', 'get_description' (rbrunner7)
| * | Wallet: Descriptions through new commands 'set_description', 'get_description'rbrunner72017-10-161-1/+27
| | |
* | | Merge pull request #2546Riccardo Spagni2017-11-061-2/+2
|\ \ \ | |_|/ |/| | | | | b2d416f2 Distinguish "not enough money" and "not enough unlocked money" (binaryFate)
| * | Distinguish "not enough money" and "not enough unlocked money"binaryFate2017-10-161-2/+2
| |/ | | | | | | Fix #1530
* | Merge pull request #2703Riccardo Spagni2017-11-011-2/+2
|\ \ | | | | | | | | | | | | | | | d0463312 fix libwallet api test after api change (Jaquee) a46c1eed Wallet2: Don't throw when subaddress label doesn't exist (Jaquee) 086b7db2 Wallet API: default values for account and subaddr index (Jaquee)
| * | Wallet2: Don't throw when subaddress label doesn't existJaquee2017-10-291-2/+2
| |/
* / wallet2: fix subaddress fields serializationmoneromooo-monero2017-10-231-0/+15
|/ | | | | | When loading an older wallet cache, they wouldn't be initialized, leading them to have random(ish) values, and so assigned to some random subaddress.
* Merge pull request #2565Riccardo Spagni2017-10-151-1/+1
|\ | | | | | | 452d4fae tests: fix hashchain unit tests (moneromooo-monero)
| * tests: fix hashchain unit testsmoneromooo-monero2017-10-031-1/+1
| | | | | | | | and relax the not-empty safety check to stay more intuitiuve
* | Merge pull request #2109Riccardo Spagni2017-10-151-2/+62
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 97c2e449 wallet2+API: use separate callbacks for lightwallets (Jaquee) d9261867 walletAPI: correct confirmations in txHistory for unsynced wallets (Jaquee) 9442b043 walletAPI: lightwallet exceptions (Jaquee) fc922934 walletAPI: add lightwallet login() and importWalletRequest() (Jaquee) 79207743 walletAPI: init() lightwallet and SSL support (Jaquee) dde5a1fc walletAPI: add tx unlock_time (Jaquee) bba5cbed wallet2: remove obsolete get_num_rct_outputs() call from create_transactions_2 (Jaquee) 7a482f30 wallet2: create_transactions_2 lightwallet support (Jaquee) ce61b818 wallet2: get_outs lightwallet support (Jaquee) 1197cb71 wallet2: commit_tx() lightwallet support (Jaquee) 43b57804 wallet2: refactor is_tx_spendtime_unlocked() (Jaquee) 32e2b003 wallet2: add lightwallet exceptions to common functions (Jaquee) 2e692fc0 wallet2: refresh() lightwallet support (Jaquee) f44d156c my/openmonero API functions (Jaquee) 288d3c75 wallet2: add remove_obsolete_pool_txs() (Jaquee) 2c6aad7e wallet2: add on_pool_tx_removed callback (Jaquee) ff7c30aa wallet2: light wallet member variables (Jaquee) e2a276cb wallet2: add ssl option to init() (Jaquee) a13540be add string_tools::validate_hex() (Jaquee) fd773d88 refactor cryptonote_basic::add_tx_pub_key_to_extra (Jaquee) 8bfa6c2d lightwallet rpc server commands (Jaquee) 76961ddc Serializer: string to integer conversion for MyMonero compatibility (Jaquee) 1cf940f2 epee http_client SSL support (Jaquee) eec10137 CMakeLists.txt - Add openssl include dir (Jaquee)
| * | wallet2+API: use separate callbacks for lightwalletsJaquee2017-10-151-0/+7
| | |
| * | wallet2: get_outs lightwallet supportJaquee2017-10-151-0/+2
| | |
| * | wallet2: refactor is_tx_spendtime_unlocked()Jaquee2017-10-151-0/+1
| | |
| * | my/openmonero API functionsJaquee2017-10-151-0/+34
| | |
| * | wallet2: add remove_obsolete_pool_txs()Jaquee2017-10-151-0/+1
| | |
| * | wallet2: add on_pool_tx_removed callbackJaquee2017-10-151-0/+1
| | |
| * | wallet2: light wallet member variablesJaquee2017-10-151-1/+15
| | |
| * | wallet2: add ssl option to init()Jaquee2017-10-151-1/+1
| | |
* | | Merge pull request #2554Riccardo Spagni2017-10-151-2/+2
|\ \ \ | |/ / |/| | | | | d74336d5 wallet: encrypt (un)signed tx, also optionally save unencrypted raw tx hexstr (stoffu)
| * | wallet: encrypt (un)signed tx, also optionally save unencrypted raw tx hexstrstoffu2017-10-071-2/+2
| | |
* | | Subaddresseskenshi842017-10-071-54/+131
|/ /
* | Merge pull request #2529Riccardo Spagni2017-10-061-1/+0
|\ \ | | | | | | | | | bd937139 wallet2: error check for generate_key_image_helper, removed redundant wallet_generate_key_image_helper (stoffu)
| * | wallet2: error check for generate_key_image_helper, removed redundant ↵stoffu2017-10-031-1/+0
| |/ | | | | | | wallet_generate_key_image_helper
* / simplewallet: allow to set threshold before warning about tx backlogselsta2017-10-021-0/+3
|/
* wallet2: fix hash chain trimming when the inner chain becomes emptymoneromooo-monero2017-10-021-1/+2
| | | | | It'd prevent further syncing. Recovery of empty hash chains is automatic, but requires a running daemon
* wallet2: do not keep block hashes below last checkpointmoneromooo-monero2017-09-251-5/+52
| | | | This saves a lot of space and load/save time for wallet caches
* move checkpoints in a separate librarymoneromooo-monero2017-09-251-1/+1
|
* wallet2: simplify tx processing a bitmoneromooo-monero2017-09-251-2/+15
|
* wallet2: factor some of the tx scanning codemoneromooo-monero2017-09-251-0/+1
|
* wallet: add encrypted seed functionalitymoneromooo-monero2017-09-121-1/+1
| | | | | This uses luigi1111's CN_Add method. See https://xmr.llcoins.net for details.
* Merge pull request #2362Riccardo Spagni2017-09-021-3/+4
|\ | | | | | | adce8ae4 simplewallet: new "fee" command to display fee information (moneromooo-monero)
| * simplewallet: new "fee" command to display fee informationmoneromooo-monero2017-08-291-3/+4
| | | | | | | | including expected transaction backlog at different priorities
* | Merge pull request #2309Riccardo Spagni2017-09-021-2/+7
|\ \ | |/ |/| | | | | | | | | d58700e0 WalletAPI: only allow trusted daemon when importing key images (Jaquee) 8a9bbd26 WalletAPI: copy wallet data when creating a view only wallet (Jaquee) d27fe32e wallet2: export/import wallet data functions (Jaquee) 225a25f3 import_key_images - allow importing without being connected to daemon (Jaquee)
| * wallet2: export/import wallet data functionsJaquee2017-08-211-1/+6
| |
| * import_key_images - allow importing without being connected to daemonJaquee2017-08-181-1/+1
| |
* | wallet: new option to check/confirm txpool backlog when sendingmoneromooo-monero2017-08-261-2/+7
|/
* Merge pull request #2240Riccardo Spagni2017-08-151-0/+2
|\ | | | | | | | | | | b7d6ec83 simplewallet: add (out of sync) or (no daemon) markers in the prompt (moneromooo-monero) fa23a500 wallet2: add a is_synced function (moneromooo-monero) f1307bbd node_rpc_proxy: add a proxy for target height (moneromooo-monero)
| * wallet2: add a is_synced functionmoneromooo-monero2017-08-021-0/+2
| |