aboutsummaryrefslogtreecommitdiff
path: root/src/checkqueue.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix CCheckQueue IsIdle (potential) race condition and remove dangerous ↵Jeremy Rubin2017-01-201-10/+12
| | | | constructors.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Bugfix: Grammar fixesCorinne Dashjr2015-05-011-3/+3
|
* Merge pull request #5721Wladimir J. van der Laan2015-02-061-4/+8
|\ | | | | | | cf008ac Acquire CCheckQueue's lock to avoid race condition (Suhas Daftuar)
| * Acquire CCheckQueue's lock to avoid race conditionSuhas Daftuar2015-02-031-4/+8
| | | | | | | | | | | | | | This fixes a potential race condition in the CCheckQueueControl constructor, which was looking directly at data in CCheckQueue without acquiring its lock. Remove the now-unnecessary friendship for CCheckQueueControl
* | Changed pronouns for correctness and inclusivitybikinibabe2015-01-311-1/+1
|/
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Convert remaining comments in /src to doxygen formatMichael Ford2014-11-211-23/+27
| | | | | | | | | | - Update comments in checkpoints to be doxygen compatible - Update comments in checkqueue to be doxygen compatible - Update coins to be doxygen compatible - Fix comment typo in crypter.h - Update licenses/copyright dates Closes #5325 #5184 #5183 #5182
* Fix all header definesPavel Janík2014-11-031-3/+3
|
* Apply clang-format on some infrequently-updated filesPieter Wuille2014-09-191-23/+36
|
* add missing header end commentsPhilip Kaufmann2014-08-281-1/+1
| | | | | | - ensures a consistent usage in header files - also add a blank line after the copyright header where missing - also remove orphan new-lines at the end of some files
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-5/+6
| | | | | | | | | 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.
* Refactor: CTxMempool class to its own txmempool.{cpp,h}Gavin Andresen2013-11-041-0/+1
|
* Port Thread* methods to boost::thread_groupGavin Andresen2013-04-031-18/+0
|
* Improve block database load error reportingPieter Wuille2013-02-171-0/+4
|
* Parallelize script verificationPieter Wuille2013-01-081-0/+206
* 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.