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.
12 years ago
Pieter Wuille
1d70f4bde8
Remove CheckSig_mode and move logic out of CheckInputs()
12 years ago
Pieter Wuille
2800ce7367
Add CScriptCheck: a closure representing a script check
12 years ago
Pieter Wuille
f1136200a6
Move VerifySignature to main
12 years ago
Wladimir J. van der Laan
429915bd0d
Merge pull request #2153 from Diapolo/overviewpage
...
Bitcoin-Qt: fix small stylesheet glitch in overviewpage.ui
12 years ago
Wladimir J. van der Laan
12aacd582a
Merge pull request #2151 from Diapolo/signmessage
...
Bitcoin-Qt: add a Signature label on sign message page
12 years ago
Wladimir J. van der Laan
51b05d0dca
Merge pull request #2147 from Diapolo/mq_name_testnet
...
Bitcoin-Qt: give testnet a unique IPC message queue name
12 years ago
Wladimir J. van der Laan
13013f5044
Merge pull request #2143 from Diapolo/ThreadSafeMessageBox_caption
...
update ThreadSafeMessageBox function to use strCaption
12 years ago
Philip Kaufmann
765e22b82c
Bitcoin-Qt: fix small stylesheet glitch in overviewpage.ui
12 years ago
Philip Kaufmann
aec056edb5
Bitcoin-Qt: add a Signature label on sign message page
12 years ago
Philip Kaufmann
37f070f564
update noui_ThreadSafeMessageBox function to use strCaption
...
- ensure we use strCaption for printf and fprintf, as before it could
happen to have an error message in the debug.log, which had no "Error"
(or whatever) in front
12 years ago
Philip Kaufmann
8ffbd6c378
Bitcoin-Qt: give testnet a unique IPC message queue name
...
- this prevents an interference with the IPC message queue (which is used
for URI processing) when running a testnet and mainnet instance in
parallel
- to check for testnet, I had to raise the ParseParameters() call in
main() to the topmost position
12 years ago
Wladimir J. van der Laan
1f4fdb70f0
Merge pull request #2110 from Diapolo/addrbook
...
Bitcoin-Qt: comment out unused parameter in addressbookpage
12 years ago
Wladimir J. van der Laan
eb5c24c464
Merge pull request #2148 from Diapolo/est_block_count
...
Bitcoin-Qt: never display own block count > estimated block count
12 years ago
Wladimir J. van der Laan
744adb2e61
Merge pull request #1685 from Diapolo/Qt_add_options_reset
...
Bitcoin-Qt: add a Reset button to the options dialog
12 years ago
Wladimir J. van der Laan
c80beff582
Merge pull request #2141 from Diapolo/translations
...
translations update (bitcoinstrings.cpp + bitcoin_en.ts)
12 years ago
Philip Kaufmann
2e43c92428
translations update (bitcoinstrings.cpp + bitcoin_en.ts)
12 years ago
Philip Kaufmann
5fb445b49e
Bitcoin-Qt: add a Reset button to the options dialog
...
- a click on "Reset Options" sets all options to the default values by
removing all stored settings (QSettings), loading the defaults and
saving them as the new settings
- before the reset is executed the user is presented a confirmation dialog
- special casing was needed for StartAtStartup
12 years ago
Philip Kaufmann
54413aab13
Bitcoin-Qt: never display own block count > estimated block count
...
- some users reported it as weird, that the estimated block count could be
lower than our own nodes block number (which is indeed true and not good)
- this pull adds a new default behaviour, which displays our own block
number as estimated block number, if own >= est. block count
- the pull raises space for nodes block counts in cPeerBlockCounts to 8 to
be more accurate
- also removes a reduntant setNumBlocks() call in RPCConsole and moves
initialisation of numBlocksAtStartup in ClientModel, where it belongs
12 years ago
Jeff Garzik
ea9788517b
test/util_tests.cpp: one more DateTimeStrFormat 'T' removal
12 years ago
Jeff Garzik
3f964b3c50
Remove 'T' from remaining date/time format strings.
12 years ago
Wladimir J. van der Laan
15ffcc3642
Merge pull request #2032 from burger2/fix_shortcut
...
Fix duplicate shortcut usage in sign/verify message dialog.
12 years ago
Gavin Andresen
567128a345
Merge pull request #2133 from Diapolo/init_strings
...
update 2 command-line parameter help messages
12 years ago
Jeff Garzik
393819cde4
Remove 'T' from debug log timestamps
...
Space separation between major fields is easier for human eyes and
libs to parse.
12 years ago
Philip Kaufmann
b8397fbfcd
update 2 command-line parameter help messages
...
- -checkpoints is now much more understandable and should be way easier
to translate
- -loadblock uses the same format (blk000??.dat) as -reindex
12 years ago
Gavin Andresen
23826f1b7f
Merge pull request #2116 from sipa/importrescanbool
...
Convert fRescan argument to importprivkey to bool
12 years ago
Pieter Wuille
328680190a
Merge pull request #2113 from sipa/hashh
...
Split off hash.h from util.h
12 years ago
Pieter Wuille
5dfbd4ff68
Convert fRescan argument to importprivkey to bool
12 years ago
Pieter Wuille
0fb9073edd
Split off hash.h from util.h
12 years ago
Gavin Andresen
6940626d08
Merge pull request #2112 from fanquake/typos
...
Fix two typos in main.h
12 years ago
fanquake
f0bf5fb245
Fix two typos in main.h
...
Break one long comment down into 3 lines so it's readable.
12 years ago
Philip Kaufmann
a8fbbd8fb0
Bitcoin-Qt: comment out unused parameter in addressbookpage
12 years ago
Pieter Wuille
da8c5c9f4e
Merge pull request #2087 from gavinandresen/check210000
...
Checkpoint at first 25-btc-reward block (210,000)
12 years ago
Pieter Wuille
33766c9557
Merge pull request #2096 from 94m3k1n9/fix-time-formats
...
Change timestamps to use ISO8601 formatting
12 years ago
Wladimir J. van der Laan
07c3f846c2
Merge pull request #2045 from Diapolo/use_message
...
use new message() function in BitcoinGUI
12 years ago
Gavin Andresen
5fe3f4652e
Merge pull request #2097 from Diapolo/fix_merges
...
fix small stuff related to the recent merge-wave
12 years ago
Philip Kaufmann
50ce5735d6
LevelDB: build_detect_platform fix NATIVE_WINDOWS indentation
...
- fix some indentation issues
12 years ago
Philip Kaufmann
a4b43645aa
add threadsafety.h to bitcoin-qt.pro
...
- to be able to see threadsafety.h in the Qt Creator IDE the file needs to
be added to the HEADERS section
12 years ago
Gavin Andresen
51dc438942
Merge pull request #2080 from mcassano/importprivkey_rescan_false
...
add rescan bool to importprivkey to control whether to do a rescan after import
12 years ago
Gavin Andresen
278a09a6c6
Merge pull request #2095 from al42and/upnp
...
OptionsModel now has MapPortUPnP=false if UPNP is not supported
12 years ago
Gavin Andresen
8a7277a578
Merge pull request #2003 from alexanderkjeldaas/documented-locking-part-2
...
Documented locking part 1+2
12 years ago
Gavin Andresen
50894e4fd4
Merge pull request #2064 from petertodd/ipv6-doc-polarity
...
Replace text on how to enable IPv6 with disable
12 years ago
Gavin Andresen
d339da70e5
Merge pull request #1825 from roques/bignum2
...
Bignum2
12 years ago
Gavin Andresen
5bd5d6c45c
Merge pull request #1940 from grimd34th/patch-1
...
Add NATIVE_WINDOWS
12 years ago
Gavin Andresen
095b06cfae
Merge pull request #2073 from grimd34th/patch-3
...
Update src/makefile.mingw
12 years ago
Gavin Andresen
a9e055a1ca
Merge pull request #2048 from jgarzik/no-checkpoints
...
Add "checkpoints" option, to permit disabling of checkpoint logic.
12 years ago
Gavin Andresen
78504bb04f
Merge pull request #1861 from jgarzik/coinlock
...
Add new RPC "lockunspent", to prevent spending of selected outputs
12 years ago
Gavin Andresen
043a8fb98d
Merge pull request #2059 from sipa/benchmark
...
Add -benchmark for reporting block processing times
12 years ago
Gavin Andresen
dbd5bb8039
Merge pull request #2062 from sipa/nocoins
...
Reconstruct coins/ database when missing
12 years ago
Gavin Andresen
8b83e2fc2e
Merge pull request #2074 from sipa/minor
...
Two minor inconvenience fixes
12 years ago