Skip to content

Commit cb6e240

Browse files
committed
Merge #123: Sync with the main repo
Pull request description: Sync with the main repo up to the latest bitcoin/bitcoin@ba48fcf. No conflicts :) #### Guix builds: ``` $ find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum 5f75bc511ddab20776638db8540232ae584b21d605635e4bb50fcc25d5d3195a guix-build-8f7ae495c14e/output/aarch64-linux-gnu/SHA256SUMS.part 741a598f854968fee09f800ff523885dca9c3191da8eb12ae50ea92db63851d8 guix-build-8f7ae495c14e/output/aarch64-linux-gnu/bitcoin-8f7ae495c14e-aarch64-linux-gnu-debug.tar.gz f02d43decb0ff440e6b9b5b3c9c3f30f5504443e572f43258e97be89763f6afa guix-build-8f7ae495c14e/output/aarch64-linux-gnu/bitcoin-8f7ae495c14e-aarch64-linux-gnu.tar.gz ef60c50778b7c0988723690e043562f3ff9b8ac4d5bd18d09ad8b1d3ac7b5489 guix-build-8f7ae495c14e/output/arm-linux-gnueabihf/SHA256SUMS.part a5503b5f2485a0762ecec8eea2367a16e7f9dd76ae9bbfd76f5988551ee0c43a guix-build-8f7ae495c14e/output/arm-linux-gnueabihf/bitcoin-8f7ae495c14e-arm-linux-gnueabihf-debug.tar.gz eb79bc04cdc155a8fa8b826c8d16d45986f4bfba0f7602e348851769710a6fa2 guix-build-8f7ae495c14e/output/arm-linux-gnueabihf/bitcoin-8f7ae495c14e-arm-linux-gnueabihf.tar.gz fc9a2232d67df73a24a3eb7792b9c61ba512346ca490bffda898a9a807638345 guix-build-8f7ae495c14e/output/arm64-apple-darwin/SHA256SUMS.part 9646f609e59439aec9db0fc225a5528adb9b60212d63673537034de42b2f52fd guix-build-8f7ae495c14e/output/arm64-apple-darwin/bitcoin-8f7ae495c14e-arm64-apple-darwin-unsigned.dmg 9088b3babdc3846c226cc2061b04d3103aaaabe91525e9141de1b5346b309c6a guix-build-8f7ae495c14e/output/arm64-apple-darwin/bitcoin-8f7ae495c14e-arm64-apple-darwin-unsigned.tar.gz 5a7f6fb5d1fbc9f337071ed7f60f4fda7ff3bd6768d396c75313e97b3be17995 guix-build-8f7ae495c14e/output/arm64-apple-darwin/bitcoin-8f7ae495c14e-arm64-apple-darwin.tar.gz 2a0241676b251b91afbe5b6a6f6f52f9592635ff73194246b338ca0faabb8316 guix-build-8f7ae495c14e/output/dist-archive/bitcoin-8f7ae495c14e.tar.gz bc74a4de28a852292766a6eb446589e3947afdf5fb392ca0cd56b4b736619f07 guix-build-8f7ae495c14e/output/powerpc64-linux-gnu/SHA256SUMS.part 404ddc865d86f7f5d202950927d26727e055c69a5817f70fb37eb2a7f00f6cdf guix-build-8f7ae495c14e/output/powerpc64-linux-gnu/bitcoin-8f7ae495c14e-powerpc64-linux-gnu-debug.tar.gz 40ab9d0dad720b18eb5a1d4e8e9c5e5a7ce79f0cc086684f717a7779855c34cd guix-build-8f7ae495c14e/output/powerpc64-linux-gnu/bitcoin-8f7ae495c14e-powerpc64-linux-gnu.tar.gz 155f215a63e34dc46e7992e3e7e6b632432a4fcd7791c2f6c03b905ebd3ad610 guix-build-8f7ae495c14e/output/powerpc64le-linux-gnu/SHA256SUMS.part 07ed3c6dc4701cd13513907b9cb7af7f99ae7e42a302a38d31acccc6cd595ea8 guix-build-8f7ae495c14e/output/powerpc64le-linux-gnu/bitcoin-8f7ae495c14e-powerpc64le-linux-gnu-debug.tar.gz c14ad68c026f30f9a789bb60e9a1d338c31e14dfd65f2dba95ccaa563c9671d7 guix-build-8f7ae495c14e/output/powerpc64le-linux-gnu/bitcoin-8f7ae495c14e-powerpc64le-linux-gnu.tar.gz 89f87547e6f9e7c94ef27eb469e79d437fbfc381df6da3752cd28349a35ca996 guix-build-8f7ae495c14e/output/riscv64-linux-gnu/SHA256SUMS.part 63713ba89afccb2c99f6519ad110eb68a053dbf800215e4eabf0aa3415d49b60 guix-build-8f7ae495c14e/output/riscv64-linux-gnu/bitcoin-8f7ae495c14e-riscv64-linux-gnu-debug.tar.gz 782c4cda9bbf8acec213b3ce3e98f402ca1d991a8883b58793b2a3e98128b1bd guix-build-8f7ae495c14e/output/riscv64-linux-gnu/bitcoin-8f7ae495c14e-riscv64-linux-gnu.tar.gz 5e5e60c56055ebc79c76b5a77cae167328e1e198bb15b5e8ef70e2ce5f3a602c guix-build-8f7ae495c14e/output/x86_64-apple-darwin/SHA256SUMS.part 1e5996024194bec36ce39dce74530fd3ac50ff5ec6be5c5278273201fc568b88 guix-build-8f7ae495c14e/output/x86_64-apple-darwin/bitcoin-8f7ae495c14e-x86_64-apple-darwin-unsigned.dmg e2936d470aad785e200c8fbe36f9a7cdd22aaf49fa601f693b6a6e30d757ddb3 guix-build-8f7ae495c14e/output/x86_64-apple-darwin/bitcoin-8f7ae495c14e-x86_64-apple-darwin-unsigned.tar.gz 7a47c67c2a7a4e809bd5c9b8141d4c381b4581a6e8f0a742325be3734b666ad9 guix-build-8f7ae495c14e/output/x86_64-apple-darwin/bitcoin-8f7ae495c14e-x86_64-apple-darwin.tar.gz e5caa7325c32a36f728b095bd915adf84a72ddee5fb0727f22d175460dd8fca4 guix-build-8f7ae495c14e/output/x86_64-linux-gnu/SHA256SUMS.part c44e56a7d43022dbca55cc6d34c5a5ad8f901f260808b067a8111dd97f4059f1 guix-build-8f7ae495c14e/output/x86_64-linux-gnu/bitcoin-8f7ae495c14e-x86_64-linux-gnu-debug.tar.gz e812a31c799212af01b9d1d92b5083ffcece41b773596ebc1bf28000a4234280 guix-build-8f7ae495c14e/output/x86_64-linux-gnu/bitcoin-8f7ae495c14e-x86_64-linux-gnu.tar.gz a4160656eb3cda09b9176e6fe2ce383d09874156a6777bbd9866d66d1197b734 guix-build-8f7ae495c14e/output/x86_64-w64-mingw32/SHA256SUMS.part b6e4c886cddd270dd1bb891ae9ec4b80e8b4de2e99d48405760710989a36c1ef guix-build-8f7ae495c14e/output/x86_64-w64-mingw32/bitcoin-8f7ae495c14e-win64-debug.zip 680b95435b421071dbe87d2eacd9e2992dd34fe21843c7a1894197110146bde0 guix-build-8f7ae495c14e/output/x86_64-w64-mingw32/bitcoin-8f7ae495c14e-win64-setup-unsigned.exe b89cfcdadb03afd75554d43649187a8d86dc32061501a4141a23ac2da90ee323 guix-build-8f7ae495c14e/output/x86_64-w64-mingw32/bitcoin-8f7ae495c14e-win64-unsigned.tar.gz 780fda0104eedc78276e718ce0fade364c9377eb88c38842b41d81d402f5df31 guix-build-8f7ae495c14e/output/x86_64-w64-mingw32/bitcoin-8f7ae495c14e-win64.zip ``` [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/insecure_win_gui.zip?branch=pull/123) [![macOS](https://img.shields.io/badge/OS-macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/insecure_mac_gui.zip?branch=pull/123) [![Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/insecure_android_apk.zip?branch=pull/123) ACKs for top commit: jarolrod: ACK 8f7ae49 Tree-SHA512: b9de17e9ce38d9c226737351d48291187a0d3bec7f233a65ea4baacde9bdb259a39bf82bd35944eec914aac354eef3e8af6efa19002a7c3ee0d6063b48c13edd
2 parents ad0fc6c + 8f7ae49 commit cb6e240

