Skip to content

Prepare 23.3.0rc4 #1419

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

Merged
merged 64 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
6db8b9c
Check in PR mergeing script by Andrew Poelstra
apoelstra Apr 21, 2022
f133c33
Make some parameters generic (branches, parallel jobs)
gwillen Jun 27, 2022
91db137
Refactoring, improved help text, general improvements.
gwillen Mar 2, 2023
3cc3cac
Add automatic setup to merge-prs script
gwillen Mar 20, 2023
443a8c8
More improvements to merge-prs script
gwillen Mar 22, 2023
3516afc
fix typo in test/bitcoin_functional/functional/README.md
GoodDaisy Jan 12, 2024
97d7bcc
fix typo in test/functional/feature_blocksign.py
GoodDaisy Jan 12, 2024
662e118
fix typo in test/functional/feature_tapscript_opcodes.py
GoodDaisy Jan 12, 2024
248b93d
decodepsbt: add asset/assetcommitment to input.witness_utxo
delta1 Nov 1, 2024
86d740b
fuzz: fix crash on null pointer in witness_program target
apoelstra Feb 8, 2025
f5ed4e4
chain: make some integer conversions explicit
apoelstra Feb 10, 2025
bd4ae1b
rpc: fix crash in getcompactsketch
apoelstra Feb 11, 2025
3e46754
Replace struct update_fee_delta with lambda
Mar 21, 2022
371718b
Use CAmount for fee delta and modified fee
Mar 21, 2022
b90ef38
ubsan: add suppression for simplicity
apoelstra Feb 11, 2025
363c510
fuzz: change int to unsigned in witness_program
apoelstra Feb 11, 2025
22089ac
Merge pull request #1372 from delta1/issues-1371
delta1 Feb 11, 2025
99c2ee7
Merge pull request #1399 from apoelstra/2025-02--fuzz-fixes
delta1 Feb 11, 2025
6043ab4
refactor: Replace feeDelta by m_modified_fee
Nov 2, 2021
56eec70
Fix signed integer overflow in prioritisetransaction RPC
Nov 2, 2021
8a1500c
build: Fix Boost.Process detection on macOS arm64
hebasto Mar 10, 2022
f8b1bb7
build: Fix Boost.Process test for Boost 1.78
hebasto Feb 22, 2022
f64aa1e
Add missing includes to fix gcc-13 compile error
Jan 19, 2023
8251fc8
23.x Add missing includes to fix gcc-13 compile error
fanquake Jan 20, 2023
b703da1
Fix build with gcc-15
psgreco Feb 11, 2025
276e405
CI: Cirrus: Avoid using -j3 in some jobs when elements has -j3 as the…
psgreco Feb 11, 2025
04b114c
CI: Cirrus: use -j2 in TSan to stabilize
psgreco Feb 11, 2025
d7efd31
Merge pull request #1400 from psgreco/master-fixbuild
delta1 Feb 11, 2025
d020546
Merge pull request #1401 from apoelstra/2025-02--fuzz-fixes-2
delta1 Feb 11, 2025
52642b1
simplicity: add fuzz target
delta1 Apr 20, 2024
a87e4cf
simplicity: rewrite fuzz target
apoelstra Dec 2, 2024
eea423e
fuzz: add second simplicity fuzz test
apoelstra Feb 2, 2025
3fe5d12
fuzz: simplicity: use zero CMR for invalid programs
apoelstra Feb 6, 2025
bd852ba
ci: add more ubsan suppressions
apoelstra Feb 11, 2025
2c9c6cd
test: add discountvsize test vectors
delta1 Jun 19, 2024
a259bc3
Merge pull request #1341 from delta1/discount-test-vectors
delta1 Feb 12, 2025
e41b225
Merge pull request #1384 from apoelstra/2024-12--simple-fuzz
delta1 Feb 12, 2025
9fc3797
Squashed 'src/simplicity/' changes from c2d4c3d07b..4858b89526
roconnor-blockstream Feb 12, 2025
b475a32
Merge commit '9fc3797c7e214edf4236e9017dfb8702c2344d07' into simplicity
roconnor-blockstream Feb 12, 2025
e301127
Win64: set the right TargetName in native builds
psgreco Feb 3, 2025
5bff237
CI: Win64 native: do not fail on functional tests
psgreco Feb 12, 2025
077ae2d
Merge pull request #1408 from psgreco/master-fix-win64
delta1 Feb 13, 2025
5cb3ace
Merge pull request #1310 from GoodDaisy/master
delta1 Feb 13, 2025
8a948be
Merge pull request #1210 from gwillen/feature-andrew-merge-script
delta1 Feb 13, 2025
6e6c6d0
ci, refactor: Add `MACOS_NATIVE_TASK_TEMPLATE`
hebasto May 17, 2022
d789538
ci: Improve naming related to "macOS 12 native x86_64" task
hebasto May 17, 2022
9321875
ci: Make `getopt` path architecture agnostic
hebasto Oct 25, 2022
cde308e
ci: Use `macos-ventura-xcode:14.1` image for "macOS native" task
hebasto Oct 25, 2022
a121cf0
Manually pick acc06bc91f80ddf4e015dcdf0b984bbdbfcb5ca3 from bitcoin
psgreco Jan 27, 2025
49f151f
Apply acc06bc91f80ddf4e015dcdf0b984bbdbfcb5ca3 fix also to pip upgrade
psgreco Feb 8, 2025
2f1b86e
lint: fix shellcheck, spelling, and locale
delta1 Feb 13, 2025
b8cf7b7
Merge pull request #1412 from psgreco/master-fix-macos
delta1 Feb 13, 2025
24b43ea
Merge pull request #1413 from delta1/lint-merge-prs
psgreco Feb 13, 2025
0397d22
Merge pull request #1409 from ElementsProject/simplicity
psgreco Feb 13, 2025
69c2415
fuzz: update simplicity_tx target to hit simplicity CMR error
apoelstra Feb 13, 2025
a2d24ef
fuzz: remove dead code from simplicity_tx.cpp
apoelstra Feb 13, 2025
e343610
Merge pull request #1414 from apoelstra/2025-02--fuzz-update
delta1 Feb 14, 2025
f7826f9
psbt: avoid assigning non-boolean values to bool (ubsan)
apoelstra Feb 14, 2025
0bff9b0
psbt: guard against empty PSBT transaction
apoelstra Feb 14, 2025
7f56623
Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directive
jonatack Apr 1, 2022
c9c21cf
Merge pull request #1416 from apoelstra/2025-02--psbt-fix
delta1 Feb 18, 2025
12c586a
Merge pull request #1417 from psgreco/master-fix-win64native
delta1 Feb 18, 2025
69b18d4
Merge branch 'master' into elem-23.3.0rc4
psgreco Feb 18, 2025
5fb1cea
Bump version to 23.3.0-rc4
psgreco Feb 18, 2025
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
11 changes: 6 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ task:
- python build_msvc\msvc-autogen.py
- msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
unit_tests_script:
- src\test_bitcoin.exe -l test_suite
- src\bench_bitcoin.exe > NUL
- src\test_elements.exe -l test_suite
- src\bench_elements.exe > NUL
- python test\util\test_runner.py
- python test\util\rpcauth-test.py
functional_tests_script:
Expand All @@ -170,7 +170,9 @@ task:
- netsh int ipv4 set dynamicport tcp start=1025 num=64511
- netsh int ipv6 set dynamicport tcp start=1025 num=64511
# Exclude feature_dbcrash for now due to timeout
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude feature_dbcrash
# Exclude also wallet_avoidreuse due to timeout
# Ignore failures for now, need to investigate but we really don't use native win64 builds
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude feature_dbcrash,wallet_avoidreuse || true

