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.
251PRECOMP = src/precomputed_ecmult_gen.c src/precomputed_ecmult.c252precomp: $(PRECOMP)254# Ensure the prebuilt files will be build first (only if they don't exist,255# e.g., after `make maintainer-clean`).256BUILT_SOURCES = $(PRECOMP)258.PHONY: clean-precomp259clean-precomp:260rm -f $(PRECOMP)261maintainer-clean-local: clean-precomp263### Pregenerated test vectors264### (see the comments in the previous section for detailed rationale)265TESTVECTORS = src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h267if ENABLE_MODULE_SILENTPAYMENTS268TESTVECTORS += src/modules/silentpayments/vectors.h269endif271if ENABLE_MODULE_ECDH272TESTVECTORS += src/wycheproof/ecdh_secp256k1_test.h273endif275src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h:276mkdir -p $(@D)277python3 $(top_srcdir)/tools/tests_wycheproof_generate_ecdsa.py $(top_srcdir)/src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json > $@279src/wycheproof/ecdh_secp256k1_test.h:280mkdir -p $(@D)281python3 $(top_srcdir)/tools/tests_wycheproof_generate_ecdh.py $(top_srcdir)/src/wycheproof/ecdh_secp256k1_test.json > $@283src/modules/silentpayments/vectors.h:284mkdir -p $(@D)285python3 $(top_srcdir)/tools/tests_silentpayments_generate.py $(top_srcdir)/src/modules/silentpayments/bip352_send_and_receive_test_vectors.json > $@287testvectors: $(TESTVECTORS)289BUILT_SOURCES += $(TESTVECTORS)291.PHONY: clean-testvectors292clean-testvectors:293rm -f $(TESTVECTORS)294maintainer-clean-local: clean-testvectors296### Additional files to distribute297EXTRA_DIST = autogen.sh CHANGELOG.md SECURITY.md298EXTRA_DIST += doc/release-process.md doc/safegcd_implementation.md299EXTRA_DIST += doc/ellswift.md doc/musig.md300EXTRA_DIST += examples/EXAMPLES_COPYING301EXTRA_DIST += sage/gen_exhaustive_groups.sage302EXTRA_DIST += sage/gen_split_lambda_constants.sage303EXTRA_DIST += sage/group_prover.sage304EXTRA_DIST += sage/prove_group_implementations.sage305EXTRA_DIST += sage/secp256k1_params.sage306EXTRA_DIST += sage/weierstrass_prover.sage307EXTRA_DIST += src/wycheproof/WYCHEPROOF_COPYING308EXTRA_DIST += src/wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.json309EXTRA_DIST += src/modules/silentpayments/bip352_send_and_receive_test_vectors.json310EXTRA_DIST += src/wycheproof/ecdh_secp256k1_test.json311EXTRA_DIST += tools/tests_wycheproof_generate_ecdsa.py312EXTRA_DIST += tools/tests_wycheproof_generate_ecdh.py313EXTRA_DIST += tools/tests_silentpayments_generate.py315if ENABLE_MODULE_ECDH316include src/modules/ecdh/Makefile.am.include317endif319if ENABLE_MODULE_RECOVERY320include src/modules/recovery/Makefile.am.include321endif323if ENABLE_MODULE_EXTRAKEYS324include src/modules/extrakeys/Makefile.am.include325endif327if ENABLE_MODULE_SCHNORRSIG328include src/modules/schnorrsig/Makefile.am.include329endif331if ENABLE_MODULE_MUSIG332include src/modules/musig/Makefile.am.include333endif335if ENABLE_MODULE_ELLSWIFT336include src/modules/ellswift/Makefile.am.include337endif339if ENABLE_MODULE_SILENTPAYMENTS340include src/modules/silentpayments/Makefile.am.include341endif
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.