File tree

484 files changed

+10418
-7542
lines changed

Some content is hidden

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

484 files changed

+10418
-7542
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ src/qt/bitcoin-qt.includes
7777
*.log
7878
*.trs
7979
*.dmg
80-
*.iso
8180

8281
*.json.h
8382
*.raw.h

CONTRIBUTING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ First, in terms of structure, there is no particular concept of "Bitcoin Core
1010
developers" in the sense of privileged people. Open source often naturally
1111
revolves around a meritocracy where contributors earn trust from the developer
1212
community over time. Nevertheless, some hierarchy is necessary for practical
13-
purposes. As such, there are repository "maintainers" who are responsible for
14-
merging pull requests, as well as a "lead maintainer" who is responsible for the
15-
[release cycle](/doc/release-process.md) as well as overall merging, moderation
16-
and appointment of maintainers.
13+
purposes. As such, there are repository maintainers who are responsible for
14+
merging pull requests, the [release cycle](/doc/release-process.md), and
15+
moderation.
1716

1817
Getting Started
1918
---------------
@@ -293,7 +292,7 @@ projects such as libsecp256k1), and is not to be confused with overall Bitcoin
293292
Network Protocol consensus changes.
294293

295294
Whether a pull request is merged into Bitcoin Core rests with the project merge
296-
maintainers and ultimately the project lead.
295+
maintainers.
297296

