Pieter Wuille
8cc9cfe160
Switch CTxMempool::mapTx to use a hash index for txids
2016-05-17 20:04:46 +02:00
Pieter Wuille
382c871d28
Use SipHash-2-4 for CCoinsCache index
...
This is ~1.7x slower than the Lookup3-of-Xor-with-salt construct we were
using before, but it is a primitive designed for exactly this.
2016-05-17 20:04:46 +02:00
Pieter Wuille
0b1295b066
Add SipHash-2-4 primitives to hash
2016-05-17 20:04:42 +02:00
Pieter Wuille
1f01443567
Merge #7994 : Add op csv tests to script_tests.json
...
10e83d7
Adding basic tests for OP_CSV inside of script_tests.json (Chris Stewart)
2016-05-17 01:32:35 +02:00
Pieter Wuille
b3e42b6d02
Merge #8059 : Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool.
...
d87b198
Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool. (Gregory Maxwell)
2016-05-16 22:55:58 +02:00
Gregory Maxwell
d87b198b73
Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool.
2016-05-16 04:10:06 +00:00
Jonas Schnelli
169d379c98
Merge #8046 : [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX
...
34ebceb
[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX (Jonas Schnelli)
2016-05-12 13:15:39 +02:00
Wladimir J. van der Laan
7c8558da36
Merge #8006 : Qt: Add option to disable the system tray icon
...
8b0e497
Qt: Add option to hide the system tray icon (Tyler Hardin)
2016-05-12 11:56:21 +02:00
Wladimir J. van der Laan
2efe38b832
Merge #8004 : signal handling: fReopenDebugLog and fRequestShutdown should be type sig_atomic_t
...
3262316
fReopenDebugLog and fRequestShutdown should be type sig_atomic_t (Chirag Davé)
2016-05-12 11:46:10 +02:00
Wladimir J. van der Laan
5b736ddaa1
Merge #8041 : [qa] Fix bip9-softforks blockstore issue
...
fad60b3
[qa] Fix bip9-softforks blockstore issue (MarcoFalke)
2016-05-12 11:45:31 +02:00
Jonas Schnelli
34ebceb25a
[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX
2016-05-12 11:42:31 +02:00
Tyler Hardin
8b0e497028
Qt: Add option to hide the system tray icon
...
My changes leave all tray icon and menu creation/initialization logic
untouched. It only shows or hides the icon according to the setting.
A new checkbox was added to the OptionsDialog under the Window tab. A
bool option named "hideTrayIcon" was added to OptionsModel. This
checkbox was mapped like other all options to the OptionsModel.
A signal was added to the OptionsModel for broadcasting changes the the
hideTrayIcon option. This signal was connected to a new slot added to
BitcoinGUI named setTrayIconVisible(bool). The slot simply hides or
shows the trayIcon in BitcoinGUI according to the parameter recieved.
2016-05-11 22:28:02 -04:00
Pieter Wuille
69b3a6dd9d
Merge #8039 : bench: Add crypto hash benchmarks
...
32114dd
bench: Add crypto hash benchmarks (Wladimir J. van der Laan)
2016-05-12 02:00:08 +02:00
Wladimir J. van der Laan
32114dd634
bench: Add crypto hash benchmarks
...
Add benchmarks for the cryptographic hash algorithms:
- RIPEMD160
- SHA1
- SHA256
- SHA512
Continues work on #7883 .
2016-05-11 19:47:25 +02:00
MarcoFalke
fad60b3911
[qa] Fix bip9-softforks blockstore issue
2016-05-11 16:43:32 +02:00
Chris Stewart
10e83d7956
Adding basic tests for OP_CSV inside of script_tests.json
...
Changing NOP3 op name to OP_CHECKSEQUENCEVERIFY, renaming instances of OP_NOP3 in script_tests.json to CHECKSEQUENCEVERIFY
Cleaning up NOP3 comment
Re-adding test cases that were accidentally deleted, removing dupicated test case, fixing formatting
Removing re-labeling of OP_NOP3 to OP_CSV
Fixing whitespace issues
2016-05-11 08:00:48 -05:00
MarcoFalke
423ca302a3
Merge #7972 : [qa] pull-tester: Run rpc test in parallel
...
ccccc59
[qa] Add option --portseed to test_framework (MarcoFalke)
fa494de
[qa] pull-tester: Run rpc test in parallel (MarcoFalke)
2016-05-10 18:28:48 +02:00
Wladimir J. van der Laan
373b50deba
Merge #8028 : Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk
...
0fd5997
Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk (Patrick Strateman)
2016-05-10 15:51:34 +02:00
Wladimir J. van der Laan
41138f914d
Merge #8036 : init: Move berkeleydb version reporting to wallet
...
3e2c946
init: Move berkeleydb version reporting to wallet (Wladimir J. van der Laan)
2016-05-10 15:15:47 +02:00
Wladimir J. van der Laan
3e2c946cfd
init: Move berkeleydb version reporting to wallet
...
Move the version reporting to Wallet::Verify, before starting
verification of the wallet.
This removes the dependency of init on a specific wallet database
library.
A further, trivial step towards resolving #7965 .
2016-05-10 12:57:07 +02:00
Wladimir J. van der Laan
f7a21dae5d
Merge #8019 : Remove state arg from ReconsiderBlock, rename to ResetBlockFailureFlags
...
657e07e
Rename ReconsiderBlock func to reflect real behavior (instagibbs)
addb9d2
Remove state arg from ReconsiderBlock (instagibbs)
2016-05-10 12:43:22 +02:00
Wladimir J. van der Laan
5767e80dda
Merge #8016 : Fix multithread CScheduler and reenable test
...
166e4b0
Notify other serviceQueue thread we are finished to prevent deadlocks. (Pavel Janík)
db18ab2
Reenable multithread scheduler test. (Pavel Janík)
2016-05-10 12:08:08 +02:00
Jonas Schnelli
b33824b76c
Merge #8012 : Qt: Delay user confirmation of send
...
3902a29
Qt: Delay user confirmation of send (Tyler Hardin)
2016-05-10 10:33:21 +02:00
Tyler Hardin
3902a291ab
Qt: Delay user confirmation of send
...
I made a subclass of QMessageBox that disables the send button in
exec() and starts a timer that calls a slot to re-enable it after a
configurable delay.
It also has a countdown in the send/yes button while it is disabled
to hint to the user why the send button is disabled (and that it is
actually supposed to be disabled).
2016-05-09 22:26:57 -04:00
MarcoFalke
ccccc591a4
[qa] Add option --portseed to test_framework
2016-05-09 19:56:24 +02:00
MarcoFalke
fa494dec79
[qa] pull-tester: Run rpc test in parallel
2016-05-09 19:56:16 +02:00
instagibbs
657e07efa3
Rename ReconsiderBlock func to reflect real behavior
2016-05-09 11:26:37 -04:00
Chirag Davé
326231611b
fReopenDebugLog and fRequestShutdown should be type sig_atomic_t
...
This allows access as an atomic variable in the presence
of async interrupts.
See issue #7433 for more details
fixes : #7433
2016-05-09 08:20:58 -07:00
MarcoFalke
4e14afe42f
Merge #7971 : [qa] Refactor test_framework and pull tester
...
fad3366
[qa] pull-tester: Adjust comment (MarcoFalke)
fafb33c
[qa] Stop other nodes, even when one fails to stop (MarcoFalke)
2222dae
[qa] Update README.md (MarcoFalke)
fabbf6b
[qa] Refactor test_framework and pull tester (MarcoFalke)
2016-05-09 17:06:44 +02:00
MarcoFalke
3e90fe6534
Merge #8018 : Autofind rpc tests --srcdir
...
5ea4508
Autofind rpc tests --srcdir (Jonas Schnelli)
2016-05-09 17:00:21 +02:00
Wladimir J. van der Laan
409a8a1637
Merge #8030 : test: Revert fatal-ness of missing python-zmq
...
65fee8e
test: Revert fatal-ness of missing python-zmq (Wladimir J. van der Laan)
2016-05-09 15:11:50 +02:00
Jonas Schnelli
5ea450834e
Autofind rpc tests --srcdir
2016-05-09 15:05:58 +02:00
Wladimir J. van der Laan
a68f56e727
Merge #7958 : Remove useless argument to AlertNotify.
...
b02119e
Remove useless argument to AlertNotify. (Pavel Janík)
2016-05-09 13:34:00 +02:00
Wladimir J. van der Laan
65fee8e699
test: Revert fatal-ness of missing python-zmq
...
It looks like travis is using the `travis.yml` from the branch, but runs
the test script from the branch merged into master. This causes
pull requests created before the QA tests python 3 transition to fail.
This temporarily reverts fa05e22e91
(#7851 ). It can be restored when this is no longer an issue.
2016-05-09 12:12:09 +02:00
Wladimir J. van der Laan
e29cfc48fc
Merge #7976 : Remove obsolete reference to CValidationState from UpdateCoins.
...
c8b9248
Remove obsolete reference to CValidationState from UpdateCoins. (21E14)
2016-05-09 11:59:03 +02:00
Patrick Strateman
0fd599767d
Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk
2016-05-09 00:20:17 -07:00
Wladimir J. van der Laan
f17032f703
Merge #7934 : Improve rolling bloom filter performance and benchmark
...
1953c40
More efficient bitsliced rolling Bloom filter (Pieter Wuille)
aa62b68
Benchmark rolling bloom filter (Pieter Wuille)
2016-05-09 08:52:31 +02:00
MarcoFalke
fad336648c
[qa] pull-tester: Adjust comment
2016-05-08 14:09:14 +02:00
Pavel Janík
166e4b0dfa
Notify other serviceQueue thread we are finished to prevent deadlocks.
2016-05-06 20:44:40 +02:00
Pavel Janík
db18ab28c7
Reenable multithread scheduler test.
2016-05-06 20:44:39 +02:00
instagibbs
addb9d2a09
Remove state arg from ReconsiderBlock
2016-05-06 12:53:23 -04:00
Wladimir J. van der Laan
fbd84788e6
Merge #8009 : Docs: Fixed invalid example paths in gitian-building.md
...
b06f6a9
Fixed invalid example paths in gitian-building.md (JeremyRand)
2016-05-06 17:25:18 +02:00
Wladimir J. van der Laan
fbedc09b2d
Merge #8013 : doc: Fedora build requirements, add gcc-c++ and fix typo
...
b3d18ba
doc: Fedora build requirements, add gcc-c++ and fix typo (Warren Togami)
2016-05-06 15:49:01 +02:00
MarcoFalke
fafb33cdef
[qa] Stop other nodes, even when one fails to stop
2016-05-06 12:44:03 +02:00
MarcoFalke
2222dae6e3
[qa] Update README.md
2016-05-06 12:43:46 +02:00
MarcoFalke
fabbf6bd62
[qa] Refactor test_framework and pull tester
...
* log to stdout
* increase range for p2p and rpc ports
* UPPERCASE_CONSTANTS
* Stop nodes on CTRL+C
2016-05-06 12:43:34 +02:00
Wladimir J. van der Laan
77b637f20e
Merge #7814 : [qa] Switch to py3
...
fa389d4
[qa] Switch to py3 (MarcoFalke)
2016-05-06 11:24:14 +02:00
Wladimir J. van der Laan
65aecda52d
Merge #8011 : don't run ThreadMessageHandler at lowered priority
...
e53e7c5
don't run ThreadMessageHandler at lowered priority (Kaz Wesley)
2016-05-06 10:04:09 +02:00
Wladimir J. van der Laan
efee32f381
Merge #7815 : Break circular dependency main ↔ txdb
...
99e7075
Break circular dependency main ↔ txdb (Wladimir J. van der Laan)
2016-05-06 10:03:09 +02:00
Warren Togami
b3d18ba072
doc: Fedora build requirements, add gcc-c++ and fix typo
2016-05-05 18:24:27 -07:00