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:24.04"11# Only install BCC tracing packages in CI. Container has to match the host for BCC to work.12if [[ "${INSTALL_BCC_TRACING_TOOLS:-}" == "true" ]]; then13# Required for USDT functional tests to run14BPFCC_PACKAGE="bpfcc-tools linux-headers-$(uname --kernel-release)"15export CI_CONTAINER_CAP="--privileged -v /sys/kernel:/sys/kernel:rw"16else17BPFCC_PACKAGE=""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)19fi21export CONTAINER_NAME=ci_native_asan22export APT_LLVM_V="23"23export PACKAGES="systemtap-sdt-dev clang-${APT_LLVM_V} llvm-${APT_LLVM_V} libclang-rt-${APT_LLVM_V}-dev mold python3-zmq qt6-base-dev qt6-tools-dev qt6-l10n-tools libboost-dev libzmq3-dev libqrencode-dev libsqlite3-dev ${BPFCC_PACKAGE} libcapnp-dev capnproto python3-pip"24export PIP_PACKAGES="--break-system-packages pycapnp"25export NO_DEPENDS=126export GOAL="install"27export CI_LIMIT_STACK_SIZE=128export BITCOIN_CONFIG="\29--preset=dev-mode \30-DSANITIZERS=address,float-divide-by-zero,integer,undefined \31-DCMAKE_C_COMPILER=clang \32-DCMAKE_CXX_COMPILER=clang++ \33-DCMAKE_C_FLAGS='-ftrivial-auto-var-init=pattern' \34-DCMAKE_CXX_FLAGS='-ftrivial-auto-var-init=pattern' \35-DCMAKE_EXE_LINKER_FLAGS='-fuse-ld=mold' \36-DAPPEND_CXXFLAGS='-std=c++23' \37-DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' \38"
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.