Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tc/carl/2022 03 libbitcoinkernel chainparams args only rebased complete #3

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
faa3d38
refactor: Pass reference to LookUpStats
May 26, 2022
fa521c9
Use steady clock for all millis bench logging
Jun 28, 2022
0f0cc05
refactor: Remove trailing semicolon from LOCK2
aureleoules Aug 12, 2022
f1379ae
Simplify BCLog::Level enum class and LogLevelToStr() function
jonatack May 31, 2022
2978b38
Add BCLog::Logger::m_log_level data member and getter/setter
jonatack Aug 18, 2022
f6c0cc0
Add BCLog::Logger::m_category_log_levels data member and getter/setter
jonatack Aug 18, 2022
c2797cf
Add BCLog::Logger::SetLogLevel()/SetCategoryLogLevel() for string inputs
klementtan Aug 18, 2022
8fe3457
Update LogAcceptCategory() and unit tests with log severity levels
klementtan Aug 18, 2022
9c7507b
Create BCLog::Logger::LogLevelsString() helper function
klementtan Aug 18, 2022
98a1f9c
Unit test coverage for log severity levels
klementtan Aug 18, 2022
eb7bee5
Create -loglevel configuration option
klementtan Jun 6, 2022
2a8712d
Unit test coverage for -loglevel configuration option
klementtan Aug 18, 2022
45f9282
Create BCLog::Level::Trace log severity level
jonatack Jun 1, 2022
1abaa31
Update -debug and -debugexclude help docs for severity level logging
jonatack Aug 18, 2022
9580480
Update debug logging section in the developer notes
jonatack Aug 20, 2022
1b5bec7
init: avoid unsetting service bits from `nLocalServices`
theStack Aug 20, 2022
fa2aae5
test: Fix intermittent issue in p2p_leak.py
Aug 24, 2022
22dada5
build: prune compat event headers
fanquake Aug 24, 2022
e664af2
Apply label to all scriptPubKeys of imported combo()
achow101 Aug 25, 2022
ea1ab39
scriptpubkeyman: Implement GetScriptPubKeys in Legacy
achow101 Jul 6, 2020
35f428f
Implement LegacyScriptPubKeyMan::MigrateToDescriptor
achow101 Jul 13, 2020
22401f1
Implement LegacyScriptPubKeyMan::DeleteRecords
achow101 Aug 25, 2022
5b62f09
wallet: Refactor SetupDescSPKMs to take CExtKey
achow101 Aug 10, 2022
2ef33e9
contrib: update testnet torv3 hardcoded seeds
jonatack Aug 15, 2022
fa3358b
Move validation option logging to LoadChainstate()
Aug 29, 2022
10d91c5
wallet: Deduplicate Resend and ReacceptWalletTransactions
achow101 Aug 24, 2022
3405f3e
test: Test that an unconfirmed not-in-mempool chain is rebroadcast
achow101 Aug 2, 2022
e7b16f9
Implement MigrateToSQLite
achow101 Aug 26, 2022
0bf7b38
Implement MigrateLegacyToDescriptor
achow101 Jul 13, 2020
31764c3
Add migratewallet RPC
achow101 Jul 13, 2020
0b26e7c
descriptors: addr() and raw() should return false for ToPrivateString
achow101 Jul 27, 2020
9c44bfe
Test migratewallet
achow101 Jul 27, 2020
53e7ed0
doc: Release notes and other docs for migration
achow101 Aug 11, 2022
2c05dc7
Fix link to MurmurHash3.cpp from Austin Appleby
dontbyte Aug 30, 2022
5099624
rpc: sort listdescriptors result
Sjors Aug 31, 2022
56e79fe
guix: use --build={arch}-guix-linux-gnu in cross toolchain
fanquake Aug 17, 2022
767d825
Update chainparams for 24.0 release
ux3257 Aug 28, 2022
89576cc
refactor: add LIFETIMEBOUND to blockfilter where needed
stickies-v Aug 31, 2022
f821fc9
Merge bitcoin/bitcoin#25967: refactor: add LIFETIMEBOUND to blockfilt…
Sep 1, 2022
ccea0e1
Merge bitcoin/bitcoin#25959: doc: Fix link to MurmurHash3.cpp (moved …
Sep 1, 2022
fa5c224
Merge bitcoin/bitcoin#25887: init: avoid unsetting service bits from …
Sep 1, 2022
b2544d1
qt: Update translation source file for string freeze
hebasto Sep 1, 2022
9dccc33
net: add CNodeOptions for optional CNode constructor params
ajtowns Aug 31, 2022
d394156
net: make CNode::m_permissionFlags const
ajtowns Sep 1, 2022
0a7fc42
net: make CNode::m_prefer_evict const
ajtowns Sep 1, 2022
377e9cc
scripted-diff: net: rename permissionFlags to permission_flags
ajtowns Sep 1, 2022
fa4c59d
Move blockstorage option logging to LoadChainstate()
Sep 1, 2022
f79d612
Merge bitcoin-core/gui#660: Update translation source file for string…
hebasto Sep 1, 2022
3118425
Merge bitcoin/bitcoin#25931: rpc: sort listdescriptors result
achow101 Sep 1, 2022
36e1b52
Merge bitcoin/bitcoin#25951: log: Move validation option logging to L…
Sep 1, 2022
f663b43
QA: rpc_blockchain: Test output of getblock verbosity 0, False, and True
luke-jr Sep 1, 2022
7921026
Merge bitcoin/bitcoin#19602: wallet: Migrate legacy wallets to descri…
achow101 Sep 1, 2022
88e7807
test: fix non-determinism in p2p_headers_sync_with_minchainwork.py
sdaftuar Sep 1, 2022
7281fac
Merge bitcoin/bitcoin#25614: Severity-based logging, step 2
achow101 Sep 1, 2022
ea67232
Merge bitcoin/bitcoin#25962: net: Add CNodeOptions and increase const…
Sep 2, 2022
4296dde
Prevent data race for `pathHandlers`
hebasto Sep 2, 2022
2186608
test: apply fixed feerate to avoid variable dynamic fees
stickies-v Sep 2, 2022
604015a
Merge bitcoin/bitcoin#25914: test: Fix intermittent issue in p2p_leak.py
fanquake Sep 4, 2022
85f0f93
build: sync ax_boost_base from upstream
fanquake Sep 4, 2022
e531e34
build: fix configuring with --without-experimental-kernel-lib
fanquake Sep 4, 2022
df31e46
Merge bitcoin/bitcoin#25861: guix: use --build={arch}-guix-linux-gnu …
fanquake Sep 4, 2022
0ebd4db
Merge bitcoin/bitcoin#25978: test: fix non-determinism in p2p_headers…
fanquake Sep 4, 2022
644772b
message-capture-parser: fix AssertionError on parsing `headers` message
theStack Sep 4, 2022
a7dbf74
test: remove Boost Test from libtest util
fanquake Sep 5, 2022
e864f2e
Merge bitcoin/bitcoin#25976: QA: rpc_blockchain: Test output of getbl…
Sep 5, 2022
5291933
Merge bitcoin/bitcoin#25768: wallet: Properly rebroadcast unconfirmed…
glozow Sep 5, 2022
5182940
RPC: fix sendall docs
ajtowns Sep 5, 2022
2d0b4e4
init: allow startup with -onlynet=onion -listenonion=1
vasild Apr 26, 2022
af2a7c8
guix: consistently use -ffile-prefix-map
fanquake Sep 6, 2022
447f50e
Merge bitcoin/bitcoin#25946: Update chainparams for 24.0 release
Sep 6, 2022
91f0a7f
p2p: add only reachable addresses to addrman
mzumsande Jul 22, 2022
385f5a4
p2p: Don't query DNS seeds when both IPv4 and IPv6 are unreachable
mzumsande Jul 22, 2022
124e75a
Merge bitcoin/bitcoin#26010: RPC: fix sendall docs
achow101 Sep 6, 2022
5f28fc8
qt: Cleanup translation comment
hebasto Sep 7, 2022
8ed2b72
qt: Prevent wrong handling of `%2` token by Transifex
hebasto Sep 7, 2022
fc44d17
Merge bitcoin/bitcoin#25983: Prevent data race for `pathHandlers`
Sep 7, 2022
37095c7
Merge bitcoin/bitcoin#25678: p2p: skip querying dns seeds if `-onlyne…
fanquake Sep 7, 2022
1941ce6
test: Fix `wallet_basic.py` for BDB-only wallets
hebasto Sep 7, 2022
9f3a315
test: Fix `wallet_listsinceblock.py` for BDB-only wallets
hebasto Sep 7, 2022
2557429
Merge bitcoin/bitcoin#26037: test: Fix `wallet_{basic,listsinceblock}…
Sep 8, 2022
0cd7928
guix: use git-minimal over git
fanquake Sep 7, 2022
07b6e74
test: Display skipped tests reason
aureleoules Sep 7, 2022
667401a
[test] only run feature_rbf.py once
glozow Sep 8, 2022
4b1d5a1
test: invalidating an unknown block throws an error
brunoerg Sep 7, 2022
37f5386
Merge bitcoin/bitcoin#26038: test: invalidating an unknown block thro…
Sep 8, 2022
b2215b3
Merge bitcoin/bitcoin#26018: guix: consistently use -ffile-prefix-map
fanquake Sep 8, 2022
ce42570
doc: comment "add only reachable addresses to addrman"
kristapsk Sep 7, 2022
19585ee
Merge bitcoin/bitcoin#25853: net: update testnet torv3 hardcoded seed…
Sep 9, 2022
a9049dd
Merge bitcoin/bitcoin#26002: build: sync ax_boost_base from upstream
fanquake Sep 9, 2022
013924a
Merge bitcoin/bitcoin#26031: test: Display skipped tests reason
Sep 9, 2022
dd3ada6
Merge bitcoin/bitcoin#25990: test: apply fixed feerate to avoid varia…
Sep 9, 2022
3c5fb96
Merge bitcoin/bitcoin#26007: [contrib] message-capture-parser: fix As…
Sep 9, 2022
1b348d2
[mempool] replace update_descendant_state with lambda
glozow Sep 8, 2022
ef5bb74
Merge bitcoin/bitcoin#26040: doc: comment "add only reachable address…
Sep 9, 2022
00eeb31
scripted-diff: rename CChainState -> Chainstate
jamesob Mar 9, 2022
4f67336
test: verify best blockhash after invalidating an unknown block
brunoerg Sep 9, 2022
d26c3cc
wallet: bugfix, load wallet with an unknown descriptor cause fatal error
furszy Sep 6, 2022
e066763
wallet: coverage for loading an unknown descriptor
furszy Sep 7, 2022
8ca51aa
Merge bitcoin/bitcoin#26009: test: remove Boost Test from libtest_util
Sep 10, 2022
bb378b6
Merge bitcoin/bitcoin#26054: test: verify best blockhash after invali…
Sep 10, 2022
55e468f
build: Add `-no-mimetype-database` option to qt package in depends
hebasto Sep 10, 2022
d0433a3
guix: Drop perl package
hebasto Sep 10, 2022
2e34374
Merge bitcoin/bitcoin#26003: build: fix configuring with `--without-e…
fanquake Sep 10, 2022
beb9426
Revert "guix: Build depends/qt with our platform definition"
hebasto Sep 10, 2022
5558d2f
Merge bitcoin/bitcoin#26048: mempool clean up: replace update_* struc…
Sep 12, 2022
8b2891a
i2p: use the same destination type for transient and persistent addre…
vasild Sep 12, 2022
2870a97
RPC: unify arg type error message
furszy Sep 12, 2022
b50a4b7
build: quiet warnings in system headers installed from homebrew
theuni Sep 12, 2022
995fdef
Merge bitcoin/bitcoin#26059: Revert "guix: Build depends/qt with our …
fanquake Sep 13, 2022
e9e943c
Merge bitcoin/bitcoin#26069: rpc: unify arg type error message
fanquake Sep 13, 2022
a361c6c
Merge bitcoin/bitcoin#26047: guix: use git-minimal over git
fanquake Sep 13, 2022
94d1784
Merge bitcoin/bitcoin#24991: init: allow startup with -onlynet=onion …
fanquake Sep 13, 2022
141540a
Merge bitcoin/bitcoin#25222: refactor: Pass reference to LookUpStats
Sep 13, 2022
3a7e0a2
Merge bitcoin/bitcoin#24513: CChainState -> Chainstate
glozow Sep 13, 2022
c856883
Merge bitcoin/bitcoin#26021: wallet: bugfix, load a wallet with an un…
achow101 Sep 13, 2022
29d540b
Merge bitcoin/bitcoin#26070: build: Quiet warnings in symlinked heade…
fanquake Sep 13, 2022
12de8f6
build: extract $(BOOST_CPPFLAGS) from $(BITCOIN_INCLUDES)
fanquake Sep 9, 2022
97f5b20
refactor: use std::string for thread names
stickies-v Aug 31, 2022
200d84d
refactor: use std::string for index names
stickies-v Aug 31, 2022
ddbcfdf
RPC: bugfix, 'add_inputs' default value is true unless 'inputs' are p…
furszy Sep 9, 2022
6f8e381
sendall: check if the maxtxfee has been exceeded
ishaanam Sep 13, 2022
13fd9ee
Merge bitcoin/bitcoin#26056: build: extract $(BOOST_CPPFLAGS) from $(…
fanquake Sep 14, 2022
f839697
build: remove BOOST_CPPFLAGS usage from bitcoin-tx
fanquake Sep 14, 2022
a10df7c
build: prune BOOST_CPPFLAGS from libbitcoin_zmq
fanquake Sep 14, 2022
26cf9ea
scripted-diff: rename pszThread to thread_name
stickies-v Sep 14, 2022
02c9e56
fs: fully initialize _OVERLAPPED for win32
theuni Sep 13, 2022
a8c3590
Merge bitcoin/bitcoin#25831: refactor: Remove trailing semicolon from…
Sep 14, 2022
faa4916
test/doc: Remove unused syncwithvalidationinterfacequeue
Sep 14, 2022
34a2f91
Revert "doc: note that brew installed qt is not supported"
hebasto Sep 13, 2022
c67d6f5
Merge bitcoin/bitcoin#26079: Revert "doc: note that brew installed qt…
fanquake Sep 14, 2022
bc29c4d
Merge bitcoin-core/gui#663: Cleanup translation comment
hebasto Sep 14, 2022
f523df1
Merge bitcoin-core/gui#664: Prevent wrong handling of `%2` token by T…
hebasto Sep 14, 2022
6725030
qt: Update translation source file for string freeze (round 2)
hebasto Sep 14, 2022
b00fc44
test: add coverage for 'add_inputs' dynamic default value
furszy Sep 9, 2022
d190003
Merge bitcoin-core/gui#669: Update translation source file for string…
hebasto Sep 14, 2022
2e3cd26
Merge bitcoin/bitcoin#26053: rpc: bugfix, 'add_inputs' default value …
achow101 Sep 14, 2022
718304d
Merge bitcoin/bitcoin#26084: sendall: check if the maxtxfee has been …
Sep 15, 2022
fa1ce96
test: Add missing syncwithvalidationinterfacequeue
Sep 14, 2022
afce044
build: remove unused natpmp / upnp cppflags
fanquake Sep 14, 2022
4b656b9
build: remove unused libevent cppflags
fanquake Sep 15, 2022
cc434cb
wallet: fix sendall creates tx that fails tx-size check
kouloumos Sep 6, 2022
20f03a5
Merge bitcoin/bitcoin#26089: build: remove unused cppflags
fanquake Sep 15, 2022
f332c4f
Merge bitcoin/bitcoin#26090: fs: fully initialize `_OVERLAPPED` for w…
fanquake Sep 15, 2022
b0349a7
doc: consolidate & remove release-note fragments
fanquake Sep 14, 2022
96f1b2d
Merge bitcoin/bitcoin#26091: test: Fix syncwithvalidationinterfaceque…
achow101 Sep 15, 2022
a56876e
Merge bitcoin/bitcoin#26024: wallet: fix sendall creates tx that fail…
achow101 Sep 15, 2022
04fee75
Use ReadLE64 in uint256::GetUint64() instead of duplicating logic
sipa Sep 15, 2022
27351fb
Merge bitcoin/bitcoin#26093: doc: consolidate release-note fragments …
Sep 16, 2022
19526d9
Merge bitcoin/bitcoin#26065: i2p: use the same destination type for t…
fanquake Sep 16, 2022
2530a24
Merge bitcoin/bitcoin#26105: Use ReadLE64 in uint256::GetUint64 inste…
fanquake Sep 16, 2022
1d6c605
Merge bitcoin/bitcoin#26057: build, guix: Get rid of perl dependency
fanquake Sep 16, 2022
08785aa
Merge bitcoin/bitcoin#25499: Use steady clock for all millis bench lo…
fanquake Sep 16, 2022
5eb9781
Merge bitcoin/bitcoin#25971: refactor: Use std::string for thread and…
Sep 16, 2022
5a724d1
Merge bitcoin/bitcoin#25918: build: prune event2 compat headers
fanquake Sep 16, 2022
3d892d8
Merge bitcoin/bitcoin#26086: build: remove BOOST_CPPFLAGS usage from …
fanquake Sep 16, 2022
9fefd00
Merge bitcoin/bitcoin#26107: [test] only run feature_rbf.py once
Sep 16, 2022
a688ff9
Merge bitcoin/bitcoin#26087: build: prune BOOST_CPPFLAGS from libbitc…
fanquake Sep 16, 2022
f781b89
Move args from system.h/cpp to args.h/cpp
TheCharlatan Sep 17, 2022
542a976
Decouple SigNetChainParams from ArgsManager
dongcarl Mar 9, 2022
fdbd765
Decouple RegTestChainParams from ArgsManager
dongcarl Mar 9, 2022
5c5ddf0
Remove UpdateVersionBitsParameters
dongcarl Mar 9, 2022
cc737a5
Add factory functions for Main/Test chainparams
dongcarl Mar 10, 2022
8e32f9f
split non/kernel chainparamsbase
dongcarl Mar 11, 2022
799b55d
split non/kernel chainparams
dongcarl Mar 11, 2022
c6b426a
BIG decouple chainparams
dongcarl Mar 11, 2022
7aa44e1
BIG decouple argsman
dongcarl Mar 11, 2022
5866da7
Dummywallet: Drop the forward declaration of ArgsManager
TheCharlatan Aug 24, 2022
b3fa47b
Use kernel chainstate where possible
TheCharlatan Sep 1, 2022
e71a7be
Use kernel chainparams where possible
TheCharlatan Sep 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions build-aux/m4/ax_boost_base.m4
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# Test for the Boost C++ libraries of a particular version (or newer)
#
# If no path to the installed boost library is given the macro searchs
# under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates the
# $BOOST_ROOT environment variable. Further documentation is available at
# <http://randspringer.de/boost/index.html>.
# under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates
# the $BOOST_ROOT environment variable. Further documentation is available
# at <http://randspringer.de/boost/index.html>.
#
# This macro calls:
#
Expand All @@ -33,7 +33,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.

