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) 2023-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" # To build codegen, CMake must be 3.31 or newer.10export CONTAINER_NAME=ci_native_iwyu11export IWYU_LLVM_V="23"12export APT_LLVM_V="${IWYU_LLVM_V}"13export PACKAGES="clang-${IWYU_LLVM_V} clang-format-${IWYU_LLVM_V} libclang-${IWYU_LLVM_V}-dev llvm-${IWYU_LLVM_V}-dev jq libboost-dev libzmq3-dev systemtap-sdt-dev qt6-base-dev qt6-tools-dev qt6-l10n-tools libqrencode-dev libsqlite3-dev libcapnp-dev capnproto"14export NO_DEPENDS=115export RUN_UNIT_TESTS=false16export RUN_FUNCTIONAL_TESTS=false17export RUN_FUZZ_TESTS=false18export RUN_CHECK_DEPS=false19export RUN_IWYU=true20# Adding non-codegen targets to the build goal is a workaround21# for https://gitlab.kitware.com/cmake/cmake/-/work_items/2786222# and https://github.com/bitcoin-core/libmultiprocess/issues/284.23export GOAL="codegen bitcoin_node_raw_data_headers mp_headers mptest_headers bitcoin_ipc_headers bitcoin_ipc_test_headers bitcoin_ipc_fuzz_headers"24export BITCOIN_CONFIG="\25--preset dev-mode -DBUILD_GUI=OFF \26-DCMAKE_C_COMPILER=clang-${IWYU_LLVM_V} \27-DCMAKE_CXX_COMPILER=clang++-${IWYU_LLVM_V} \28"
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.