monero/src
moneromooo-monero 0ad87db01f
wallet: try to save large outputs when using an unneeded second input
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.
2017-03-24 21:04:08 +00:00
..
blockchain_db Partial fix #1876, check thread in block_txn_start() 2017-03-19 12:27:03 +00:00
blockchain_utilities blockchain_import: make --log-level understand categories 2017-03-05 19:45:22 +00:00
blocks Add dependency for blocksdat.o 2017-03-04 22:02:10 +00:00
common Merge pull request #1883 2017-03-18 20:30:19 +02:00
crypto Specify "524,288" iterations instead of "500,000" 2017-03-14 16:39:44 +02:00
cryptonote_basic core: cache tx and block hashes in the respective classes 2017-03-23 09:25:17 +00:00
cryptonote_core blockchain: offset v5 addition date on testnet 2017-03-24 10:01:15 +00:00
cryptonote_protocol protocol: fix wrong tx being looked up from fluffy block 2017-03-13 19:16:25 +00:00
daemon daemon: better error reporting in commands 2017-03-21 19:21:00 +00:00
daemonizer Merge pull request #1897 2017-03-21 14:10:36 +02:00
mnemonics Fixes #1850 - Add French mnemonics wordlist 2017-03-23 21:53:20 +00:00
p2p p2p: use the fallback seed IPs when not enough seeds are found 2017-03-18 11:40:28 +00:00
platform update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
ringct ringct: move ge_frombytes_vartime failure error to warning 2017-03-22 21:26:38 +00:00
rpc core, wallet: faster tx pool scanning 2017-03-23 09:25:22 +00:00
serialization update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
simplewallet wallet: try to save large outputs when using an unneeded second input 2017-03-24 21:04:08 +00:00
wallet wallet: try to save large outputs when using an unneeded second input 2017-03-24 21:04:08 +00:00
CMakeLists.txt update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
cryptonote_config.h Add intervening v5 fork for increased min block size 2017-03-15 08:32:51 +00:00
version.cmake update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
version.h.in update version to 0.10.3.0 2017-03-18 20:34:52 +02:00