#serial 48
#serial 51

# example boost program (need to pass version)
m4_define([_AX_BOOST_BASE_PROGRAM],
Expand Down Expand Up @@ -114,7 +114,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
AS_CASE([${host_cpu}],
[x86_64],[libsubdirs="lib64 libx32 lib lib64"],
[mips*64*],[libsubdirs="lib64 lib32 lib lib64"],
[ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64],[libsubdirs="lib64 lib lib64"],
[ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64|e2k],[libsubdirs="lib64 lib lib64"],
[libsubdirs="lib"]
)

Expand All @@ -128,7 +128,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
)

dnl first we check the system location for boost libraries
dnl this location ist chosen if boost libraries are installed with the --layout=system option
dnl this location is chosen if boost libraries are installed with the --layout=system option
dnl or if you install boost with RPM
AS_IF([test "x$_AX_BOOST_BASE_boost_path" != "x"],[
AC_MSG_CHECKING([for boostlib >= $1 ($WANT_BOOST_VERSION) includes in "$_AX_BOOST_BASE_boost_path/include"])
Expand All @@ -151,7 +151,7 @@ AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
else
search_libsubdirs="$multiarch_libsubdir $libsubdirs"
fi
for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local /opt/homebrew/; do
for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local /opt/homebrew ; do
if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
for libsubdir in $search_libsubdirs ; do
if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
Expand Down
19 changes: 15 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,16 @@ case $host in
dnl It's safe to add these paths even if the functionality is disabled by
dnl the user (--without-wallet or --without-gui for example).

dnl Homebrew may create symlinks in /usr/local/include for some packages.
dnl Because MacOS's clang internally adds "-I /usr/local/include" to its search
dnl paths, this will negate efforts to use -isystem for those packages, as they
dnl will be found first in /usr/local. Use the internal "-internal-isystem"
dnl option to system-ify all /usr/local/include paths without adding it to the list
dnl of search paths in case it's not already there.
if test "$suppress_external_warnings" != "no"; then
AX_CHECK_PREPROC_FLAG([-Xclang -internal-isystem/usr/local/include], [CORE_CPPFLAGS="$CORE_CPPFLAGS -Xclang -internal-isystem/usr/local/include"], [], [$CXXFLAG_WERROR])
fi

if test "$use_bdb" != "no" && $BREW list --versions berkeley-db@4 >/dev/null && test "$BDB_CFLAGS" = "" && test "$BDB_LIBS" = ""; then
bdb_prefix=$($BREW --prefix berkeley-db@4 2>/dev/null)
dnl This must precede the call to BITCOIN_FIND_BDB48 below.
Expand Down Expand Up @@ -1695,11 +1705,12 @@ AM_CONDITIONAL([BUILD_BITCOIN_UTIL], [test $build_bitcoin_util = "yes"])
AC_MSG_RESULT($build_bitcoin_util)

AC_MSG_CHECKING([whether to build experimental bitcoin-chainstate])
if test "$build_experimental_kernel_lib" = "no"; then
AC_MSG_ERROR([experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib]);
else
AM_CONDITIONAL([BUILD_BITCOIN_CHAINSTATE], [test $build_bitcoin_chainstate = "yes"])
if test "$build_bitcoin_chainstate" = "yes"; then
if test "$build_experimental_kernel_lib" = "no"; then
AC_MSG_ERROR([experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib]);
fi
fi
AM_CONDITIONAL([BUILD_BITCOIN_CHAINSTATE], [test $build_bitcoin_chainstate = "yes"])
AC_MSG_RESULT($build_bitcoin_chainstate)

AC_MSG_CHECKING([whether to build libraries])
Expand Down
1 change: 0 additions & 1 deletion contrib/guix/libexec/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ make -C depends --jobs="$JOBS" HOST="$HOST" \
x86_64_linux_RANLIB=x86_64-linux-gnu-ranlib \
x86_64_linux_NM=x86_64-linux-gnu-nm \
x86_64_linux_STRIP=x86_64-linux-gnu-strip \
qt_config_opts_x86_64_linux='-platform linux-g++ -xplatform bitcoin-linux-g++' \
FORCE_USE_SYSTEM_CLANG=1


Expand Down
33 changes: 18 additions & 15 deletions contrib/guix/manifest.scm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
(gnu packages llvm)
(gnu packages mingw)
(gnu packages moreutils)
(gnu packages perl)
(gnu packages pkg-config)
(gnu packages python)
(gnu packages python-crypto)
Expand Down Expand Up @@ -78,6 +77,11 @@ http://www.linuxfromscratch.org/hlfs/view/development/chapter05/gcc-pass1.html"
(("-rpath=") "-rpath-link="))
#t))))))))

(define building-on (string-append (list-ref (string-split (%current-system) #\-) 0) "-guix-linux-gnu"))

(define (explicit-cross-configure package)
(package-with-extra-configure-variable package "--build" building-on))

(define (make-cross-toolchain target
base-gcc-for-libc
base-kernel-headers
Expand All @@ -87,9 +91,9 @@ http://www.linuxfromscratch.org/hlfs/view/development/chapter05/gcc-pass1.html"
(let* ((xbinutils (cross-binutils target))
;; 1. Build a cross-compiling gcc without targeting any libc, derived
;; from BASE-GCC-FOR-LIBC
(xgcc-sans-libc (cross-gcc target
#:xgcc base-gcc-for-libc
#:xbinutils xbinutils))
(xgcc-sans-libc (explicit-cross-configure (cross-gcc target
#:xgcc base-gcc-for-libc
#:xbinutils xbinutils)))
;; 2. Build cross-compiled kernel headers with XGCC-SANS-LIBC, derived
;; from BASE-KERNEL-HEADERS
(xkernel (cross-kernel-headers target
Expand All @@ -98,17 +102,17 @@ http://www.linuxfromscratch.org/hlfs/view/development/chapter05/gcc-pass1.html"
xbinutils))
;; 3. Build a cross-compiled libc with XGCC-SANS-LIBC and XKERNEL,
;; derived from BASE-LIBC
(xlibc (cross-libc target
base-libc
xgcc-sans-libc
xbinutils
xkernel))
(xlibc (explicit-cross-configure (cross-libc target
base-libc
xgcc-sans-libc
xbinutils
xkernel)))
;; 4. Build a cross-compiling gcc targeting XLIBC, derived from
;; BASE-GCC
(xgcc (cross-gcc target
#:xgcc base-gcc
#:xbinutils xbinutils
#:libc xlibc)))
(xgcc (explicit-cross-configure (cross-gcc target
#:xgcc base-gcc
#:xbinutils xbinutils
#:libc xlibc))))
;; Define a meta-package that propagates the resulting XBINUTILS, XLIBC, and
;; XGCC
(package
Expand Down Expand Up @@ -610,10 +614,9 @@ inspecting signatures in Mach-O binaries.")
gcc-toolchain-10
(list gcc-toolchain-10 "static")
;; Scripting
perl
python-3
;; Git
git
git-minimal
;; Tests
(fix-ppc64-nx-default lief))
(let ((target (getenv "HOST")))
Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/patches/glibc-2.24-guix-prefix.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ when we being using newer versions of glibc.
CFLAGS-.oS = $(CFLAGS-.o) $(PIC-ccflag)
+
+# Map Guix store paths to /usr
+CFLAGS-.oS += `find /gnu/store -maxdepth 1 -mindepth 1 -type d -exec echo -n " -fdebug-prefix-map={}=/usr" \;`
+CFLAGS-.oS += `find /gnu/store -maxdepth 1 -mindepth 1 -type d -exec echo -n " -ffile-prefix-map={}=/usr" \;`
+
CPPFLAGS-.oS = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
libtype.oS = lib%_nonshared.a
Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/patches/glibc-2.27-guix-prefix.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ when we being using newer versions of glibc.
CFLAGS-.o = $(filter %frame-pointer,$(+cflags)) $(pie-default)
+
+# Map Guix store paths to /usr
+CFLAGS-.o += `find /gnu/store -maxdepth 1 -mindepth 1 -type d -exec echo -n " -fdebug-prefix-map={}=/usr" \;`
+CFLAGS-.o += `find /gnu/store -maxdepth 1 -mindepth 1 -type d -exec echo -n " -ffile-prefix-map={}=/usr" \;`
+
libtype.o := lib%.a
object-suffixes += .o
Expand Down
3 changes: 1 addition & 2 deletions contrib/message-capture/message-capture-parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def to_jsonable(obj: Any) -> Any:
val = getattr(obj, slot, None)
if slot in HASH_INTS and isinstance(val, int):
ret[slot] = ser_uint256(val).hex()
elif slot in HASH_INT_VECTORS:
assert all(isinstance(a, int) for a in val)
elif slot in HASH_INT_VECTORS and all(isinstance(a, int) for a in val):
ret[slot] = [ser_uint256(a).hex() for a in val]
else:
ret[slot] = to_jsonable(val)
Expand Down
99 changes: 86 additions & 13 deletions contrib/seeds/nodes_test.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,89 @@
# List of fixed seed nodes for testnet

# Onion nodes
35k2va6vyw4oo5ly2quvcszgdqr56kcnfgcqpnpcffut4jn3mhhwgbid.onion:18333
blo2esfvk2rr7sr4jspmu3vt2vpgr5rigflsj645fnku7v4qmljurtid.onion:18333
fuckcswupr5rmlvx2kqqrrosxvjyong4hatmuvxsvtcwe4dsh5rus7qd.onion:18333
gblylyacjlitd2ywdmo2qqylwtdky7kgeqfvlhiw4zdag4x62tx54hyd.onion:18333
gzwpduv33l7yze3bcdzj3inebiyjwddjnwvnjhh5wvnv4me76mjt2kad.onion:18333
h3rphzofxzq52tb63mg5f6kc4my3fkcrgh3m5qryeatts43iljbawiid.onion:18333
kf4qlhek34b3kgyxyodlmvgm4bxfrjsbjtgayyaiuyhr2eoyfgtm3bad.onion:18333
# Onion nodes, last verified 2022-08 for minimal torv3 bootstrap support
24j74ahq6ed4wmfrghdwroyfzimlkhnrb7zh4zw3vl2allzxbjrhaqid.onion:18333
2fy74te65gm3c3gv3u5mhwdudvbdfh6k5fdz4gduimrltjjrxftbxrqd.onion:18333
2lsncqdflwk272dhydrxf7ikfy23ppnmm54dnynyxiym6lqf3wowrmqd.onion:18333
33o6qaidta7s2pmltet6vynd337vamgcifhh44rehwwxqpflcjt2njid.onion:18333
3oo6bsc5mvf6a6ypmoaikilta6ka7mbdhdwhrnqhuhjlbaxyedvfvaqd.onion:18333
3pe3fyklipy4sppkkgnhc22kcxtt57uler5kv72t676bbrwmcseo5qad.onion:18333
4u4mcz2sfvxs7pwcwncswgmmcdzqtzjx7ztfo332jv4pqucb22ikdhad.onion:18333
5v3i2kfqiqwp75gznjoptss7qgrcgseceqxpzpqkd34qeqzrg726i7id.onion:18333
5zlrxk6q24t4vz5k4ie7gtuasdjavhoelhinzimxbfhc77u7vafipsid.onion:18333
67s3af64ehw7xnxv422axm7tns4d6kutrftc6bjq375n74q3kj4pp7ad.onion:18333
6a4ony53julvnufo632ktgmwvhupz63wbdwx7n7qudjy32qyq6gm3bqd.onion:18333
6ftyg3nhc6tn2hyzls6zfdsfbroczhkxtdqumqb5q4yafhy5rdpapbid.onion:18333
7554uw5djruh34j5ddx3iprzgqgzypcjtptwoldymfbgoywqcw2wiwyd.onion:18333
766lozlabxaqjpbqsvt6sn3c65n6gkwwhoxyvggj7nfwnmw4cpaoccad.onion:18333
7blv5abnytdf47yvbhxmykprmvjryqob65i2jmdwq3rrajcn2iiysbqd.onion:18333
7v2ja4igx4v5y2jr6jrr6gaxohjhlzhvgwe4avlraxchozf7ea3kruqd.onion:18333
7zgbmtzxow2oevd5aaqtsormw7ujv4zprl3oi2355immhq4gk7cyw5ad.onion:18333
adstabjz7ec2y3jt4w2dvummowzv7g6m2f3kajeejffuaz7ojwj6epqd.onion:18333
aesy6tfufadkut6flu2bsqgnw2422ur2ynjalguxlzuzuktg3zehttqd.onion:18333
alxo32b5edi3bn2e224qrgytgxxpic4knyipvpdvctfsrvcaiq5lgeyd.onion:18333
aoeart34umoonvd2kbqr3bc4sweu6a4msh2gp4skyqvei3shzcxbgmyd.onion:18333
aprzvj7hgctsde4mkj3ewq35gvykspjvkqiygg7bpnw5tkvse2n7rhid.onion:18333
awpk6z3xghx6ozouhodcydaqtr6uzzbnw4creuix7mkupxoxlmhhspad.onion:18333
ayynqazucyh2jd5rehcfggmhunqpdwzlbhzbqgy6lj4ctz2ocj7chpid.onion:18333
b2ika53aqckv4gs7wmog3byrea2vfzm5p7ye33digcsmvvnpbyqmzoyd.onion:18333
be7zx3hh6dlahorlvsrrgqm4oahfrgqm2tbwnbd4u53ntu5f765n6hyd.onion:18333
bluk62wj24bsvdwh47muo54hhwsatkftiqxevt5kba7hstjoex6ueeyd.onion:18333
bubm6fiopfzkxqrfx6vqpioe5ahlhyubz57ogsqqy4ha5pnngiqlh6id.onion:18333
d3czabzjj57lgrsr5gawkjd7v3gznrqa7zyizqmk4lryascavmipnyad.onion:18333
ddj4cuvb32ve5chtp6jattcdnnmxmpoofjthzi7thgxxht7yqoetj3yd.onion:18333
dqhhlssfwmh3g6zhwxpcfbw64xz5rfikcglinbhoxv5ajv4qzicjyeid.onion:18333
drthcyb4x4rdfekw5g7xjogxi7aqoluilgulbgwvsme3nw3oibvchbad.onion:18333
dwb47cmqa2tjpmvjaear7gdcars2lez6niefhi4qf22qehtyta6577qd.onion:18333
e7tkrf54ng3q5vcn5gn77zwjwm74lkfav4mwdux3pvon6yvqg3tf46qd.onion:18333
etuymy47s3quepvdaoo72i5e5mc7uovrzu5m4jf5q6mwlwizoxy4xgid.onion:18333
fbimesnyhzubbzqc3uaufzkbyfmnkxvypoxaveaub7rzpzh2foxrn2yd.onion:18333
fzbrwmgwmko7quelrhfuskt3ijabac76zx7g52dfrevmhdkj6ivh7qyd.onion:18333
gy6nih4pmp5esyvvnhlj6qvk7zkbjuoswkxffyiip3dbkvsfxwz5zcqd.onion:18333
ha62ziqzqdogd75zg7lfh4fqrg3bim3cpqzyupo43w5pw4fen6nr2pyd.onion:18333
hacjjgj2mbqqrthzimmi6anvin7dljjhfl3ik6ebg3w3nmgsvr3ymmqd.onion:18333
hbkp5xwpqo4qm75kpglfrclyiuuvdgv7mtiqfys7oqks4dmpqgpeoeid.onion:18333
hqgoy62hoqjmz37brdfvoeov3cix5fixbqjoert4ydr6herg5oc3iwyd.onion:18333
hvbmmzvqrpgps2x5u4ip4ksf3e5m2fneac754gtnhjn2rsevni6cz3ad.onion:18333
hw3vzp32w4h6giplue6ix445oi6wt7gmeksrznb7tdfwhkgit7gnbbad.onion:18333
iddr66ewkhenivapgianudjkwqcp6dxtssg7ixrdot5az6uh7m5tmjqd.onion:18333
imya36iexiiiqrkwuxxcehnv4kg5shtirwd2vg4cnjy6lfjlph3fusqd.onion:18333
iuhhuocns7entrzlxsxktyz2ibs7hqgiggv6sauzqkzka6laslwz7oqd.onion:18333
ji5wmshokuc63eiulzlwj2zdvnligvrwfvvc76bice3tu43wfzvpmkyd.onion:18333
jjfuyj7krgzkmpxvn3b2j2hwlzkmze3ezy3ifwk7dnswwawgmzqhjrqd.onion:18333
jn2p4sgfphkxpow7kjrubrbqat77kkibzqkvuwhxyalcrazwmcqeaqyd.onion:18333
jrveyz4us6sog6e6czsvr5mvvhgzjgv4idbe4idrolmqeudvt5a2dgid.onion:18333
jsc4frvvnl2d3bhzyofsc72xpztgm23nl4fnb4dwkzsxr6fhij2q5iyd.onion:18333
klymxdvje7kccv3tznabo3udopsftkmjemkbi2urqxjm4hefaudejjyd.onion:18333
kwjxlauwjtecjfsiwopbl5pvn5n6z5rz76uk6osmlurd3uyuymcw7aid.onion:18333
lc7upz2srw2yhpcvwg4afy64ylcoo6mfwlttqj5ovuglqnhnohpi5iqd.onion:18333
lf3mpxfyjuovcqdvinl52pvdmmda6xqyfeiarlfamdjpgy3ouzmmlbyd.onion:18333
mc7k47ndjvvhcgs54wmjzxvate4rtuybbjoryikdssjhcxlx27psbyqd.onion:18333
mrhiniicugfo7mgrwv3wtolk3tptlcw2uq7ih6sq43fa4k4zbilut3yd.onion:18333
uiudyws3qizgmepfoh7wwjmsoxoxut4qrmotjjhrn247xnjopr7sfcid.onion:18333
zc2wvoqcezcrf64trji6jmhtss34a5ds5ntzdhqegzvex3ynrd7nxcad.onion:18333
zd5m3dgdn46naj36pxvvcalfw2paecle6sdxq64ptwxtxjomkywpklqd.onion:18333

mjbg3ggeuelmc7ixty3zjccyo2urg2uyherfqe7ytkm2ejkwlec7h6ad.onion:18333
nkyqozv6kdwi423s7s2mezzguf5bafot2a3hv4ed2dbvtblisdmad4qd.onion:18333
nvvqo4xxiwgb3y246jmcbuuveurfdq2zs3a5y7veqkeqv5jfhang7gyd.onion:18333
o6vfovqxz3oxszfppczpjejwouobztjrgvfojc3emvhan3bkyskzhuad.onion:18333
oaiw2lnhzgp5ry7ivzneuufmh7lfploquu2rjv5rozmlbefedsnxe5qd.onion:18333
oln7ybci53wk4g5n42nipyixvyjxbludsbrfsmhnirb6tk7ovlikd5id.onion:18333
otmfnhc6wrrbf2tpdy6zkisqc3r3urnsuowsnmatoto6yixaocnkseid.onion:18333
ovc6sajbqfcbwv3wrq7ylklu6q6prvisz4jr4lyycn4kgukzjfe4mjad.onion:18333
pm57didyzg5ljuvn5ufr5uun2iencuk3af2gzqc5zvgfh452c3rxtjyd.onion:18333
pmismhpwug34gnqzbutranvx2wjwbshyqj4un2dyzyuvak2eh55psfyd.onion:18333
polarisultijjhaku6z6u7jyboho5epdsg44ttebfaxmgau2z5sqolad.onion:18333
qe2jbe447he6panfvpyqhyntf7346gmuf55bxrmdzggmgwyjsyknhxyd.onion:18333
qz6yd5lsgdajcteoareeptwnipxsezyx5kks6ukpk5tvqinffzunqmyd.onion:18333
rp6pn3b3oesyr2giolbysbjhqeugxntsu7crnkth4y33ok4zvcl7yrqd.onion:18333
ujdchuw3hz5gkbouiv4p6pwbfdn7v4k6gluwvd4wiukqc7y7ow754uad.onion:18333
vctlwaqgmu53eutz2hewuakcipfgtyljsd7czut4dd62xr3rp6fqezad.onion:18333
vf5ur53tzmdtotvkndcgochklnuav7quqjvkc6mctqfvef6wnmn26mid.onion:18333
wnxgjgjgplv5iu4mssyuunycvku4qnqr5t4q6cfdt47k7uwrfifuirad.onion:18333
wpkbkdr7clw7zk3jkwiult6bf422j54u77ml4rgig2xq7icogyrcspid.onion:18333
wzpdt24tdark26eugredddorik3tqwcj5ialtt2yim4ceiuiq7phkyqd.onion:18333
xgapnikkbldoggjh5ewxkyauhuwnvf3xkspxroe3ojvfrk4lswkyx5yd.onion:18333
xkvzdhcirontixbq6pjhru57bf4sgtqylvphk25csfrsy5p5ay3oc3yd.onion:18333
xnipauenw5wnjb2zbx6v6umgvbb3g6xhf5kjo7pnyn5tdzvzaxtzicid.onion:18333
yda7kwpii33j2qpq32ftf6lp22znknswipjwaccvsqj7l337jvfesnid.onion:18333
z3j5foswuhpmtrg3kb56stkzmuoaesvd5jz3eztq46c4cidapglcyuad.onion:18333
zcep44k7unwjm2wxty4ijh2e4fv5zgbrvwlctzyaqnrqhltjfzrtodad.onion:18333
zmvizz7fd5hdue6wt3lwqumd6qwt4ijymmmotfzh75curq3mzjm53hyd.onion:18333
zoaa3x7quyuijggii5zl4uyeioodudsgtr2uyv2qtdsslac5ukiwlxid.onion:18333
zovauxlorl5eswumbsoxv2m5y3sm3qlk7657dcpr2uld7xf35en46sqd.onion:18333
3 changes: 2 additions & 1 deletion depends/packages/libevent.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ endef

define $(package)_postprocess_cmds
rm lib/*.la && \
rm include/ev*.h
rm include/ev*.h && \
rm include/event2/*_compat.h
endef
1 change: 1 addition & 0 deletions depends/packages/qt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ $(package)_config_opts += -no-linuxfb
$(package)_config_opts += -no-libjpeg
$(package)_config_opts += -no-libproxy
$(package)_config_opts += -no-libudev
$(package)_config_opts += -no-mimetype-database
$(package)_config_opts += -no-mtdev
$(package)_config_opts += -no-openssl
$(package)_config_opts += -no-openvg
Expand Down
1 change: 0 additions & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ The Bitcoin repo's [root README](/README.md) contains relevant information on th

- [Developer Notes](developer-notes.md)
- [Productivity Notes](productivity.md)
- [Release Notes](release-notes.md)
- [Release Process](release-process.md)
- [Source Code Documentation (External Link)](https://doxygen.bitcoincore.org/)
- [Translation Process](translation_process.md)
Expand Down
8 changes: 0 additions & 8 deletions doc/build-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ Skip if you don't intend to use the GUI.
brew install qt@5
```

Ensure that the `qt@5` package is installed, not the `qt` package.
If 'qt' is installed, the build process will fail.
if installed, remove the `qt` package with the following command:

``` bash
brew uninstall qt
```

Note: Building with Qt binaries downloaded from the Qt website is not officially supported.
See the notes in [#7714](https://github.com/bitcoin/bitcoin/issues/7714).

Expand Down
4 changes: 2 additions & 2 deletions doc/design/assumeutxo.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ be of use.

Chainstate within the system goes through a number of phases when UTXO snapshots are
used, as managed by `ChainstateManager`. At various points there can be multiple
`CChainState` objects in existence to facilitate both maintaining the network tip and
`Chainstate` objects in existence to facilitate both maintaining the network tip and
performing historical validation of the assumed-valid chain.

It is worth noting that though there are multiple separate chainstates, those
Expand All @@ -53,7 +53,7 @@ data.

### "Normal" operation via initial block download

`ChainstateManager` manages a single CChainState object, for which
`ChainstateManager` manages a single Chainstate object, for which
`m_snapshot_blockhash` is null. This chainstate is (maybe obviously)
considered active. This is the "traditional" mode of operation for bitcoind.

Expand Down
Loading