task:
name: 'ARM [unit tests, no functional tests] [bullseye]'
Expand Down Expand Up @@ -223,6 +225,7 @@ task:
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"
MAKEJOBS: "-j2" # Avoid excessive memory use due to MSan

task:
name: '[MSan, depends] [focal]'
Expand All @@ -232,7 +235,6 @@ task:
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"
MAKEJOBS: "-j4" # Avoid excessive memory use due to MSan

task:
name: '[ASan + LSan + UBSan + integer, no depends] [jammy]'
Expand All @@ -244,7 +246,6 @@ task:
env:
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
FILE_ENV: "./ci/test/00_setup_env_native_asan.sh"
MAKEJOBS: "-j4" # Avoid excessive memory use

task:
name: '[fuzzer,address,undefined,integer, no depends] [jammy]'
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bench_bitcoin/bench_bitcoin.vcxproj.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ProjectGuid>{1125654E-E1B2-4431-8B5C-62EA9A2FEECB}</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<TargetName>bench_elements</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bitcoin-cli/bitcoin-cli.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ProjectGuid>{0B2D7431-F876-4A58-87BF-F748338CD3BF}</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<TargetName>elements-cli</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bitcoin-qt/bitcoin-qt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<Import Project="..\common.qt.init.vcxproj" />
<PropertyGroup Label="Globals">
<ProjectGuid>{7E99172D-7FF2-4CB6-B736-AC9B76ED412A}</ProjectGuid>
<TargetName>elements-qt</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bitcoin-tx/bitcoin-tx.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ProjectGuid>{D3022AF6-AD33-4CE3-B358-87CB6A1B29CF}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<TargetName>elements-tx</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bitcoin-util/bitcoin-util.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ProjectGuid>{57A04EC9-542A-4E40-83D0-AC3BE1F36805}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<TargetName>elements-util</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bitcoin-wallet/bitcoin-wallet.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ProjectGuid>{84DE8790-EDE3-4483-81AC-C32F15E861F4}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<TargetName>elements-wallet</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/bitcoind/bitcoind.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ProjectGuid>{D4513DDF-6013-44DC-ADCC-12EAF6D1F038}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<TargetName>elementsd</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/test_bitcoin-qt/test_bitcoin-qt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<Import Project="..\common.qt.init.vcxproj" />
<PropertyGroup Label="Globals">
<ProjectGuid>{51201D5E-D939-4854-AE9D-008F03FF518E}</ProjectGuid>
<TargetName>test_elements-qt</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions build_msvc/test_bitcoin/test_bitcoin.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ProjectGuid>{A56B73DB-D46D-4882-8374-1FE3FFA08F07}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<TargetName>test_elements</TargetName>
<ConfigurationType>Application</ConfigurationType>
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ([2.69])
define(_CLIENT_VERSION_MAJOR, 23)
define(_CLIENT_VERSION_MINOR, 3)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_RC, 3)
define(_CLIENT_VERSION_RC, 4)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2024)
define(_COPYRIGHT_HOLDERS,[The %s developers])
Expand Down
197 changes: 197 additions & 0 deletions contrib/merge-prs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
#!/usr/bin/env bash

