aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Port Thread* methods to boost::thread_groupGavin Andresen2013-04-031-2/+4
|
* Make sure the genesis block is present after reindexPieter Wuille2013-02-011-1/+1
|
* Parallelize script verificationPieter Wuille2013-01-081-0/+4
| | | | | | | | | | | | | | | | | | | | | * During block verification (when parallelism is requested), script check actions are stored instead of being executed immediately. * After every processed transactions, its signature actions are pushed to a CScriptCheckQueue, which maintains a queue and some synchronization mechanism. * Two or more threads (if enabled) start processing elements from this queue, * When the block connection code is finished processing transactions, it joins the worker pool until the queue is empty. As cs_main is held the entire time, and all verification must be finished before the block continues processing, this does not reach the best possible performance. It is a less drastic change than some more advanced mechanisms (like doing verification out-of-band entirely, and rolling back blocks when a failure is detected). The -par=N flag controls the number of threads (1-16). 0 means auto, and is the default.
* Make test_bitcoin run in a temp datadirPieter Wuille2012-11-291-0/+7
|
* Fix tests after cache tweaksPieter Wuille2012-11-101-2/+2
|
* Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille2012-11-091-1/+1
| | | | | | | Flushes the blktree/ and coins/ databases, and reindexes the block chain files, as if their contents was loaded via -loadblock. Based on earlier work by Jeff Garzik.
* Remove BDB block database supportPieter Wuille2012-10-201-5/+0
|
* Add LevelDB MemEnv supportPieter Wuille2012-10-201-1/+7
| | | | Support LevelDB memory-backed environments, and use them in unit tests.
* Use singleton block tree database instancePieter Wuille2012-10-201-0/+8
|
* Suppress output when running unit tests.Gavin Andresen2012-08-201-1/+1
| | | | | | | | This does two things: 1) Now does not output to debug.log if -printtodebugger flag is passed 2) Unit tests set -printtodebugger so only test results are output to stdout Note that -printtodebugger only actually prints to the debugger on Windows.
* Run BDB disk-less for test_bitcoinLuke Dashjr2012-07-111-1/+7
|
* Fix build of testcases after commit 0f10b21719e1b0d9683a142f0a7105e65f095694Wladimir J. van der Laan2012-06-141-0/+6
|
* Make testcases build, prevent windows symbol collisionWladimir J. van der Laan2012-05-201-0/+4
|
* Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).Gavin Andresen2012-01-131-3/+9
|
* Global fixture to send output to console instead of debug.logGavin Andresen2011-12-191-0/+10
|
* Rework unit tests so test_bitcoin.cpp does not #include them allGavin Andresen2011-12-191-13/+2
|
* Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen2011-12-011-0/+1
| | | | attacks
* Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoinGavin Andresen2011-10-051-1/+2
|\
| * remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider2011-09-301-1/+2
| |
* | remove possibility of 63 bit overflow in ParseMoneyWladimir J. van der Laan2011-10-011-0/+2
|/ | | | - also, add unit tests for various functions in util.cpp/util.h
* Test case for base64 encode/decodePieter Wuille2011-09-271-0/+1
|
* Framework for banning mis-behaving peersGavin Andresen2011-09-211-1/+1
|
* Cleanup test suite output to be more useful.Matt Corallo2011-08-081-1/+1
|
* Add file for transaction tests.Matt Corallo2011-08-081-0/+1
|
* Add a file for script testsVegard Nossum2011-08-081-0/+1
|
* Fix testing setupVegard Nossum2011-08-081-0/+10
| | | | | | | There were some problems with the existing testing setup: - Makefile rules for test-file compilation used CFLAGS instead of CXXFLAGS in makefile.unix
* Boost unit-testing framework.Gavin Andresen2011-06-271-0/+6
make -f makefile.{unix,osx,mingw} test_bitcoin to compile dumb, do-almost-nothing placeholder unit tests.