Skip to content

Commit eb3049e

Browse files
committed
Merge #55: Upgrade to Bitcoin Core 0.20.2 - Release Tracking v0.20.0-0.5.0
0b42816 Bump version to v0.20.2-0.5.0 (Tobin C. Harding) cf5d373 Squashed 'depend/bitcoin/' changes from 2f9f9b3..2c32be8 (Tobin C. Harding) Pull request description: Upgrade the `depend` subtree to Bitcoin Core 0.20.2 using ``` git subtree pull --prefix='depend/bitcoin' git@github.com:bitcoin/bitcoin.git v0.20.2 --squash ``` Bump version and add changelog notes. ### Note I did this so we would have a release that uses 0.20.2 but I think we can immediately do another release with 0.21.2, I have the changes queue up ready to go. ACKs for top commit: apoelstra: ACK 0b42816 Tree-SHA512: a3062977f46ba744cd93e80e7566eb7e8f305be5d568cbcf77096447c365ccf9ec6d0fbcada2443032d37e1f3f125c141f111ddef6f630160f6e9399eafc5ccf
2 parents 3ac97bc + 0b42816 commit eb3049e

File tree

1,240 files changed

+105061
-35430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,240 files changed

+105061
-35430
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.20.2-0.5.0
2+
3+
* Upgrade Bitcoin Core subtree to v0.20.2
4+
15
## v0.19.2-0.4.1
26

37
* switch to using a git subtree for the bitcoin core code

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bitcoinconsensus"
33
# The first part is the Bitcoin Core version, the second part is the version of this lib.
4-
version = "0.19.2-0.4.1"
4+
version = "0.20.2-0.5.0"
55
authors = ["Tamas Blummer <tamas.blummer@gmail.com>"]
66
license = "Apache-2.0"
77
homepage = "https://github.com/rust-bitcoin/rust-bitcoinconsensus/"

depend/bitcoin/.appveyor.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ environment:
1111
QT_DOWNLOAD_HASH: '9a8c6eb20967873785057fdcd329a657c7f922b0af08c5fde105cc597dd37e21'
1212
QT_LOCAL_PATH: 'C:\Qt5.9.8_x64_static_vs2019'
1313
VCPKG_INSTALL_PATH: 'C:\tools\vcpkg\installed'
14-
VCPKG_COMMIT_ID: '40230b8e3f6368dcb398d649331be878ca1e9007'
14+
VCPKG_COMMIT_ID: 'f3f329a048eaff759c1992c458f2e12351486bc7'
1515
install:
1616
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
1717
# - cmd: pip install zmq
@@ -24,7 +24,6 @@ install:
2424
cd c:\tools\vcpkg
2525
$env:GIT_REDIRECT_STDERR = '2>&1' # git is writing non-errors to STDERR when doing git pull. Send to STDOUT instead.
2626
git pull origin master > $null
27-
git checkout $env:VCPKG_COMMIT_ID
2827
git -c advice.detachedHead=false checkout $env:VCPKG_COMMIT_ID
2928
.\bootstrap-vcpkg.bat > $null
3029
Add-Content "C:\tools\vcpkg\triplets\$env:PLATFORM-windows-static.cmake" "set(VCPKG_BUILD_TYPE release)"
@@ -55,7 +54,7 @@ build_script:
5554
after_build:
5655
#- 7z a bitcoin-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\build_msvc\%platform%\%configuration%\*.exe
5756
test_script:
58-
- cmd: src\test_bitcoin.exe -k stdout -e stdout 2> NUL
57+
- cmd: src\test_bitcoin.exe -l test_suite
5958
- cmd: src\bench_bitcoin.exe -evals=1 -scaling=0 > NUL
6059
- ps: python test\util\bitcoin-util-test.py
6160
- cmd: python test\util\rpcauth-test.py

depend/bitcoin/.cirrus.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ task:
77
timeout_in: 60m
88
env:
99
MAKEJOBS: "-j9"
10-
RUN_CI_ON_HOST: "1"
10+
DANGER_RUN_CI_ON_HOST: "1"
1111
TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache
1212
CCACHE_SIZE: "200M"
1313
CCACHE_DIR: "/tmp/ccache_dir"
1414
ccache_cache:
1515
folder: "/tmp/ccache_dir"
1616
depends_built_cache:
1717
folder: "/tmp/cirrus-ci-build/depends/built"
18-
depends_sdk_cache:
19-
folder: "/tmp/cirrus-ci-build/depends/sdk-sources"
2018
install_script:
2119
- apt-get update
2220
- apt-get -y install git bash ccache

