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.
251-Xiwyu --mapping_file="${BASE_ROOT_DIR}/contrib/devtools/iwyu/bitcoin.core.imp" \252-Xiwyu --mapping_file="${BASE_BUILD_DIR}/clang.intrinsics.imp" \253-Xiwyu --max_line_length=160 \254-Xiwyu --check_also='*/common/types\.h' \255-Xiwyu --check_also='*/consensus/*\.h' \256-Xiwyu --check_also='*/interfaces/*\.h' \257-Xiwyu --check_also='*/primitives/transaction_identifier\.h' \258-Xiwyu --check_also='*/rpc/protocol\.h' \2592>&1 || true260} | tee /tmp/iwyu_ci.out261python3 "/include-what-you-use/fix_includes.py" --nosafe_headers < /tmp/iwyu_ci.out262python3 -c '263import runpy264import subprocess266subtrees = runpy.run_path("test/lint/lint_ignore_dirs.py")["SHARED_EXCLUDED_SUBTREES"]267subprocess.run(["git", "restore", "--", *subtrees], check=True)268'269git diff -U1 | ./contrib/devtools/clang-format-diff.py -binary="clang-format-${IWYU_LLVM_V}" -p1 -i -v270}272run_iwyu "compile_commands_iwyu_errors.json"273if ! ( git --no-pager diff --exit-code ); then274echo "^^^ ⚠️ Failure generated from IWYU"275false276fi278run_iwyu "compile_commands_iwyu_warnings.json"279git --no-pager diff280fi282if [ "$RUN_FUZZ_TESTS" = "true" ]; then283# shellcheck disable=SC2086284LD_LIBRARY_PATH="${DEPENDS_DIR}/${HOST}/lib" \285"${BASE_BUILD_DIR}/test/fuzz/test_runner.py" \286${FUZZ_TESTS_CONFIG} \287"${MAKEJOBS}" \288-l DEBUG \289"${DIR_FUZZ_IN}" \290--empty_min_time=60291fi
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.