export LC_ALL=C
set -eo pipefail

BASE_ORIG=merged-master
BASE="${BASE_ORIG}"
BITCOIN_UPSTREAM_REMOTE=bitcoin
BITCOIN_UPSTREAM="${BITCOIN_UPSTREAM_REMOTE}/master"
# ELEMENTS_UPSTREAM_REMOTE=upstream
# ELEMENTS_UPSTREAM="${ELEMENTS_UPSTREAM_REMOTE}/master"

# Replace this with the location where we should put the fuzz test corpus
BITCOIN_QA_ASSETS="${HOME}/.tmp/bitcoin/qa-assets"
FUZZ_CORPUS="${BITCOIN_QA_ASSETS}/fuzz_seed_corpus/"
mkdir -p "$(dirname "${BITCOIN_QA_ASSETS}")"

# BEWARE: On some systems /tmp/ gets periodically cleaned, which may cause
# random files from this directory to disappear based on timestamp, and
# make git very confused
WORKTREE="${HOME}/.tmp/elements-merge-worktree"
mkdir -p "${HOME}/.tmp"

# These should be tuned to your machine; below values are for an 8-core
# 16-thread macbook pro
PARALLEL_BUILD=4 # passed to make -j
PARALLEL_TEST=12 # passed to test_runner.py --jobs
PARALLEL_FUZZ=8 # passed to test_runner.py -j when fuzzing

SKIP_MERGE=0
DO_BUILD=1
KEEP_GOING=1

