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
JeremyRand
b06f6a992b
Fixed invalid example paths in gitian-building.md
...
The example local paths for "Building fully offline" have an extraneous ".git". This caused an error when trying to run gbuild, like this
fatal: '/home/user/bitcoin.git' does not appear to be a git repository
fatal: Could not read from remote repository.
This commit fixes that.
2016-05-05 23:08:47 +00:00
Kaz Wesley
e53e7c5473
don't run ThreadMessageHandler at lowered priority
...
There's no clear reason ThreadMessageHandler should be low priority.
Fixes #8010 (priority inversion).
2016-05-05 13:25:35 -07:00
Wladimir J. van der Laan
006cdf64dc
Merge #7907 : Optimize and Cleanup CScript::FindAndDelete
...
d1d7775
Improve worst-case behavior of CScript::FindAndDelete (Patrick Strateman)
e2a30bc
Unit test for CScript::FindAndDelete (Gavin Andresen)
c0f660c
Replace c-style cast with c++ style static_cast. (Patrick Strateman)
ec9ad5f
Replace memcmp with std::equal in CScript::FindAndDelete (Patrick Strateman)
2016-05-05 19:01:32 +02:00
MarcoFalke
fa389d4edc
[qa] Switch to py3
2016-05-05 15:43:37 +02:00
Wladimir J. van der Laan
3b9a0bf41f
Merge #7840 : Several performance and privacy improvements to inv/mempool handling
...
b559914
Move bloom and feerate filtering to just prior to tx sending. (Gregory Maxwell)
4578215
Return mempool queries in dependency order (Pieter Wuille)
ed70683
Handle mempool requests in send loop, subject to trickle (Pieter Wuille)
dc13dcd
Split up and optimize transaction and block inv queues (Pieter Wuille)
f2d3ba7
Eliminate TX trickle bypass, sort TX invs for privacy and priority. (Gregory Maxwell)
2016-05-05 13:14:40 +02:00
Wladimir J. van der Laan
d51618e481
Merge #7966 : http: Do a pending c++11 simplification handling work items
...
f0188f9
http: use std::move to move HTTPRequest into HTTPWorkItem (Wladimir J. van der Laan)
37b2137
http: Change boost::scoped_ptr to std::unique_ptr in HTTPRequest (Wladimir J. van der Laan)
f97b410
http: Add log message when work queue is full (Wladimir J. van der Laan)
091d6e0
http: Do a pending c++11 simplification (Wladimir J. van der Laan)
2016-05-05 12:57:31 +02:00
Wladimir J. van der Laan
0630353323
Merge #7953 : Create signmessagewithprivkey rpc
...
7db0ecb
Test for signing messages (Andrew Chow)
f90efbf
Create signmessagewithprivkey rpc (Andrew)
2016-05-05 12:54:14 +02:00
Wladimir J. van der Laan
e8d917591f
Merge #7977 : [trivial] Add missing const qualifiers.
...
f7c4f79
[trivial] Add missing const qualifiers. (Daniel Kraft)
2016-05-05 12:52:34 +02:00
Wladimir J. van der Laan
ff69aafe52
Merge #7968 : doc: Fedora build requirements
...
0281678
doc: Fedora build requirements (Warren Togami)
2016-05-05 12:52:04 +02:00
Wladimir J. van der Laan
f9b4582292
Merge #8002 : [depends] Add -stdlib=libc++ to darwin CXX flags
...
47eda2d
[depends] Add -stdlib=libc++ to darwin CXX flags (fanquake)
2016-05-05 12:43:37 +02:00
Wladimir J. van der Laan
f0188f9178
http: use std::move to move HTTPRequest into HTTPWorkItem
...
Thanks to Cory Fields for the idea.
2016-05-05 08:27:12 +02:00
Wladimir J. van der Laan
37b21372a0
http: Change boost::scoped_ptr to std::unique_ptr in HTTPRequest
...
No need for boost here.
2016-05-05 08:27:12 +02:00
Wladimir J. van der Laan
f97b410fdd
http: Add log message when work queue is full
...
More useful error reporting.
2016-05-05 08:27:12 +02:00
Wladimir J. van der Laan
091d6e0499
http: Do a pending c++11 simplification
...
Use std::unique_ptr for handling work items.
This makes the code more RAII and, as mentioned in the comment, is what
I planned when I wrote the code in the first place.
2016-05-05 08:27:12 +02:00
Wladimir J. van der Laan
42a6753382
Merge #8000 : tinyformat: force USE_VARIADIC_TEMPLATES
...
08d7b56
util: switch LogPrint and error to variadic templates (Wladimir J. van der Laan)
9eaa0af
tinyformat: force USE_VARIADIC_TEMPLATES (Wladimir J. van der Laan)
2016-05-05 08:20:03 +02:00
EthanHeilman
1475ecf611
Fix de-serialization bug where AddrMan is corrupted after exception
...
* CAddrDB modified so that when de-serialization code throws an exception Addrman is reset to a clean state
* CAddrDB modified to make unit tests possible
* Regression test created to ensure bug is fixed
* StartNode modifed to clear adrman if CAddrDB::Read returns an error code.
2016-05-04 18:55:01 -04:00
Warren Togami
0281678d6e
doc: Fedora build requirements
2016-05-04 11:56:45 -07:00
Wladimir J. van der Laan
8206835cc1
Merge #7974 : More comments on the design of AttemptToEvictConnection.
...
d90351f
More comments on the design of AttemptToEvictConnection. (Gregory Maxwell)
2016-05-04 15:52:13 +02:00
Wladimir J. van der Laan
fc23fee690
Merge #7975 : [doc] Update bitcoin-core GitHub links
...
faf3d11
[doc] Update bitcoin-core GitHub links (MarcoFalke)
2016-05-04 14:28:38 +02:00
Wladimir J. van der Laan
08d7b563e9
util: switch LogPrint and error to variadic templates
2016-05-04 14:21:04 +02:00
fanquake
47eda2d882
[depends] Add -stdlib=libc++ to darwin CXX flags
2016-05-04 19:03:59 +08:00
Wladimir J. van der Laan
9eaa0afa6e
tinyformat: force USE_VARIADIC_TEMPLATES
...
Now that we started using c++11, force use of variadic templates.
The autodetection may be wonky on some compilers, see discussion
[here](https://github.com/bitcoin/bitcoin/pull/7982#issuecomment-216222357 )
and is unnecessary for us anyhow.
2016-05-04 11:37:10 +02:00
Wladimir J. van der Laan
559fbae8c6
Merge #7982 : build: No need to check for leveldb atomics
...
de98290
build: No need to check for leveldb atomics (Cory Fields)
2016-05-04 11:34:42 +02:00
Wladimir J. van der Laan
da46f9fd66
Merge #7989 : bitcoin-cli.cpp: Use symbolic constant for exit code
...
9a8a7d0
bitcoin-cli.cpp: Use symbolic constant for exit code (Puru)
2016-05-04 11:33:53 +02:00
MarcoFalke
88b77c7da0
Merge #7980 : [qa] smartfees: Properly use ordered dict
...
43bbcd0
[qa] Fix typos in doc and comments (Pavel Janík)
fa17f93
[qa] smartfees: Properly use ordered dict (MarcoFalke)
2016-05-03 13:13:25 +02:00
Pavel Janík
43bbcd0753
[qa] Fix typos in doc and comments
2016-05-02 22:31:00 +02:00
MarcoFalke
fa17f93fbd
[qa] smartfees: Properly use ordered dict
2016-05-02 19:36:06 +02:00
Puru
9a8a7d0115
bitcoin-cli.cpp: Use symbolic constant for exit code
2016-05-02 22:33:04 +05:45
Wladimir J. van der Laan
03cf6e8675
Merge #7959 : fix race that could fail to persist a ban
...
f4ac02e
fix race that could fail to persist a ban (Kaz Wesley)
2016-05-02 14:48:50 +02:00
Wladimir J. van der Laan
86b800c6a2
Merge #7964 : Minor changes for c++11 consistency
...
07e4edb
auto_ptr → unique_ptr (Wladimir J. van der Laan)
073225c
chain: define enum used as bit field as uint32_t (Wladimir J. van der Laan)
2016-05-02 13:08:02 +02:00
Cory Fields
de98290155
build: No need to check for leveldb atomics
...
They're guaranteed with c++11
2016-04-30 17:46:35 -04:00
21E14
c8b92486c4
Remove obsolete reference to CValidationState from UpdateCoins.
2016-04-30 15:14:22 -04:00
Daniel Kraft
f7c4f79f07
[trivial] Add missing const qualifiers.
...
Add some const qualifiers to references that are not modified and should
be marked as const.
2016-04-30 19:25:00 +02:00
Gregory Maxwell
d90351f050
More comments on the design of AttemptToEvictConnection.
...
Some developers clearly don't get this and have been posting
"improvements" that create clear vulnerabilities. It should
have been better explained in the code, since the design
is somewhat subtle and getting it right is important.
2016-04-29 23:15:23 +00:00
MarcoFalke
faf3d11ad7
[doc] Update bitcoin-core GitHub links
2016-04-29 23:07:06 +02:00
MarcoFalke
0ad1041904
Merge #7807 : Fixed miner test values, gave constants for less error-prone values.
...
f8536a6
Corrected values (instagibbs)
617deeb
Gave miner test values constants for less error-prone values. (instagibbs)
2016-04-29 22:02:59 +02:00
Andrew Chow
7db0ecb90c
Test for signing messages
...
New rpc test for signing and verifying messages.
2016-04-28 14:58:14 -04:00
Wladimir J. van der Laan
20f9ecd343
Merge #7962 : CalculateNextWorkRequired Cleanup
...
c7aac2d
Deprecating the remaining LogPrintf dependencies that were made obsolete in PR #7459 . (21E14)
2016-04-28 15:33:28 +02:00
Pieter Wuille
1953c40aa9
More efficient bitsliced rolling Bloom filter
...
This patch changes the implementation from one that stores 16 2-bit integers
in one uint32_t's, to one that stores the first bit of 64 2-bit integers in
one uint64_t and the second bit in another. This allows for 450x faster
refreshing and 2.2x faster average speed.
2016-04-28 14:56:32 +02:00
Pieter Wuille
aa62b68745
Benchmark rolling bloom filter
2016-04-28 14:56:32 +02:00
Wladimir J. van der Laan
5725807402
Merge #7926 : [RPC] push back getaddednodeinfo dead value
...
9c0bcb6
push back getaddednodeinfo dead value (instagibbs)
2016-04-28 14:35:40 +02:00
Wladimir J. van der Laan
a9c8b744e8
Merge #7952 : Log invalid block hash to make debugging easier.
...
61c0170
Log invalid block hash to make debugging easier. (Pavel Janík)
2016-04-28 13:53:01 +02:00