Files
blackcoin-more/src
Pieter Wuille f9cae832e6 Parallelize script verification
* 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.
2013-01-08 02:00:59 +01:00
..
2012-04-27 10:14:33 -04:00
2013-01-08 02:00:59 +01:00
2012-12-18 21:39:29 +01:00
2012-08-28 17:13:11 -04:00
2012-12-17 18:09:53 +08:00
2012-05-18 22:02:28 +08:00
2013-01-08 02:00:59 +01:00
2012-05-18 22:02:28 +08:00
2012-12-18 21:39:29 +01:00
2013-01-08 02:00:59 +01:00
2012-10-25 16:12:40 +02:00
2012-05-18 22:02:28 +08:00
2012-10-20 23:08:56 +02:00
2012-12-18 21:39:29 +01:00
2013-01-08 02:00:59 +01:00
2013-01-08 02:00:59 +01:00
2012-12-04 16:00:47 -05:00
2013-01-08 02:00:59 +01:00
2012-12-18 21:39:29 +01:00
2013-01-08 01:49:14 +01:00
2013-01-08 01:49:14 +01:00
2012-11-16 00:12:33 +01:00
2012-12-30 20:46:54 -05:00
2012-12-18 21:39:29 +01:00
2012-10-08 17:46:45 -04:00