if [[ "$1" == "setup" ]]; then
echo "Setting up..."
echo
git config remote.upstream.url >/dev/null || remote add upstream "https://github.com/ElementsProject/elements.git"
git config remote.bitcoin.url >/dev/null || git remote add bitcoin "https://github.com/bitcoin/bitcoin.git"
if git worktree list --porcelain | grep --silent prunable; then
echo "You have stale git worktrees, please either fix them or run 'git worktree prune'."
exit 1
fi
git worktree list --porcelain | grep --silent "${WORKTREE}" || git worktree add "${WORKTREE}" --force --no-checkout --detach
echo
echo "Fetching all remotes..."
echo
git fetch --all
echo
#echo "Cloning fuzz test corpus..."
#echo
#if [[ ! -d "${BITCOIN_QA_ASSETS}" ]]; then
# cd "$(dirname ${BITCOIN_QA_ASSETS})" && git clone https://github.com/bitcoin-core/qa-assets.git
#fi
#echo
echo "Done! Remember to also check out merged-master, and push it back up when finished."
exit 0
elif [[ "$1" == "continue" ]]; then
SKIP_MERGE=1
elif [[ "$1" == "go" ]]; then
true # this is the default, do nothing
elif [[ "$1" == "list-only" ]]; then
DO_BUILD=0
elif [[ "$1" == "step" ]]; then
KEEP_GOING=0
elif [[ "$1" == "step-continue" ]]; then
SKIP_MERGE=1
KEEP_GOING=0
else
echo "Usage: $0 <setup|list-only|go|continue|step|step-continue>"
echo " setup will configure your repository for the first run of this script"
echo " list-only will simply list all the PRs yet to be done"
echo " go will try to merge every PR, building/testing each"
echo " continue assumes the first git-merge has already happened, and starts with building"
echo " step will try to merge/build/test a single PR"
echo " step-continue assumes the first git-merge has already happened, and will try to build/test a single PR"
echo
echo "Prior to use, please create a git worktree for the elements repo at:"
echo " $WORKTREE"
echo "Make sure it has an elements remote named '$ELEMENTS_UPSTREAM_REMOTE' and a bitcoin remote named '$BITCOIN_UPSTREAM_REMOTE'."
echo "Make sure that your local branch '$BASE_ORIG' contains the integration"
echo "branch you want to start from, and remember to push it up somewhere"
echo "when you're done!"
echo
echo "You can also edit PARALLEL_{BUILD,TEST,FUZZ} in the script to tune for your machine."
echo "And you can edit VERBOSE in the script to watch the build process."
echo "(By default only the output of failing steps will be shown.)"
exit 1
fi

if [[ "$1" != "list-only" ]]; then
if [[ -f "$WORKTREE/.git/MERGE_MSG" ]]; then
echo "It looks like you're in the middle of a merge. Finish fixing"
echo "things then run 'git commit' before running this program."
exit 1
fi
fi

if [[ "$SKIP_MERGE" == "1" ]]; then
# Rewind so the first loop iteration is the last one that we already merged.
BASE="$BASE^1"
fi

## Get full list of merges
# for elements
# COMMITS=$(git -C "$WORKTREE" log "$ELEMENTS_UPSTREAM" --not $BASE --merges --first-parent --pretty='format:%ct %cI %h Elements %s')
# for bitcoin
COMMITS=$(git -C "$WORKTREE" log "$BITCOIN_UPSTREAM" --not $BASE --merges --first-parent --pretty='format:%ct %cI %h Bitcoin %s')

cd "$WORKTREE"

VERBOSE=1

quietly () {
if [[ "$VERBOSE" == "1" ]]; then
"$@"
else
chronic "$@"
fi
}

## Sort by unix timestamp and iterate over them
#echo "$ELT_COMMITS" "$BTC_COMMITS" | sort -n -k1 | while read line
echo "$COMMITS" | tac | while read -r line
do
echo
echo "=-=-=-=-=-=-=-=-=-=-="
echo

echo -e "$line"
## Extract data and output what we're doing
DATE=$(echo "$line" | cut -d ' ' -f 2)
HASH=$(echo "$line" | cut -d ' ' -f 3)
CHAIN=$(echo "$line" | cut -d ' ' -f 4)
PR_ID=$(echo "$line" | cut -d ' ' -f 6 | tr -d :)
PR_ID_ALT=$(echo "$line" | cut -d ' ' -f 8 | tr -d :)

if [[ "$PR_ID" == "pull" ]]; then
PR_ID="${PR_ID_ALT}"
fi
echo -e "$CHAIN PR \e[37m$PR_ID \e[33m$HASH\e[0m on \e[32m$DATE\e[0m "

## Do it
if [[ "$1" == "list-only" ]]; then
continue
fi

if [[ "$SKIP_MERGE" == "1" ]]; then
echo -e "Continuing build of \e[37m$PR_ID\e[0m at $(date)"
else
echo -e "Start merge/build of \e[37m$PR_ID\e[0m at $(date)"
git -C "$WORKTREE" merge "$HASH" --no-ff -m "Merge $HASH into merged_master ($CHAIN PR $PR_ID)"
fi

