aboutsummaryrefslogtreecommitdiff
path: root/src/test/accounting_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* test: move accounting_tests and rpc_wallet_tests to wallet/testWladimir J. van der Laan2016-04-181-141/+0
| | | | Move the two other wallet tests to where they belong.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Optimisation: Store transaction list order in memory rather than compute it ↵Luke Dashjr2015-11-211-4/+4
| | | | | | every need Huge performance improvement (450%) for zapwallettxes
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-2/+2
| | | | could once be renamed from /src/wallet to /src/legacywallet.
* Reinitialize state in between individual unit tests.Pieter Wuille2015-03-031-1/+3
| | | | | This changes the TestingSetup fixture to be per-unit-test rather than global. Most tests don't need it, so it's only invoked in a few.
* Merge pull request #4805Wladimir J. van der Laan2015-01-261-3/+3
|\ | | | | | | 44bc988 [Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..) (Cozz Lovan)
| * [Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..)Cozz Lovan2014-10-031-3/+3
| |
* | Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|/
* Use a typedef for monetary valuesMark Friedenbach2014-09-261-2/+2
|
* Add CMutableTransaction and make CTransaction immutable.Pieter Wuille2014-06-211-2/+10
| | | | | In addition, introduce a cached hash inside CTransaction, to prevent recalculating it over and over again.
* Add licenses for tests and test dataWladimir J. van der Laan2014-03-181-1/+3
| | | | | | | | - Add license headers to source files (years based on commit dates) in `src/test` as well as `qa` - Add `README.md` to `src/test/data` specifying MIT license Fixes #3848
* Unit test fixes for AssertLockHeld / -DDEBUG_LOCKORDERGavin Andresen2014-01-241-0/+2
| | | | | | | | | 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.
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-5/+9
| | | | | | | | | 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.
* Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in dbLuke Dashjr2012-09-081-1/+1
|
* Store a fixed order of transactions (and accounting) in the walletLuke Dashjr2012-08-231-0/+123
For backward compatibility, new accounting data is stored after a \0 in the comment string. This way, old versions and third-party software should load and store them, but all actual use (listtransactions, for example) ignores it.