Inside Bitcoin
Opening the selected file…
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.
1package=zeromq2$(package)_version=4.3.53$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/4$(package)_file_name=$(package)-$($(package)_version).tar.gz5$(package)_sha256_hash=6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab436$(package)_build_subdir=build7$(package)_patches = macos_mktemp_check.patch8$(package)_patches += builtin_sha1.patch9$(package)_patches += fix_have_windows.patch10$(package)_patches += openbsd_kqueue_headers.patch11$(package)_patches += cmake_minimum.patch12$(package)_patches += cacheline_undefined.patch13$(package)_patches += no_librt.patch14$(package)_patches += add_new_include.patch16define $(package)_set_vars17$(package)_config_opts := -DCMAKE_BUILD_TYPE=None -DWITH_DOCS=OFF -DWITH_LIBSODIUM=OFF18$(package)_config_opts += -DWITH_LIBBSD=OFF -DENABLE_CURVE=OFF -DENABLE_CPACK=OFF19$(package)_config_opts += -DBUILD_SHARED=OFF -DBUILD_TESTS=OFF -DZMQ_BUILD_TESTS=OFF20$(package)_config_opts += -DENABLE_DRAFTS=OFF -DZMQ_BUILD_TESTS=OFF21$(package)_cxxflags += -fdebug-prefix-map=$($(package)_extract_dir)=/usr -fmacro-prefix-map=$($(package)_extract_dir)=/usr22$(package)_config_opts_mingw32 += -DZMQ_WIN32_WINNT=0x0A00 -DZMQ_HAVE_IPC=OFF23endef25define $(package)_preprocess_cmds26patch -p1 < $($(package)_patch_dir)/macos_mktemp_check.patch && \27patch -p1 < $($(package)_patch_dir)/builtin_sha1.patch && \28patch -p1 < $($(package)_patch_dir)/cacheline_undefined.patch && \29patch -p1 < $($(package)_patch_dir)/fix_have_windows.patch && \30patch -p1 < $($(package)_patch_dir)/openbsd_kqueue_headers.patch && \31patch -p1 < $($(package)_patch_dir)/cmake_minimum.patch && \32patch -p1 < $($(package)_patch_dir)/no_librt.patch && \33patch -p1 < $($(package)_patch_dir)/add_new_include.patch34endef36define $(package)_config_cmds37$($(package)_cmake) -S .. -B .38endef40define $(package)_build_cmds41$(MAKE)42endef44define $(package)_stage_cmds45$(MAKE) DESTDIR=$($(package)_staging_dir) install46endef48define $(package)_postprocess_cmds49rm -rf share && \50rm -rf lib/pkgconfig51endef
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.