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#!/bin/sh3set -e4set -x6export LC_ALL=C8env >> test_env.log10$CXX -v || true11valgrind --version || true13./autogen.sh15FIELDS=16if [ -n "$ENABLE_FIELDS" ]; then17FIELDS="--enable-fields=$ENABLE_FIELDS"18fi19./configure --host="$HOST" --enable-benchmark="$BENCH" $FIELDS21# We have set "-j<n>" in MAKEFLAGS.22make24# Print information about binaries so that we can see that the architecture is correct25file test* || true26file bench* || true27file .libs/* || true29if [ -n "$BUILD" ]30then31make "$BUILD"32fi34if [ -n "$EXEC_CMD" ]; then35$EXEC_CMD "./test$EXEC_EXT" $TESTRUNS36$EXEC_CMD "./test-verify$EXEC_EXT" $TESTRUNS37fi39if [ "$BENCH" = "yes" ]; then40$EXEC_CMD "./bench$EXEC_EXT"41fi
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.