298297
Maintainers will take into consideration if a patch is in line with the general
299298
principles of the project; meets the minimum standards for inclusion; and will

Makefile.am

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if ENABLE_MAN
1212
SUBDIRS += doc/man
1313
endif
1414
.PHONY: deploy FORCE
15-
.INTERMEDIATE: $(OSX_TEMP_ISO) $(COVERAGE_INFO)
15+
.INTERMEDIATE: $(COVERAGE_INFO)
1616

1717
export PYTHONPATH
1818

@@ -37,7 +37,6 @@ space := $(empty) $(empty)
3737
OSX_APP=Bitcoin-Qt.app
3838
OSX_VOLNAME = $(subst $(space),-,$(PACKAGE_NAME))
3939
OSX_DMG = $(OSX_VOLNAME).dmg
40-
OSX_TEMP_ISO = $(OSX_DMG:.dmg=).temp.iso
4140
OSX_DEPLOY_SCRIPT=$(top_srcdir)/contrib/macdeploy/macdeployqtplus
4241
OSX_INSTALLER_ICONS=$(top_srcdir)/src/qt/res/icons/bitcoin.icns
4342
OSX_PLIST=$(top_builddir)/share/qt/Info.plist #not installed
@@ -130,19 +129,15 @@ deploydir: $(OSX_DMG)
130129
else !BUILD_DARWIN
131130
APP_DIST_DIR=$(top_builddir)/dist
132131

