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# This valgrind suppressions file includes known Valgrind warnings in our2# dependencies that cannot be fixed in-tree.3#4# Example use:5# $ valgrind --suppressions=test/sanitizer_suppressions/valgrind.supp build/bin/test_bitcoin6# $ valgrind --suppressions=test/sanitizer_suppressions/valgrind.supp --leak-check=full \7# --show-leak-kinds=all build/bin/test_bitcoin8#9# To create suppressions for found issues, use the --gen-suppressions=all option:10# $ valgrind --suppressions=test/sanitizer_suppressions/valgrind.supp --leak-check=full \11# --show-leak-kinds=all --gen-suppressions=all --show-reachable=yes \12# --error-limit=no build/bin/test_bitcoin13#14# Note that suppressions may depend on OS and/or library versions.15# Tested on Ubuntu 26.04 system libs,16# * using clang (only x86_64, see https://bugs.kde.org/show_bug.cgi?id=485276),17# * and GCC (only -O1, see https://bugs.kde.org/show_bug.cgi?id=472329),18# without gui (because it only passes with a DEBUG=1 depends build).19{20Suppress leaks on shutdown21Memcheck:Leak22...23fun:_Z8ShutdownR11NodeContext24}25{26Suppress leveldb leak27Memcheck:Leak28match-leak-kinds: reachable29fun:_Znwm30...31fun:_ZN7leveldb6DBImpl14BackgroundCallEv32}33{34Suppress leveldb leak35Memcheck:Leak36fun:_Znwm37...38fun:GetCoin39}40{41Suppress LogInstance still reachable memory warning42Memcheck:Leak43match-leak-kinds: reachable44fun:_Znwm45fun:_Z11LogInstancev46}47{48Suppress BCLog::Logger::StartLogging() still reachable memory warning49Memcheck:Leak50match-leak-kinds: reachable51fun:malloc52...53fun:_ZN5BCLog6Logger12StartLoggingEv54}
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.