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# Copyright (c) 2023-present The Bitcoin Core developers2# Distributed under the MIT software license, see the accompanying3# file COPYING or https://opensource.org/license/mit/.5add_executable(bench_bitcoin6bench_bitcoin.cpp7bench.cpp8nanobench.cpp9# Benchmarks:10addrman.cpp11base58.cpp12bech32.cpp13bip324_ecdh.cpp14block_assemble.cpp15blockencodings.cpp16ccoins_caching.cpp17chacha20.cpp18checkblock.cpp19checkblockindex.cpp20checkqueue.cpp21cluster_linearize.cpp22connectblock.cpp23crypto_hash.cpp24descriptors.cpp25disconnected_transactions.cpp26duplicate_inputs.cpp27ellswift.cpp28examples.cpp29gcs_filter.cpp30hashpadding.cpp31index_blockfilter.cpp32load_external.cpp33lockedpool.cpp34logging.cpp35mempool_ephemeral_spends.cpp36mempool_eviction.cpp37mempool_stress.cpp38merkle_root.cpp39obfuscation.cpp40parse_hex.cpp41peer_eviction.cpp42poly1305.cpp43pool.cpp44prevector.cpp45random.cpp46readwriteblock.cpp47rollingbloom.cpp48rpc_blockchain.cpp49rpc_mempool.cpp50sign_transaction.cpp51streams_findbyte.cpp52strencodings.cpp53txgraph.cpp54txorphanage.cpp55uint256_blob.cpp56util_time.cpp57verify_script.cpp58)60add_windows_application_manifest(bench_bitcoin)62include(TargetDataSources)63target_raw_data_sources(bench_bitcoin NAMESPACE benchmark::data64data/block413567.raw65)67target_link_libraries(bench_bitcoin68core_interface69test_util70bitcoin_node71Boost::headers72)74if(WITH_EMBEDDED_ASMAP)75target_sources(bench_bitcoin PRIVATE asmap.cpp)76endif()78if(ENABLE_WALLET)79target_sources(bench_bitcoin80PRIVATE81coin_selection.cpp82wallet_balance.cpp83wallet_create.cpp84wallet_create_tx.cpp85wallet_encrypt.cpp86wallet_loading.cpp87wallet_ismine.cpp88wallet_migration.cpp89)90target_link_libraries(bench_bitcoin bitcoin_wallet)91endif()93install_binary_component(bench_bitcoin INTERNAL)
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.