Pieter Wuille
58f0c929a3
Merge #8121 : [Doc] Update implemented BIPs list
...
e4f73c7
[Doc] Update implemented BIPs list (fanquake)
2016-06-01 15:38:34 +02:00
Wladimir J. van der Laan
862fd24b40
Merge #8080 : Do not use mempool for GETDATA for tx accepted after the last mempool req.
...
7e908c7
Do not use mempool for GETDATA for tx accepted after the last mempool req. (Gregory Maxwell)
2016-05-31 15:47:32 +02:00
Wladimir J. van der Laan
a2df115249
Merge #8090 : Adding P2SH(p2pkh) script test case
...
b682960
Adding P2SH(p2pkh) script test case (Chris Stewart)
2016-05-31 15:27:14 +02:00
Wladimir J. van der Laan
e7e25ea512
Merge #8110 : [Doc] Add benchmarking notes
...
1a8c4d5
[Doc] Add benchmarking notes (fanquake)
2016-05-31 15:19:02 +02:00
Wladimir J. van der Laan
0026e0ef34
Merge #8115 : Avoid integer division in the benchmark inner-most loop.
...
63ff57d
Avoid integer division in the benchmark inner-most loop. (Gregory Maxwell)
2016-05-31 15:10:03 +02:00
Gregory Maxwell
63ff57db4b
Avoid integer division in the benchmark inner-most loop.
...
Previously the benchmark code used an integer division (%) with
a non-constant in the inner-loop. This is quite slow on many
processors, especially ones like ARM that lack a hardware divide.
Even on fairly recent x86_64 like haswell an integer division can
take something like 100 cycles-- making it comparable to the
runtime of siphash.
This change avoids the division by using bitmasking instead. This
was especially easy since the count was only increased by doubling.
This change also restarts the timing when the execution time was
very low this avoids mintimes of zero in cases where one execution
ends up below the timer resolution. It also reduces the impact of
the overhead on the final result.
The formatting of the prints is changed to not use scientific
notation make it more machine readable (in particular, gnuplot
croaks on the non-fixedpoint, and it doesn't sort correctly).
This also hoists out all the floating point divisions out of the
semi-hot path because it was easy to do so.
It might be prudent to break out the critical test into a macro
just to guarantee that it gets inlined. It might also make sense
to just save out the intermediate counts and times and get the
floating point completely out of the timing loop (because e.g.
on hardware without a fast hardware FPU like some ARM it will
still be slow enough to distort the results). I haven't done
either of these in this commit.
2016-05-30 22:07:56 +00:00
Pieter Wuille
950be19727
Merge #7891 : Always require OS randomness when generating secret keys
...
628cf14
Don't use assert for catching randomness failures (Pieter Wuille)
fa2637a
Always require OS randomness when generating secret keys (Pieter Wuille)
2016-05-30 15:59:52 +02:00
Chris Stewart
b682960a28
Adding P2SH(p2pkh) script test case
...
Fixing formatting
Adding test case into automatically generated test case set
Clean up commits
removing extra whitespace from eol
Removing extra whitespace on macro line
2016-05-30 08:51:37 -05:00
fanquake
e4f73c76b3
[Doc] Update implemented BIPs list
2016-05-30 20:43:46 +08:00
Wladimir J. van der Laan
52b803e09b
Merge #8107 : bench: Added base58 encoding/decoding benchmarks
...
5fac1f3
bench: Added base58 encoding/decoding benchmarks (Yuri Zhykin)
2016-05-30 13:05:57 +02:00
Wladimir J. van der Laan
989df7ecf3
Merge #7896 : fix typo in help text
...
fc95f6e
fix typo in help text (Chris Moore)
2016-05-30 12:39:56 +02:00
Wladimir J. van der Laan
61b86848b1
Merge #8111 : Benchmark SipHash
...
619d569
Benchmark SipHash (Pieter Wuille)
2016-05-30 12:39:23 +02:00
MarcoFalke
6ff2c8d29f
Merge #8104 : Tests: add timeout to sync_blocks() and sync_mempools()
...
e871f83
Tests: add timeout to sync_blocks() and sync_mempools() (Suhas Daftuar)
2016-05-29 19:18:55 +02:00
fanquake
1a8c4d575d
[Doc] Add benchmarking notes
2016-05-29 17:56:34 +08:00
Pieter Wuille
628cf1440a
Don't use assert for catching randomness failures
2016-05-29 01:52:25 +02:00
Pieter Wuille
fa2637a3be
Always require OS randomness when generating secret keys
2016-05-29 01:52:17 +02:00
Pieter Wuille
619d5691c2
Benchmark SipHash
2016-05-28 20:04:32 +02:00
MarcoFalke
a80de15113
Merge #8108 : Trivial: Remove unused local variable shadowing upper local
...
13c4558
Remove unused local variable shadowing upper local (Pavel Janík)
2016-05-27 08:49:00 +02:00
MarcoFalke
06bd4f637f
Merge #8098 : [qa] test_framework: Append portseed to tmpdir
...
fa57b0c
[qa] test_framework: Append portseed to tmpdir (MarcoFalke)
2016-05-27 08:22:09 +02:00
Pavel Janík
13c455823f
Remove unused local variable shadowing upper local
2016-05-27 07:46:36 +02:00
Yuri Zhykin
5fac1f33fb
bench: Added base58 encoding/decoding benchmarks
2016-05-27 05:32:58 +03:00
Suhas Daftuar
e871f8338a
Tests: add timeout to sync_blocks() and sync_mempools()
...
Previously these functions would infinitely loop if sync failed;
now they have a default timeout of 60 seconds, after which an
AssertionError is raised.
sync_blocks() has also been improved and now compares the tip
hash of each node, rather than just using block count.
2016-05-26 14:19:07 -04:00
Pieter Wuille
425278d17b
Merge #8102 : Bugfix: use global ::fRelayTxes instead of CNode in version send
...
52b02ec
Use global ::fRelayTxes instead of CNode one (Pieter Wuille)
2016-05-26 20:15:15 +02:00
Pieter Wuille
52b02ecd6d
Use global ::fRelayTxes instead of CNode one
2016-05-26 20:04:43 +02:00
Pieter Wuille
c028c7b755
Merge #8049 : Expose information on whether transaction relay is enabled in getnetwork
...
1ab1dc3
rpc: Add `relaytxes` flag to `getnetworkinfo` (Wladimir J. van der Laan)
581ddff
net: Add fRelayTxes flag (Wladimir J. van der Laan)
2016-05-26 15:02:16 +02:00
Wladimir J. van der Laan
6fc6325f77
Merge #8015 : CCoinsViewErrorCatcher raison-d-etre
...
a4d5855
CCoinsViewErrorCatcher raison-d-etre (21E14)
2016-05-26 07:32:50 +02:00
Wladimir J. van der Laan
e3a820751f
Merge #8034 : [doc][trivial] Add basic git squash workflow [skip ci]
...
90963e5
[doc] Add basic git squash example (fanquake)
2016-05-26 07:24:38 +02:00
Wladimir J. van der Laan
eb2f6f72db
Merge #8073 : qt: askpassphrasedialog: Clear pass fields on accept
...
02ce2a3
qt: askpassphrasedialog: Clear pass fields on accept (Pavel Vasin)
2016-05-26 07:22:48 +02:00
Gregory Maxwell
7e908c7b82
Do not use mempool for GETDATA for tx accepted after the last mempool req.
...
The ability to GETDATA a transaction which has not (yet) been relayed
is a privacy loss vector.
The use of the mempool for this was added as part of the mempool p2p
message and is only needed to fetch transactions returned by it.
2016-05-25 18:05:58 +00:00
Pieter Wuille
47a7cfb0aa
Merge #7795 : UpdateTip: log only one line at most per block
...
f20d42e
UpdateTip: log only one line at most per block (Wladimir J. van der Laan)
2016-05-25 18:18:56 +02:00
Pieter Wuille
f6b7df3155
Merge #8061 : [Wallet] Improve Wallet encapsulation
...
380498a
Move BackupWallet to CWallet::BackupWallet (Patrick Strateman)
ecb9741
Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance (Patrick Strateman)
2016-05-25 18:08:06 +02:00
Pieter Wuille
d72098038f
Merge #8076 : VerifyDB: don't check blocks that have been pruned
...
bd477f4
VerifyDB: don't check blocks that have been pruned (Suhas Daftuar)
2016-05-25 16:28:22 +02:00
Pieter Wuille
c49c825bd9
Merge #8063 : Acquire lock to check for genesis block.
...
46b0c3b
Acquire lock to check for genesis block. (Patrick Strateman)
2016-05-25 16:12:20 +02:00
Pieter Wuille
33799afe83
Merge #8092 : Correct small typo in extract_strings_qt.py
...
678513c
Correct small typo in extract_strings_qt.py (Mitchell Cash)
2016-05-25 15:50:06 +02:00
MarcoFalke
6700cc993c
Merge #8095 : Test framework: only cleanup on successful test runs
...
1ad9339
Test framework: only cleanup on successful test runs (Suhas Daftuar)
2016-05-25 11:53:25 +02:00
Suhas Daftuar
1ad9339508
Test framework: only cleanup on successful test runs
2016-05-25 05:43:50 -04:00
Mitchell Cash
678513cc94
Correct small typo in extract_strings_qt.py
2016-05-24 10:43:01 +10:00
Jonas Schnelli
77b49acc85
Merge #8014 : Qt: Sort transactions by date
...
2d5603c
Qt: Sort transactions by date (Tyler Hardin)
2016-05-23 21:50:38 +02:00
Jonas Schnelli
692971193a
Merge #8042 : [Qt] Don't allow to open the debug window during splashscreen & verification state
...
276ce84
[Qt] Disable some menu items during splashscreen/verification state (Jonas Schnelli)
2016-05-23 21:49:46 +02:00
Suhas Daftuar
bd477f4e8b
VerifyDB: don't check blocks that have been pruned
2016-05-22 09:15:21 -04:00
MarcoFalke
37f9a1f627
Merge #8047 : [qa] test_framework: Set wait-timeout for bitcoind procs
...
fab5233
[qa] test_framework: Set wait-timeout for bitcoind procs (MarcoFalke)
2016-05-20 17:34:11 +02:00
MarcoFalke
8844ef15de
Merge #8056 : [qa] Remove hardcoded "4 nodes" from test_framework
...
fad68f7
[qa] Reduce node count for some tests (MarcoFalke)
fac9349
[qa] Remove hardcoded "4 nodes" from test_framework (MarcoFalke)
2016-05-20 15:26:22 +02:00
MarcoFalke
1b87e5b5b1
Merge #8072 : travis: 'make check' in parallel and verbose
...
401ae65
travis: 'make check' in parallel and verbose (Cory Fields)
2016-05-20 09:43:52 +02:00
MarcoFalke
fa57b0c5ef
[qa] test_framework: Append portseed to tmpdir
...
This makes it possible to specify a tmpdir while running tests in
parallel
2016-05-20 09:18:41 +02:00
Pavel Vasin
02ce2a3ca7
qt: askpassphrasedialog: Clear pass fields on accept
...
This is usability improvement in a case if user gets re-asked
passphrase. (e.g. made a typo)
2016-05-19 14:52:08 +03:00
Cory Fields
401ae654b2
travis: 'make check' in parallel and verbose
...
- 'make check' in parallel, since the log will take care of clean output
- 'make check' verbose, so that test failure causes aren't hidden
2016-05-19 11:15:12 +02:00
Wladimir J. van der Laan
7771aa57bd
Merge #8070 : Remove non-determinism which is breaking net_tests #8069
...
2a8b358
Fix typo adddrman to addrman as requested in #8070 (Ethan Heilman)
f4119c6
Remove non-determinism which is breaking net_tests #8069 (EthanHeilman)
2016-05-19 09:56:05 +02:00
Wladimir J. van der Laan
18436d8896
Merge #8033 : Fix Socks5() connect failures to be less noisy and less unnecessarily scary
...
bf9266e
Use Socks5ErrorString() to decode error responses from socks proxy. (Warren Togami)
94fd1d8
Make Socks5() InterruptibleRecv() timeout/failures informative. (Warren Togami)
0d9af79
SOCKS5 connecting and connected messages with -debug=net. (Warren Togami)
00678bd
Make failures to connect via Socks5() more informative and less unnecessarily scary. (Warren Togami)
2016-05-19 08:45:58 +02:00
Warren Togami
bf9266e017
Use Socks5ErrorString() to decode error responses from socks proxy.
2016-05-19 14:21:22 +09:00
Ethan Heilman
2a8b3589b5
Fix typo adddrman to addrman as requested in #8070
2016-05-18 20:14:26 -04:00