133-
$(OSX_TEMP_ISO): $(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Bitcoin-Qt
132+
$(OSX_DMG): deploydir
134133
$(XORRISOFS) -D -l -V "$(OSX_VOLNAME)" -no-pad -r -dir-mode 0755 -o $@ $(APP_DIST_DIR) -- $(if $(SOURCE_DATE_EPOCH),-volume_date all_file_dates =$(SOURCE_DATE_EPOCH))
135134

136-
$(OSX_DMG): $(OSX_TEMP_ISO)
137-
$(DMG) dmg "$<" "$@"
138-
139135
$(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Bitcoin-Qt: $(OSX_APP_BUILT) $(OSX_PACKAGING)
140-
INSTALLNAMETOOL=$(INSTALLNAMETOOL) OTOOL=$(OTOOL) STRIP=$(STRIP) $(PYTHON) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) $(OSX_VOLNAME) -translations-dir=$(QT_TRANSLATION_DIR)
136+
INSTALL_NAME_TOOL=$(INSTALL_NAME_TOOL) OTOOL=$(OTOOL) STRIP=$(STRIP) $(PYTHON) $(OSX_DEPLOY_SCRIPT) $(OSX_APP) $(OSX_VOLNAME) -translations-dir=$(QT_TRANSLATION_DIR)
141137

142138
deploydir: $(APP_DIST_DIR)/$(OSX_APP)/Contents/MacOS/Bitcoin-Qt
143139
endif !BUILD_DARWIN
144140

145-
appbundle: $(OSX_APP_BUILT)
146141
deploy: $(OSX_DMG)
147142
endif
148143

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,14 @@ https://bitcoincore.org
66
For an immediately usable, binary version of the Bitcoin Core software, see
77
https://bitcoincore.org/en/download/.
88

9-
Further information about Bitcoin Core is available in the [doc folder](/doc).
10-
11-
What is Bitcoin?
12-
----------------
9+
What is Bitcoin Core?
10+
---------------------
1311

14-
Bitcoin is an experimental digital currency that enables instant payments to
15-
anyone, anywhere in the world. Bitcoin uses peer-to-peer technology to operate
16-
with no central authority: managing transactions and issuing money are carried
17-
out collectively by the network. Bitcoin Core is the name of open source
18-
software which enables the use of this currency.
12+
Bitcoin Core connects to the Bitcoin peer-to-peer network to download and fully
13+
validate blocks and transactions. It also includes a wallet and graphical user
14+
interface, which can be optionally built.
1915

20-
For more information read the original Bitcoin whitepaper.
16+
Further information about Bitcoin Core is available in the [doc folder](/doc).
2117

2218
License
2319
-------

REVIEWERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
/src/dbwrapper.* @jamesob
113113

114114
# Linter
115-
/test/lint/lint-shell.sh @hebasto
115+
/test/lint/lint-shell.py @hebasto
116116

117117
# Bech32
118118
/src/bech32.* @sipa

ci/lint/06_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test/lint/git-subtree-check.sh src/univalue
2222
test/lint/git-subtree-check.sh src/leveldb
2323
test/lint/git-subtree-check.sh src/crc32c
2424
test/lint/check-doc.py
25-
test/lint/lint-all.sh
25+
test/lint/lint-all.py
2626

2727
if [ "$CIRRUS_REPO_FULL_NAME" = "bitcoin/bitcoin" ] && [ "$CIRRUS_PR" = "" ] ; then
2828
# Sanity check only the last few commits to get notified of missing sigs,

ci/test/00_setup_env_native_nowallet_libbitcoinkernel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export DOCKER_NAME_TAG=ubuntu:18.04 # Use bionic to have one config run the tes
1111
export PACKAGES="python3-zmq clang-8 llvm-8 libc++abi-8-dev libc++-8-dev" # Use clang-8 to test C++17 compatibility, see doc/dependencies.md
1212
export DEP_OPTS="NO_WALLET=1 CC=clang-8 CXX='clang++-8 -stdlib=libc++'"
1313
export GOAL="install"
14-
export BITCOIN_CONFIG="--enable-reduce-exports CC=clang-8 CXX='clang++-8 -stdlib=libc++' --enable-experimental-util-chainstate"
14+
export BITCOIN_CONFIG="--enable-reduce-exports CC=clang-8 CXX='clang++-8 -stdlib=libc++' --enable-experimental-util-chainstate --with-experimental-kernel-lib --enable-shared"

ci/test/00_setup_env_native_qt5.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ export TEST_RUNNER_EXTRA="--previous-releases --coverage --extended --exclude fe
1414
export RUN_UNIT_TESTS_SEQUENTIAL="true"
1515
export RUN_UNIT_TESTS="false"
1616
export GOAL="install"
17-
export PREVIOUS_RELEASES_TO_DOWNLOAD="v0.14.3 v0.15.2 v0.16.3 v0.17.2 v0.18.1 v0.19.1 v0.20.1 v0.21.0 v22.0"
17+
export PREVIOUS_RELEASES_TO_DOWNLOAD="v0.14.3 v0.15.2 v0.16.3 v0.17.2 v0.18.1 v0.19.1 v0.20.1 v0.21.0 v22.0 v23.0"
1818
export BITCOIN_CONFIG="--enable-zmq --with-libs=no --with-gui=qt5 --enable-reduce-exports \
1919
--enable-debug CFLAGS=\"-g0 -O2 -funsigned-char\" CXXFLAGS=\"-g0 -O2 -funsigned-char\" CC=gcc-9 CXX=g++-9"

ci/test/00_setup_env_native_tidy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export LC_ALL=C.UTF-8
88

99
export DOCKER_NAME_TAG="ubuntu:22.04"
1010
export CONTAINER_NAME=ci_native_tidy
11-
export PACKAGES="clang llvm clang-tidy bear libevent-dev libboost-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev systemtap-sdt-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqrencode-dev libsqlite3-dev libdb++-dev"
11+
export PACKAGES="clang libclang-dev llvm-dev clang-tidy bear cmake libevent-dev libboost-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev systemtap-sdt-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqrencode-dev libsqlite3-dev libdb++-dev"
1212
export NO_DEPENDS=1
1313
export RUN_UNIT_TESTS=false
1414
export RUN_FUNCTIONAL_TESTS=false

ci/test/00_setup_env_native_tsan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export DOCKER_NAME_TAG=ubuntu:22.04
1111
export PACKAGES="clang-13 llvm-13 libc++abi-13-dev libc++-13-dev python3-zmq"
1212
export DEP_OPTS="CC=clang-13 CXX='clang++-13 -stdlib=libc++'"
1313
export GOAL="install"
14-
export BITCOIN_CONFIG="--enable-zmq CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' CXXFLAGS='-g' --with-sanitizers=thread CC=clang-13 CXX='clang++-13 -stdlib=libc++'"
14+
export BITCOIN_CONFIG="--enable-zmq CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER -DDEBUG_LOCKCONTENTION' CXXFLAGS='-g' --with-sanitizers=thread CC=clang-13 CXX='clang++-13 -stdlib=libc++'"

0 commit comments

Comments
 (0)