Chris Moore
831f59ce8b
Fix coin selection to only include change when it's necessary.
2012-06-04 16:49:10 +00:00
Chris Moore
d650f96d5f
Preserve the shuffled order of coins with equal value to give more randomized coin selection.
2012-06-04 16:36:46 +00:00
Chris Moore
4ce190a015
Test that the coin selection code is suitably random, and add tests re. sub-cent change.
2012-06-04 16:36:43 +00:00
Chris Moore
e333ab56d5
Move the random_shuffle call back into SelectCoinsMinConf() so we can unit test it.
2012-06-04 16:36:39 +00:00
Chris Moore
9b0369c773
Refactor SelectCoinsMinConf() and add unit tests.
...
AvailableCoins() makes a vector of available outputs which is then passed to SelectCoinsMinConf(). This allows unit tests to test the coin selection algorithm without having the whole blockchain available.
2012-06-04 16:36:34 +00:00
Chris Moore
2976a52222
"USE_UPNP=-" is needed to remove UPnP support.
2012-06-03 16:11:11 -07:00
Chris Moore
b3a6e613fc
CBitcoinSecret::SetString() now calls IsValid() to make sure it was passed something with the correct version.
2012-04-12 13:13:08 -07:00
Chris Moore
ec4efde40c
Add option "-splash" so we can disable the splash screen.
...
Don't show splash screen when -min is specified on the command line.
2012-02-24 19:17:22 -08:00
Chris Moore
d64e124cf4
Fix #846 . Allow negative options such as "nolisten=1" in bitcoin.conf as well as on the command line.
2012-02-16 12:08:58 -08:00
Chris Moore
74f28bf1fd
Fix #794 . Only remove transactions from memory pool when they're actually in the memory pool.
2012-02-09 05:21:41 -08:00
Chris Moore
2989b462a5
Add English translation to fix plural(s).
2011-11-04 13:04:49 -07:00
Chris Moore
6c33ec4045
Warn about the qt-at-spi bug in Ubuntu 11.10.
2011-10-24 20:38:46 -07:00
Chris Moore
d9711a5798
Don't scan the time offsets vector repeatedly once we've displayed the warning that the user's clock may be wrong.
2011-01-24 16:25:41 -08:00
Chris Moore
10abe4f26e
Repeatedly resetting the timestamp for seed nodes in the database was slow. Only update the database if it's a real change.
2011-01-24 14:47:36 -08:00
Chris Moore
4698dd9a02
Fix -maxconnections. It used to account for the 8 outbound connections twice when calculating the number of slots left for incoming connections.
2011-01-23 00:08:09 -08:00
Chris Moore
fdec7fe203
Merge branch show-version-in-help-2 of https://github.com/dooglus/bitcoin
2011-01-21 12:14:20 -08:00
Chris Moore
18cb92ab18
Merge branch 'display-version-in-help' of https://github.com/mhanne/bitcoin
2011-01-21 12:09:32 -08:00
Chris Moore
86c0af514b
Merge branch 'rpcssl-help' of github.com:dooglus/bitcoin into dooglus-rpcssl-help
2011-01-21 11:59:56 -08:00
Chris Moore
2aadc8bb5b
The -rpcssl command line option is a boolean, like -server, -daemon, -testnet, etc. Specifying -rpcssl=1 is the same as just -rpcssl, as for any other boolean flag, so let's show it the same in the help text.
2011-01-21 10:14:33 -08:00
Chris Moore
5284e1b60e
Add const bool VERSION_IS_BETA to serialize.h and use it when formatting the version string. Show the version string in --help text too.
2011-01-21 02:37:34 -08:00