aboutsummaryrefslogtreecommitdiff
path: root/src/test/dbwrapper_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* C++11: s/boost::scoped_ptr/std::unique_ptr/Jorge Timón2016-09-011-3/+3
|
* Add test for dbwrapper iterators with same-prefix keys.Matt Corallo2016-05-171-0/+86
|
* test: Add more thorough test for dbwrapper iteratorsWladimir J. van der Laan2016-04-271-1/+35
| | | | | | | | | | | | I made a silly mistake in a database wrapper where keys were sorted by char instead of uint8_t. As x86 char is signed the sorting for the block index database was messed up, resulting in a segfault due to missing records. Add a test to catch: - Wrong sorting - Seeking errors - Iteration result not complete
* dbwrapper: Pass parent CDBWrapper into CDBBatch and CDBIteratorWladimir J. van der Laan2016-04-231-4/+4
| | | | | | | | | Pass parent wrapper directly instead of obfuscation key. This makes it possible for other databases which re-use this code to use other properties from the database. Add a namespace dbwrapper_private for private functions to be used only in dbwrapper.h/cpp and dbwrapper_tests.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* leveldbwrapper file rename to dbwrapper.*Jeff Garzik2015-10-221-0/+207