Patrick Strateman
9dfaa1cb70
Improve CWallet API with new AccountMove function.
2016-06-02 06:00:59 -07:00
Jonas Schnelli
ee1533e262
Merge #8129 : Fix RPC console auto completer
...
16698cb
PR #7772 is not enough to fix the issue with QCompleter, use event filter instead of `connect` (UdjinM6)
2016-06-02 11:11:38 +02:00
Jonas Schnelli
58725ba89d
Merge #8029 : [Doc] Simplify OS X build notes
...
2692e1b
[Doc] Simplify OS X build notes (fanquake)
2016-06-02 10:45:20 +02:00
Cory Fields
142ffc7e61
travis: use out-of-tree build
2016-06-01 22:21:08 -04:00
Cory Fields
92e37a3689
build: fix out-of-tree 'make deploy' for osx
...
The plist is generated, lives in builddir.
2016-06-01 22:20:59 -04:00
fanquake
6a4cf16e2b
[depends] expat 2.1.1
2016-06-02 09:16:12 +08:00
fanquake
3e0587bf81
[depends] miniupnpc 2.0
2016-06-02 09:16:12 +08:00
fanquake
87b8175d99
[depends] Latest config.guess & config.sub
2016-06-02 09:16:12 +08:00
fanquake
bd3cbd5333
[depends] ZeroMQ 4.1.4
2016-06-02 09:16:12 +08:00
fanquake
0385202bef
[depends] ccache 3.2.5
2016-06-02 09:16:12 +08:00
fanquake
2b2d52ea3a
[depends] Freetype 2.6.3
...
Update FreeType, and change the download location to gnu.org. This is
the other official download location listed on freetype.org
2016-06-02 09:16:12 +08:00
Cory Fields
ab95d5df3d
build: a few ugly hacks to get the rpc tests working out-of-tree
...
- Link pull-tester/rpc-tests.py to the build dir
- Add the build-dir's config to the python path so that tests can find it
- The tests themselves are in srcdir
- Clean up __pycache__ in 'make clean'
2016-06-01 20:31:55 -04:00
Cory Fields
fc4ad0c7fc
build: more out-of-tree fixups
...
- clear the __pycache__ during 'make clean'
- Copy the qrc locale file to a temp location and remove it when finished
(rcc expects everything to be in the same path)
2016-06-01 20:31:55 -04:00
Cory Fields
0cb0f2626e
build: out-of-tree fixups
...
Don't glob the leveldb for dist. That means we need to enumerate the headers.
2016-06-01 20:31:55 -04:00
Pieter Wuille
715e9fd745
Merge #8077 : Consensus: Decouple from chainparams.o and timedata.o
...
ee9f4a5
Consensus: Decouple from chainparams.o and timedata.o (Jorge Timón)
2016-06-01 20:52:27 +02:00
Pieter Wuille
2e0a99037d
Merge #8123 : Use std::atomic for fRequestShutdown and fReopenDebugLog
...
a886dbf
Use std::atomic for fRequestShutdown and fReopenDebugLog (Pieter Wuille)
16cf85f
Revert "Include signal.h for sig_atomic_t in WIN32" (Pieter Wuille)
2016-06-01 20:38:41 +02:00
Jonas Schnelli
c022e5b15d
[Wallet] use constant for bip32 hardened key limit
2016-06-01 20:29:39 +02:00
Pieter Wuille
a886dbf8e7
Use std::atomic for fRequestShutdown and fReopenDebugLog
2016-06-01 19:18:25 +02:00
Pieter Wuille
16cf85fa2c
Revert "Include signal.h for sig_atomic_t in WIN32"
...
This reverts commit 88f14b999c
.
2016-06-01 19:18:06 +02:00
Pieter Wuille
7fa8d75859
Merge #8112 : Include signal.h for sig_atomic_t in WIN32
...
88f14b9
Include signal.h for sig_atomic_t in WIN32 (Pieter Wuille)
2016-06-01 18:47:45 +02:00
Pieter Wuille
6a22373771
Merge #7960 : Only use AddInventoryKnown for transactions
...
383fc10
Only use AddInventoryKnown for transactions (Suhas Daftuar)
2016-06-01 18:36:11 +02:00
Alex Morcos
c2dd5a3c39
FIX: correctly measure size of priority block
2016-06-01 12:29:03 -04:00
Pieter Wuille
b89ef13114
Merge #7689 : Replace OpenSSL AES with ctaes-based version
...
723779c
build: Enumerate ctaes rather than globbing (Cory Fields)
34ed64a
crypter: add tests for crypter (Cory Fields)
0a36b9a
crypter: shuffle Makefile so that crypto can be used by the wallet (Cory Fields)
976f9ec
crypter: add a BytesToKey clone to replace the use of openssl (Cory Fields)
9049cde
crypter: hook up the new aes cbc classes (Cory Fields)
fb96831
crypter: constify encrypt/decrypt (Cory Fields)
1c391a5
crypter: fix the stored initialization vector size (Cory Fields)
daa3841
crypto: add aes cbc tests (Cory Fields)
27a212d
crypto: add AES 128/256 CBC classes (Cory Fields)
6bec172
Add ctaes-based constant time AES implementation (Pieter Wuille)
a545127
Squashed 'src/crypto/ctaes/' content from commit cd3c3ac (Pieter Wuille)
2016-06-01 18:22:34 +02:00
Pieter Wuille
01d8359983
Merge #8082 : Defer inserting into maprelay until just before relaying.
...
4d8993b
Defer inserting into maprelay until just before relaying. (Gregory Maxwell)
2016-06-01 16:05:09 +02:00
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
mrbandrews
8c9e681ff8
Tests: Rework blockstore to avoid re-serialization.
2016-05-31 14:21:40 -04:00
Gregory Maxwell
4d8993b346
Defer inserting into maprelay until just before relaying.
...
This reduces the rate of not founds by better matching the far
end expectations, it also improves privacy by removing the
ability to use getdata to probe for a node having a txn before
it has been relayed.
2016-05-31 15:35:45 +00: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
Jonas Schnelli
f19025106d
[Wallet] Add simplest BIP32/deterministic key generation implementation
2016-05-31 14:47:00 +02:00
UdjinM6
16698cb77e
PR #7772 is not enough to fix the issue with QCompleter, use event filter instead of connect
2016-05-31 06:33:34 +03: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
Jonas Nick
bd0f413877
Reduce unnecessary hashing in signrawtransaction
2016-05-30 11:43:53 +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
Cory Fields
723779c650
build: Enumerate ctaes rather than globbing
2016-05-27 14:14:44 -04:00
Pieter Wuille
88f14b999c
Include signal.h for sig_atomic_t in WIN32
2016-05-27 13:31:04 +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