This includes backports of #8520 #8540 #8282 #7579 #8624 #8604 #8291 #8524 #8612 #8651 #8606 #8594.
[0.13] Various backports #8679
pull sipa wants to merge 12 commits into bitcoin:0.13 from sipa:backports_0.13 changing 20 files +342 −122-
sipa commented at 2:46 PM on September 7, 2016: member
-
75f2065293
build: Remove check for `openssl/ec.h`
We don't use any elliptic curves from OpenSSL anymore, nor include this header anywhere but optionally in the tests of secp256k1 (which has its own autoconf setup). Reported by sinetek on IRC.
-
1db3352cc6
qt: Fix random segfault when closing "Choose data directory" dialog
The `pickDataDirectory()` function was calling `exit(0)` to quit the application when the user closes the dialog without choosing a data directory. This is a bad idea because a background thread is created (to check free space on the drive of the currently selected datadir). The thread is not stopped and unwound properly, resulting in a potential race condition somewhere deep in Qt. So replace the `exit()` by a boolean return value, and let the stack unwind normally.
-
2611ad79a5
Added feeler connections increasing good addrs in the tried table.
Tests if addresses are online or offline by briefly connecting to them. These short lived connections are referred to as feeler connections. Feeler connections are designed to increase the number of fresh online addresses in tried by selecting and connecting to addresses in new. One feeler connection is attempted on average once every two minutes. This change was suggested as Countermeasure 4 in Eclipse Attacks on Bitcoin’s Peer-to-Peer Network, Ethan Heilman, Alison Kendler, Aviv Zohar, Sharon Goldberg. ePrint Archive Report 2015/263. March 2015.
-
[Qt] show network/chain errors in the GUI f1c0d78b2d
-
[doc] build: Mention curl 0e6d753584
-
b09e13cb6f
build: Updates for OpenBSD
- LevelDB platform was not guessed correctly (it ended up defining `-DOS_OPENBSD59` instead of `-DOS_OPENBSD`) - On OpenBSD there is no convenience link from `python3.5` to `python3`: add detection for other python interpreter names. - If it has to guess the LevelDB OS, print a autoconf warning so that the user can check.
-
32d75a7ffc
doc: Update build-openbsd for 0.13.0+ and OpenBSD 5.9
- Python 3 now supported. - Bump boost version to 1.61 - one boost patch no longer needed. - All checked with OpenBSD 5.9, except for the clang part, I left this as-is for someone adventurous. - Mention overriding resource limits, OpenBSD's default ulimit does not suffice for building Bitcoin Core with gcc 4.9.3.
-
a9874310c0
[util] CopyrightHolders: Check for untranslated substitution
Also, remove check which is always true
-
b8c79a057c
Precompute sighashes
Original version by Nicolas Dorier. Precomputing version by Pieter Wuille.
-
Check for compatibility with download in FindNextBlocksToDownload 2215c22a00
-
bbf379b055
Fix some locks
This makes sure that cs_filter is never held while taking cs_main or CNode::cs_vSend.
-
ab295bb4be
Do not add random inbound peers to addrman.
We should learn about new peers via address messages. An inbound peer connecting to us tells us nothing about its ability to accept incoming connections from us, so we shouldn't assume that we can connect to it based on this. The vast majority of nodes on the network do not accept incoming connections, adding them will only slow down the process of making a successful connection in the future. Nodes which have configured themselves to not announce would prefer we not violate their privacy by announcing them in GETADDR responses.
- sipa added the label Backport on Sep 7, 2016
- fanquake added this to the milestone 0.13.1 on Sep 7, 2016
-
MarcoFalke commented at 5:28 PM on September 7, 2016: member
Thanks for going through all the tagged pulls. Could you also include #8646 and close it afterward?
-
gmaxwell commented at 5:15 PM on September 8, 2016: contributor
ACK.
-
btcdrak commented at 8:41 PM on September 8, 2016: contributor
ACK ab295bb
-
fanquake commented at 3:09 AM on September 9, 2016: member
ACK ab295bb
- laanwj merged this on Sep 9, 2016
- laanwj closed this on Sep 9, 2016
- laanwj referenced this in commit 3226944918 on Sep 9, 2016
-
laanwj commented at 10:02 AM on September 9, 2016: member
utACK ab295bb - removed need backport tags from all referred pull requests
-
MarcoFalke commented at 10:18 AM on September 9, 2016: member
removed need backport tags from all referred pull requests
I think you missed some, but they are now removed.
- MarcoFalke locked this on Sep 8, 2021
Labels
Milestone
0.13.1
Linked (view graph)
#7579 [Qt] show network/chain errors in the GUI#8282 net: Feeler connections to increase online addrs in the tried table.#8291 [util] CopyrightHolders: Check for untranslated substitution#8520 build: Remove check for `openssl/ec.h`#8524 Precompute sighashes#8540 qt: Fix random segfault when closing "Choose data directory" dialog#8594 Do not add random inbound peers to addrman.#8604 build,doc: Update for 0.13.0+ and OpenBSD 5.9#8606 Fix some locks#8612 Check for compatibility with download in FindNextBlocksToDownload#8624 [doc] build: Mention curl#8651 Predeclare PrecomputedTransactionData as struct