if [[ "$DO_BUILD" == "1" ]]; then
# Clean up
echo "Cleaning up"
# NB: this will fail the first time because there's not yet a makefile
quietly make distclean || true
quietly git -C "$WORKTREE" clean -xf
echo "autogen & configure"
quietly ./autogen.sh
quietly ./configure --with-incompatible-bdb
# The following is an expansion of `make check` that skips the libsecp
# tests and also the benchmarks (though it does build them!)
echo "Building"
quietly make -j"$PARALLEL_BUILD" -k
# quietly make -j1 check
echo "Linting"
quietly ./ci/lint/06_script.sh
echo "Testing"
quietly ./src/qt/test/test_elements-qt
quietly ./src/test/test_bitcoin
quietly ./src/bench/bench_bitcoin
quietly ./test/util/bitcoin-util-test.py
quietly ./test/util/rpcauth-test.py
quietly make -C src/univalue/ check
echo "Functional testing"
quietly ./test/functional/test_runner.py --jobs="$PARALLEL_TEST"
echo "Cleaning for fuzz"
quietly make distclean || true
quietly git -C "$WORKTREE" clean -xf
echo "Building for fuzz"
quietly ./autogen.sh
# TODO turn on `,integer` after this rebase
quietly ./configure --with-incompatible-bdb --enable-fuzz --with-sanitizers=address,fuzzer,undefined CC=clang CXX=clang++
quietly make -j"$PARALLEL_BUILD" -k
echo "Fuzzing"
quietly ./test/fuzz/test_runner.py -j"$PARALLEL_FUZZ" "${FUZZ_CORPUS}"
fi

if [[ "$KEEP_GOING" == "0" ]]; then
exit 1
fi

# bummer1.sh
SKIP_MERGE=0
done
4 changes: 4 additions & 0 deletions src/Makefile.test.include
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ endif
if ENABLE_FUZZ_BINARY
test_fuzz_fuzz_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
test_fuzz_fuzz_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
test_fuzz_fuzz_CFLAGS = $(AM_CFLAGS) $(PIE_FLAGS)
test_fuzz_fuzz_LDADD = $(FUZZ_SUITE_LD_COMMON)
test_fuzz_fuzz_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS) $(RUNTIME_LDFLAGS)
test_fuzz_fuzz_SOURCES = \
Expand Down Expand Up @@ -312,6 +313,9 @@ test_fuzz_fuzz_SOURCES = \
test/fuzz/secp256k1_ecdsa_signature_parse_der_lax.cpp \
test/fuzz/signature_checker.cpp \
test/fuzz/signet.cpp \
test/fuzz/simplicity_compute_amr.c \
test/fuzz/simplicity.cpp \
test/fuzz/simplicity_tx.cpp \
test/fuzz/socks5.cpp \
test/fuzz/span.cpp \
test/fuzz/spanparsing.cpp \
Expand Down
2 changes: 1 addition & 1 deletion src/chain.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ class CDiskBlockIndex : public CBlockIndex
bool RemoveDynaFedMaskOnSerialize(bool for_read) {
if (for_read) {
bool is_dyna = nVersion < 0;
nVersion = ~CBlockHeader::DYNAFED_HF_MASK & nVersion;
nVersion = (int32_t) (~CBlockHeader::DYNAFED_HF_MASK & (uint32_t)nVersion);
return is_dyna;
} else {
return is_dynafed_block();
Expand Down
1 change: 1 addition & 0 deletions src/chainparamsbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#ifndef BITCOIN_CHAINPARAMSBASE_H
#define BITCOIN_CHAINPARAMSBASE_H

#include <cstdint>
#include <memory>
#include <string>

Expand Down
2 changes: 1 addition & 1 deletion src/node/miner.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct CTxMemPoolModifiedEntry {
nSigOpCostWithAncestors = entry->GetSigOpCostWithAncestors();
}

int64_t GetModifiedFee() const { return iter->GetModifiedFee(); }
CAmount GetModifiedFee() const { return iter->GetModifiedFee(); }
uint64_t GetSizeWithAncestors() const { return nSizeWithAncestors; }
uint64_t GetDiscountSizeWithAncestors() const { return discountSizeWithAncestors; }
CAmount GetModFeesWithAncestors() const { return nModFeesWithAncestors; }
Expand Down
3 changes: 2 additions & 1 deletion src/node/ui_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
#ifndef BITCOIN_NODE_UI_INTERFACE_H
#define BITCOIN_NODE_UI_INTERFACE_H

#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <vector>

class CBlockIndex;
enum class SynchronizationState;
Expand Down
Loading