aboutsummaryrefslogtreecommitdiff
path: root/src/test/coins_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete reference to CValidationState from UpdateCoins.21E142016-04-301-2/+1
|
* Add tests for CCoins deserializationPieter Wuille2016-04-251-0/+71
|
* txdb: Add Cursor() method to CCoinsView to iterate over UTXO setWladimir J. van der Laan2016-04-151-2/+0
| | | | | | | | | | Add a method Cursor() to CCoinsView that returns a cursor which can be used to iterate over the whole UTXO set. - rpc: Change gettxoutsetinfo to use new Cursor method - txdb: Remove GetStats method - Now that GetStats is implemented in terms of Cursor, remove it.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Alter assumptions in CCoinsViewCache::BatchWriteAlex Morcos2015-11-181-0/+16
| | | | Previously it would break if you flushed a parent cache while there was a child cache referring to it. This change will allow the flushing of parent caches.
* Add unit test for UpdateCoinsAlex Morcos2015-11-121-0/+131
|
* Make CCoinsViewTest behave like CCoinsViewDBAlex Morcos2015-11-111-6/+9
|
* Separate core memory usage computation in core_memusage.hPieter Wuille2015-07-201-2/+2
|
* Keep track of memory usage in CCoinsViewCachePieter Wuille2015-05-111-3/+24
|
* tests: add a BasicTestingSetup and apply to all testsWladimir J. van der Laan2015-03-121-1/+2
| | | | | | | | Make sure that chainparams and logging is properly initialized. Doing this for every test may be overkill, but this initialization is so simple that that does not matter. This should fix the travis issues.
* Get rid of the dummy CCoinsViewCache constructor argPieter Wuille2014-09-241-2/+2
|
* Add coins_tests with a large randomized CCoinViewCache test.Pieter Wuille2014-09-231-0/+178