Skip to content

Conversation

fanquake
Copy link
Member

@fanquake fanquake commented Aug 15, 2019

Backports some commits to the 0.18 branch:

@luke-jr
Copy link
Member

luke-jr commented Aug 23, 2019

Suggest adding luke-jr/bitcoin 20190823-0.18-backports branch in. That adds:

@fanquake
Copy link
Member Author

Rebased on 0.18 and added a bunch of the suggested commits, will take a look at the remaining later.

@fanquake
Copy link
Member Author

Added #16512. Note that in the first commit the header include has been changed from #include <rpc/rawtransaction_util.h> to #include <rpc/rawtransaction.h>.

@fanquake
Copy link
Member Author

Added #16870. Note that the commit differs in that the boost_base.m4 includes additional changes to update it to the latest upstream, which was updated in master as part of 2620e24.

GChuf and others added 14 commits September 24, 2019 07:53
Fixed a couple of typos

Github-Pull: bitcoin#16615
Rebased-From: 36f7697
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/\<\w+(::\w+)?\(PACKAGE_NAME\)/PACKAGE_NAME/g' $(git grep -l --extended-regexp '\<\w+(::\w+)?\(PACKAGE_NAME\)' src)
-END VERIFY SCRIPT-

Github-Pull: bitcoin#16291
Rebased-From: fabe87d
QApplication takes the command line arguments and parses them itself
for some built in command line arguments that it has. We don't want
any of those built in arguments, so instead give it dummy arguments.

Github-Pull: bitcoin#16578
Rebased-From: a2714a5
Github-Pull: bitcoin#16090
Rebased-From: 36b0a2f
Needed for builds configured with --enable-upnp-default

Github-Pull: bitcoin#16646
Rebased-From: b168dd3
…ices, even if the internal port is set differently

Currently, the hidden service is published on the same port as the public listening port.
But if a non-standard port is configured, this can be used to guess (pretty reliably) that the public IP and the hidden service are the same node.

Github-Pull: bitcoin#15651
Rebased-From: 8a26567
fanquake and others added 2 commits October 1, 2019 11:29
Fixes: bitcoin#16803

I opened an [upstream PR](autoconf-archive/autoconf-archive#197) to improve the Boost error reporting, so pull the latest macros.

Github-Pull: bitcoin#16870
Rebased-From: bb99c4e
Move qt translations to a separate make include file.
This makes it easier to auto-generate this list from tooling
(see bitcoin-core/bitcoin-maintainer-tools#36).

Github-Pull: bitcoin#16982
Rebased-From: 4320bfc
@maflcko
Copy link
Member

maflcko commented Oct 11, 2019

What is the status of this?

@fanquake
Copy link
Member Author

@MarcoFalke There's a fair few commits in here. I'd like it to get some review and be merged rather than add any more changes.

Belts and suspenders: make sure outgoing log messages don't contain
potentially suspicious characters, such as terminal control codes.

This escapes control characters except newline ('\n') in C syntax.
It escapes instead of removes them to still allow for troubleshooting
issues where they accidentally end up in strings.

Github-Pull: bitcoin#17095
Rebased-From: d7820a1
@laanwj
Copy link
Member

laanwj commented Nov 25, 2019

ACK 0b18ea6

I repeated the cherry-picks here and resolved the conflicts in pretty much the same way.

@laanwj laanwj merged commit 0b18ea6 into bitcoin:0.18 Nov 25, 2019
laanwj added a commit that referenced this pull request Nov 25, 2019
0b18ea6 util: Filter control characters out of log messages (Wladimir J. van der Laan)
ac30fc4 build: Factor out qt translations from build system (Wladimir J. van der Laan)
3b8af5f build: update boost macros to latest upstream (fanquake)
b12defc Test that joinpsbts randomly shuffles the inputs (Andrew Chow)
eb07d22 Shuffle inputs and outputs after joining psbts (Andrew Chow)
1175410 addrdb: Remove temporary files created in SerializeFileDB. Fixes non-determinism in unit tests. (practicalswift)
c52dd12 Handle the result of posix_fallocate system call (Luca Venturini)
f792b25 torcontrol: Use the default/standard network port for Tor hidden services, even if the internal port is set differently (Luke Dashjr)
9fe8d28 Bugfix: QA: Run tests with UPnP disabled (Luke Dashjr)
1d12e52 Add vertical spacer (Josu Goñi)
d764141 depends: add patch to common dependencies (fanquake)
56815e9 Give QApplication dummy arguments (Andrew Chow)
9d389d0 util: No translation of `Bitcoin Core` in the copyright (MarcoFalke)
87908e9 scripted-diff: Avoid passing PACKAGE_NAME for translation (MarcoFalke)
a44e18f build: Stop translating PACKAGE_NAME (MarcoFalke)
7bd8f4e rpc: Fix getblocktemplate CLI example (#16594) (Emil Engler)
1cc06a1 doc: Fix typos in COPYRIGHT (Chuf)

Pull request description:

  Backports some commits to the `0.18` branch:

  * #16596 - rpc: Fix getblocktemplate CLI example
  * #16615 - doc: Fix typos in COPYRIGHT
  * #16291 - gui: Stop translating PACKAGE_NAME (without the `make translate` commit)
  * #16578 - Do not pass in command line arguments to QApplication
  * #16051 - depends: add patch to common dependencies
  * #16090 - Add vertical spacer
  * #15651 - torcontrol: Use the default/standard network port for Tor hidden services, even if the internal port is set differently
  * #15650 - Handle the result of posix_fallocate system call
  * #16646 - Bugfix: QA: Run tests with UPnP disabled
  * #16212 - addrdb: Remove temporary files created in SerializeFileDB. Fixes non-determinism in unit tests.
  * #16512 - rpc: Shuffle inputs and outputs after joining psbts
  * #16870 - build: update boost macros to latest upstream for improved error reporting
  * #16982 - build: Factor out qt translations from build system
  * #17095 - util: Filter control characters out of log messages

ACKs for top commit:
  laanwj:
    ACK 0b18ea6

Tree-SHA512: 37f0e5afc20975f4d1506e8662eda2ae0125f2f424a852818b5af2c3b8db78fc1c365b83571aa80ca63c885ca314302190b891a50ff3851fda9b9238455a5627
@fanquake fanquake deleted the 0_18_2_backports branch November 25, 2019 15:45
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants