Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1#!/usr/bin/env bash2#3# Copyright (c) 2019-present The Bitcoin Core developers4# Distributed under the MIT software license, see the accompanying5# file COPYING or http://www.opensource.org/licenses/mit-license.php.7export LC_ALL=C.UTF-89export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:26.04"10export CONTAINER_NAME=ci_native_fuzz11export APT_LLVM_V="23"12export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} libclang-rt-${APT_LLVM_V}-dev libboost-dev libsqlite3-dev libcapnp-dev capnproto"13export NO_DEPENDS=114export RUN_UNIT_TESTS=false15export RUN_FUNCTIONAL_TESTS=false16export RUN_FUZZ_TESTS=true17export GOAL="all"18export CI_CONTAINER_CAP="--cap-add SYS_PTRACE" # If run with (ASan + LSan), the container needs access to ptrace (https://github.com/google/sanitizers/issues/764)19export BITCOIN_CONFIG="\20-DBUILD_FOR_FUZZING=ON \21-DSANITIZERS=fuzzer,address,undefined,float-divide-by-zero,integer \22-DCMAKE_C_COMPILER=clang \23-DCMAKE_CXX_COMPILER=clang++ \24-DCMAKE_C_FLAGS='-ftrivial-auto-var-init=pattern' \25-DCMAKE_CXX_FLAGS='-ftrivial-auto-var-init=pattern' \26"
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.