depend/bitcoin/.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug report
3-
about: Create a report to help us improve
3+
about: Create a report to help us improve (use this for suspected bugs only, if not sure, open a regular issue below)
44
title: ''
55
labels: Bug
66
assignees: ''
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Good first issue
3+
about: '(Regular devs only): Suggest a new good first issue'
4+
title: ''
5+
labels: good first issue
6+
assignees: ''
7+
8+
---
9+
10+
11+
#### Useful skills:
12+
13+
<!-- (For example, “C++11 std::thread”, “Qt5 GUI and async GUI design” or “basic understanding of Bitcoin mining and the Bitcoin Core RPC interface”.) -->
14+
15+
#### Want to work on this issue?
16+
17+
The purpose of the `good first issue` label is to highlight which issues are suitable for a new contributor without a deep understanding of the codebase.
18+
19+
You do not need to request permission to start working on this. You are encouraged to comment on the issue if you are planning to work on it. This will help other contributors monitor which issues are actively being addressed and is also an effective way to request assistance if and when you need it.
20+
21+
For guidance on contributing, please read [CONTRIBUTING.md](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md) before opening your pull request.

depend/bitcoin/.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ src/bitcoind
77
src/bitcoin-cli
88
src/bitcoin-tx
99
src/bitcoin-wallet
10+
src/test/fuzz
11+
!src/test/fuzz/*.*
1012
src/test/test_bitcoin
11-
src/test/test_bitcoin_fuzzy
1213
src/qt/test/test_bitcoin-qt
1314

1415
# autoreconf
@@ -28,6 +29,7 @@ build-aux/m4/ltversion.m4
2829
build-aux/missing
2930
build-aux/compile
3031
build-aux/test-driver
32+
config.cache
3133
config.log
3234
config.status
3335
configure
@@ -88,7 +90,7 @@ src/qt/bitcoin-qt.includes
8890
*.qm
8991
Makefile
9092
!depends/Makefile
91-
bitcoin-qt
93+
src/qt/bitcoin-qt
9294
Bitcoin-Qt.app
9395
background.tiff*
9496

@@ -106,6 +108,9 @@ qrc_*.cpp
106108
.DS_Store
107109
build
108110

111+
# Previous releases
112+
releases
113+
109114
#lcov
110115
*.gcno
111116
*.gcda

depend/bitcoin/.travis.yml

Lines changed: 61 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,29 @@
2525
# [1] https://docs.travis-ci.com/user/caching/#build-phases
2626
# [2] https://docs.travis-ci.com/user/customizing-the-build#build-timeouts
2727

28+
version: ~> 1.0
29+
2830
dist: xenial
2931
os: linux
3032
language: minimal
33+
arch: amd64
3134
cache:
3235
ccache: true
3336
directories:
3437
- $TRAVIS_BUILD_DIR/depends/built
3538
- $TRAVIS_BUILD_DIR/depends/sdk-sources
3639
- $TRAVIS_BUILD_DIR/ci/scratch/.ccache
40+
- $TRAVIS_BUILD_DIR/releases/$HOST
41+
before_cache:
42+
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew cleanup; fi
3743
stages:
3844
- lint
3945
- test
40-
- extended-lint
4146
env:
4247
global:
4348
- CI_RETRY_EXE="travis_retry"
44-
- CACHE_ERR_MSG="Error! Initial build successful, but not enough time remains to run later build stages and tests. Please manually re-run this job by using the travis restart button or asking a bitcoin maintainer to restart. The next run should not time out because the build cache has been saved."
49+
- CI_WAIT="while sleep 500; do echo .; done"
50+
- CACHE_ERR_MSG="Error! Initial build successful, but not enough time remains to run later build stages and tests. See https://docs.travis-ci.com/user/customizing-the-build#build-timeouts . Please manually re-run this job by using the travis restart button. The next run should not time out because the build cache has been saved."
4551
before_install:
4652
- set -o errexit; source ./ci/test/00_setup_env.sh
4753
- set -o errexit; source ./ci/test/03_before_install.sh
@@ -75,66 +81,89 @@ jobs:
7581
script:
7682
- set -o errexit; source ./ci/lint/06_script.sh
7783

78-
- stage: extended-lint
79-
name: 'extended lint [runtime >= 60 seconds]'
80-
env:
81-
cache: false
82-
language: python
83-
python: '3.5'
84-
install:
85-
- set -o errexit; source ./ci/extended_lint/04_install.sh
86-
before_script:
87-
- set -o errexit; source ./ci/lint/05_before_script.sh
88-
script:
89-
- set -o errexit; source ./ci/extended_lint/06_script.sh
90-
9184
- stage: test
92-
name: 'ARM [GOAL: install] [no unit or functional tests]'
85+
name: 'ARM [GOAL: install] [buster] [unit tests, functional tests]'
86+
arch: arm64 # Can disable QEMU_USER_CMD and run the tests natively without qemu
9387
env: >-
9488
FILE_ENV="./ci/test/00_setup_env_arm.sh"
89+
QEMU_USER_CMD=""
9590
96-
- stage: test
97-
name: 'Win64 [GOAL: deploy] [no gui or functional tests]'
98-
env: >-
99-
FILE_ENV="./ci/test/00_setup_env_win64.sh"
91+
# s390 build was disabled temporarily because of disk space issues on the Travis VM
92+
#
93+
# - stage: test
94+
# name: 'S390x [GOAL: install] [buster] [unit tests, functional tests]'
95+
# arch: s390x # Can disable QEMU_USER_CMD and run the tests natively without qemu
96+
# env: >-
97+
# FILE_ENV="./ci/test/00_setup_env_s390x.sh"
98+
# QEMU_USER_CMD=""
10099

101100
- stage: test
102-
name: '32-bit + dash [GOAL: install] [GUI: BIP70 enabled]'
101+
name: 'Win64 [GOAL: deploy] [unit tests, no gui, no functional tests]'
103102
env: >-
104-
FILE_ENV="./ci/test/00_setup_env_i686.sh"
103+
FILE_ENV="./ci/test/00_setup_env_win64.sh"
105104
106105
- stage: test
107-
name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
106+
name: '32-bit + dash [GOAL: install] [CentOS 7] [gui]'
108107
env: >-
109-
FILE_ENV="./ci/test/00_setup_env_amd64_qt5.sh"
108+
FILE_ENV="./ci/test/00_setup_env_i686_centos.sh"
110109
111110
- stage: test
112-
name: 'x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'
111+
name: 'x86_64 Linux [GOAL: install] [bionic] [previous releases, uses qt5 dev package and some depends packages] [unsigned char]'
113112
env: >-
114-
FILE_ENV="./ci/test/00_setup_env_amd64_trusty.sh"
113+
FILE_ENV="./ci/test/00_setup_env_native_qt5.sh"
115114
116115
- stage: test
117116
name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'
118117
env: >-
119-
FILE_ENV="./ci/test/00_setup_env_amd64_tsan.sh"
118+
FILE_ENV="./ci/test/00_setup_env_native_tsan.sh"
120119
TEST_RUNNER_EXTRA="--exclude feature_block" # Not enough memory on travis machines
121120
122121
- stage: test
123122
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'
124123
env: >-
125-
FILE_ENV="./ci/test/00_setup_env_amd64_asan.sh"
124+
FILE_ENV="./ci/test/00_setup_env_native_asan.sh"
126125
127126
- stage: test
128-
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address,undefined]'
127+
name: 'x86_64 Linux [GOAL: install] [focal] [no depends, only system libs, sanitizers: fuzzer,address,undefined]'
129128
env: >-
130-
FILE_ENV="./ci/test/00_setup_env_amd64_fuzz.sh"
129+
FILE_ENV="./ci/test/00_setup_env_native_fuzz.sh"
131130
132131
- stage: test
133132
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
134133
env: >-
135-
FILE_ENV="./ci/test/00_setup_env_amd64_nowallet.sh"
134+
FILE_ENV="./ci/test/00_setup_env_native_nowallet.sh"
136135
137136
- stage: test
138-
name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'
137+
name: 'macOS 10.12 [GOAL: deploy] [no functional tests]'
139138
env: >-
140139
FILE_ENV="./ci/test/00_setup_env_mac.sh"
140+
141+
- stage: test
142+
name: 'macOS 10.14 native [GOAL: install] [GUI] [no depends]'
143+
os: osx
144+
# Use the most recent version:
145+
# Xcode 11.3.1, macOS 10.14, SDK 10.15
146+
# https://docs.travis-ci.com/user/reference/osx/#macos-version
147+
osx_image: xcode11.3
148+
cache:
149+
directories:
150+
- $TRAVIS_BUILD_DIR/ci/scratch/.ccache
151+
- $TRAVIS_BUILD_DIR/releases/$HOST
152+
- $HOME/Library/Caches/Homebrew
153+
- /usr/local/Homebrew
154+
addons:
155+
homebrew:
156+
packages:
157+
- libtool
158+
- berkeley-db4
159+
- boost
160+
- miniupnpc
161+
- qt
162+
- qrencode
163+
- python3
164+
- ccache
165+
- zeromq
166+
env: >-
167+
DANGER_RUN_CI_ON_HOST=true
168+
CI_USE_APT_INSTALL=no
169+
FILE_ENV="./ci/test/00_setup_env_mac_host.sh"

depend/bitcoin/.tx/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[main]
22
host = https://www.transifex.com
33

4-
[bitcoin.qt-translation-019x]
4+
[bitcoin.qt-translation-020x]
55
file_filter = src/qt/locale/bitcoin_<lang>.ts
66
source_file = src/qt/locale/bitcoin_en.ts
77
source_lang = en

0 commit comments

Comments
 (0)