aboutsummaryrefslogtreecommitdiff
path: root/src/test/wallet_tests.cpp
AgeCommit message (Collapse)Author
2014-01-24Unit test fixes for AssertLockHeld / -DDEBUG_LOCKORDERGavin Andresen
Unit tests would fail if compiled with -DDEBUG_LOCKORDER (AssertLockHeld() would fail; AssertLockHeld() relies on the DEBUG_LOCKORDER code to keep track of locks held). Fixed by LOCK'ing the wallet mutex in the unit tests that manipulate the wallet.
2013-11-10Cleanup code using forward declarations.Brandon Dahler
Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
2013-09-19Fix minor unit test memory leaksPieter Wuille
2013-05-03Define dust transaction outputs, and make them non-standardGavin Andresen
2013-04-03Fix signed/unsigned comparison warningsGavin Andresen
2012-08-01Bugfix: Use standard BTC unit in commentsLuke Dashjr
2012-06-30Fix a couple more typosfanquake
2012-06-04Fix coin selection to only include change when it's necessary.Chris Moore
2012-06-04Test that the coin selection code is suitably random, and add tests re. ↵Chris Moore
sub-cent change.
2012-06-04Refactor SelectCoinsMinConf() and add unit tests.Chris Moore
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.