summaryrefslogtreecommitdiff
path: root/src/wallet
Commit message (Collapse)AuthorAgeFilesLines
* wallet: option to merge destinationsmoneromooo-monero2017-03-252-6/+15
| | | | | | | | | | | | With the change from the original transfer method to the new algorithm, payments to the same destination were merged. It seemed like a good idea, optimizing space. However, it is a useful tool for people who want to split large outputs into several smaller ones (ie, service providers making frequent payments, and who do not like a large chunk of their balance being locked for 10 blocks after each payment). Default to off, which is a change from the previous behavior.
* wallet: try to save large outputs when using an unneeded second inputmoneromooo-monero2017-03-242-3/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a single input is enough to satisfy a transfer, the code would previously try to add a second input, to match the "canonical" makeup of a transaction with two inputs and two outputs. This would cause wallets to slowly merge outputs till all the monero ends up in a single output, which causes trouble when making two transactions one after the other, since change is locked for 10 blocks, and an increasing portion of the remaining balance would end up locked on each transaction. There are two new settings (min-output-count and min-output-value) which can control when to stop adding such unneeded second outputs. The idea is that small "dust" outputs will still get added, but larger ones will not. Enable with, eg: set min-output-count 10 set min-output-value 30 to avoid using an unneeded second output of 30 monero or more, if there would be less than 10 such outputs left. This does not invalidate any other reason why such outputs would be used (ie, when they're really needed to satisfy a transfer, or when randomly picked in the normal course of selection). This may be improved in the future.
* Merge pull request #1915Riccardo Spagni2017-03-245-26/+18
|\ | | | | | | a8646b09 Wallet API: add hard fork info functions (Jaquee)
| * Wallet API: add hard fork info functionsJaquee2017-03-245-26/+18
| |
* | Merge pull request #1894Riccardo Spagni2017-03-243-0/+93
|\ \ | |/ |/| | | 8bbcbcfb wallet rpc: enable solo mining (stoffu)
| * wallet rpc: enable solo miningstoffu2017-03-203-0/+93
| |
* | core, wallet: faster tx pool scanningmoneromooo-monero2017-03-231-78/+83
| | | | | | | | Includes a new RPC to get tx pool hashes fast.
* | Merge pull request #1904Riccardo Spagni2017-03-211-1/+1
|\ \ | | | | | | | | | 995969b1 wallet: fix set_log not handling 0,xxx style settings (moneromooo-monero)
| * | wallet: fix set_log not handling 0,xxx style settingsmoneromooo-monero2017-03-211-1/+1
| | |
* | | Merge pull request #1903Riccardo Spagni2017-03-212-2/+26
|\ \ \ | | | | | | | | | | | | 350e99ae wallet2: cache which pool txes were scanned already (moneromooo-monero)
| * | | wallet2: cache which pool txes were scanned alreadymoneromooo-monero2017-03-212-2/+26
| |/ / | | | | | | | | | | | | This massively speeds up the wallet updating the pool on mainnet, where the tx backlog is more than 500 txes.
* | | Merge pull request #1899Riccardo Spagni2017-03-212-4/+42
|\ \ \ | |/ / |/| | | | | c1e9ccc7 wallet2: speed up transactions using remote nodes (moneromooo-monero)
| * | wallet2: speed up transactions using remote nodesmoneromooo-monero2017-03-202-4/+42
| |/ | | | | | | | | | | | | Asking for a full histogram from a remote node (since it's untrusted) is pretty slow, and spams the remote node, so we replace it by only adding a second input if we have rct ones, which are for all intents and purposes always mixable.
* / wallet2: start using new fee priorities at v5, not 14 days laermoneromooo-monero2017-03-201-1/+1
|/ | | | | Waiting would mean the fee used is 1x base, but the base will have suddenly dropped
* Merge pull request #1892Riccardo Spagni2017-03-191-1/+1
|\ | | | | | | df810a82 wallet-rpc bugfix: get_transfer_by_txid previously checking against payment id (kenshi84)
| * wallet-rpc bugfix: get_transfer_by_txid previously checking against payment idkenshi842017-03-191-1/+1
| |
* | wallet: increase node_rpc_proxy timeout to match wallet2moneromooo-monero2017-03-181-4/+6
|/
* Merge pull request #1884Riccardo Spagni2017-03-181-0/+28
|\ | | | | | | e9175cec wallet_rpc_server: make a few RPCs unavailable in restricted mode (moneromooo-monero)
| * wallet_rpc_server: make a few RPCs unavailable in restricted modemoneromooo-monero2017-03-181-0/+28
| | | | | | | | Address book modification, setting tx nodes, importing key images
* | Merge pull request #1883Riccardo Spagni2017-03-183-10/+10
|\ \ | | | | | | | | | d0238313 use const references in catch blocks (moneromooo-monero)
| * | use const references in catch blocksmoneromooo-monero2017-03-183-10/+10
| |/
* | Merge pull request #1882Riccardo Spagni2017-03-184-20/+62
|\ \ | | | | | | | | | | | | 3fa59755 wallet2: call is_key_image_spent in blocks in rescan_spent (moneromooo-monero) 9d134e86 wallet_rpc_server: add a rescan_spent RPC (moneromooo-monero)
| * | wallet2: call is_key_image_spent in blocks in rescan_spentmoneromooo-monero2017-03-181-20/+23
| | | | | | | | | | | | This is a potentially long lasting daemon RPC call
| * | wallet_rpc_server: add a rescan_spent RPCmoneromooo-monero2017-03-183-0/+39
| |/
* / wallet-rpc: enable openaliasstoffu2017-03-171-3/+3
|/
* Merge pull request #1869Riccardo Spagni2017-03-152-15/+37
|\ | | | | | | 3396a9f2 Add intervening v5 fork for increased min block size (moneromooo-monero)
| * Add intervening v5 fork for increased min block sizemoneromooo-monero2017-03-152-15/+37
| | | | | | | | | | | | | | | | | | | | Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
* | Adds a config file option to the walletArne Brutschy2017-03-121-0/+19
|/
* Merge pull request #1846Riccardo Spagni2017-03-062-3/+3
|\ | | | | | | 4b48565c wallet: add password command (moneromooo-monero)
| * wallet: add password commandmoneromooo-monero2017-03-052-3/+3
| | | | | | | | | | Also tweak wallet2 password code to verify password without saying it's a new wallet, because it's assuming things.
* | Merge pull request #1842Riccardo Spagni2017-03-051-3/+13
|\ \ | | | | | | | | | 223fe5bb wallet: fix get_tranfers with multiple incoming txes with same pid (moneromooo-monero)
| * | wallet: fix get_tranfers with multiple incoming txes with same pidmoneromooo-monero2017-03-041-3/+13
| |/
* / Revert "wallet: fix insertion of pool transactions"moneromooo-monero2017-03-041-1/+1
|/ | | | | | | | | This reverts commit d47dac9a88ddd46b88850a899311363b3261c89e. Callers actually expect the key to be payment id, so this needs a lot more changes (like storing payment ids in the structure, and possibly also to other existing structures which do the same thing).
* wallet api: fix parameters in wallet2callbackImplJaquee2017-03-031-7/+7
|
* use txid in wallet2::process_new_transaction()Jaquee2017-03-031-1/+1
|
* Merge pull request #1827Riccardo Spagni2017-03-033-3/+5
|\ | | | | | | db1c7d80 wallet api: add missing mining options (Jaquee)
| * wallet api: add missing mining optionsJaquee2017-03-023-3/+5
| |
* | Merge pull request #1826Riccardo Spagni2017-03-032-0/+17
|\ \ | | | | | | | | | 2c468dd4 allow user I/O in millinero, micronero, nanonero, piconero (moneromooo-monero)
| * | allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero2017-03-022-0/+17
| |/
* | Merge pull request #1823Riccardo Spagni2017-03-031-1/+1
|\ \ | | | | | | | | | d47dac9a wallet: fix insertion of pool transactions (moneromooo-monero)
| * | wallet: fix insertion of pool transactionsmoneromooo-monero2017-02-281-1/+1
| |/ | | | | | | They were inserted using payment id as key, not txid
* | Merge pull request #1820Riccardo Spagni2017-03-034-49/+103
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7a44f38a Add support for the wallet to refresh pruned blocks (moneromooo-monero) da18898f ringct: do not require range proof in decodeRct/decodeRctSimple (moneromooo-monero) b49c6ab4 rpc: add a default category for daemon rpc (moneromooo-monero) f113b92b core: add functions to serialize base tx info (moneromooo-monero) 6fd4b827 node_rpc_proxy: allow caching daemon RPC version (moneromooo-monero) b5c74e40 wallet: invalidate node proxy cache when reconnecting (moneromooo-monero)
| * | Add support for the wallet to refresh pruned blocksmoneromooo-monero2017-02-272-49/+63
| | |
| * | node_rpc_proxy: allow caching daemon RPC versionmoneromooo-monero2017-02-272-0/+26
| | |
| * | wallet: invalidate node proxy cache when reconnectingmoneromooo-monero2017-02-273-0/+14
| |/
* | Merge pull request #1813Riccardo Spagni2017-03-033-28/+28
|\ \ | | | | | | | | | b8a08f19 wallet: fix --log-file not working (moneromooo-monero)
| * | wallet: fix --log-file not workingmoneromooo-monero2017-02-283-28/+28
| |/
* | Merge pull request #1803Riccardo Spagni2017-03-033-4/+7
|\ \ | |/ |/| | | 53105743 Wallet API: Add support for daemon rpc login (Jaquee)
| * Wallet API: Add support for daemon rpc loginJaquee2017-02-253-4/+7
| |
* | wallet: avoid pre-log-init spew on --versionmoneromooo-monero2017-02-241-11/+11
| |