davide3011
478e8fc306
build(secp256k1): upgrade to bitcoin-core v24.2 with taproot modules
Synchronize secp256k1 library to bitcoin-core/secp256k1 as of Bitcoin Core
v24.2, enabling cryptographic primitives required for Taproot (BIP340/341).
Changes:
- Upgrade src/secp256k1 from bitcoin v24.2 tag
- Enable experimental modules via configure.ac:
* --enable-module-extrakeys (BIP340 x-only public keys)
* --enable-module-schnorrsig (BIP340 Schnorr signatures)
* --enable-module-recovery (ECDSA pubkey recovery, pre-existing)
- Update MSVC build configuration with corresponding preprocessor defines
- Regenerate autotools build files via autogen.sh
Module verification:
- ENABLE_MODULE_EXTRAKEYS: provides secp256k1_xonly_pubkey APIs
- ENABLE_MODULE_SCHNORRSIG: provides secp256k1_schnorrsig APIs
- ENABLE_MODULE_RECOVERY: provides secp256k1_ecdsa_recover APIs
Build targets:
- Linux/Unix: verified with autotools + quick-build.sh
- Windows MSVC: configuration updated (requires Windows build verification)
Testing:
- Static library compiled successfully (1.6M)
- All header files present (extrakeys.h, schnorrsig.h)
- Regtest functional tests passed:
* Transaction signing/verification
* ECDSA operations
* Block mining and validation
- No regressions on existing ECDSA functionality
This commit provides the cryptographic foundation for subsequent Taproot
implementation (BIP340/341/342) without modifying consensus or wallet logic.
2026-02-06 10:19:01 +01:00
..
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2025-11-24 00:03:44 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2025-11-22 17:12:34 +01:00
2025-10-22 20:59:33 +02:00
2026-02-05 13:31:07 +01:00
2026-01-26 17:30:11 +01:00
2025-11-22 16:38:29 +01:00
2026-02-06 10:19:01 +01:00
2026-01-26 17:30:11 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:21:54 +01:00
2026-01-26 17:30:11 +01:00
2026-01-26 17:30:11 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2025-11-24 00:03:44 +01:00
2024-03-15 18:16:03 +01:00
2025-10-30 23:25:15 +01:00
2024-03-15 18:16:03 +01:00
2025-11-18 08:47:44 +01:00
2024-03-15 18:16:03 +01:00
2025-11-22 18:59:39 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2026-01-26 17:30:11 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2026-01-26 17:30:11 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2026-01-13 22:31:02 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2026-02-06 10:19:01 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2025-10-22 20:59:33 +02:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2026-01-26 17:30:11 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-04-07 13:33:32 -04:00
2024-04-07 13:33:32 -04:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2025-11-24 00:03:44 +01:00
2025-10-22 20:59:33 +02:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2026-01-26 17:30:11 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2025-11-24 00:03:44 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00
2024-03-15 18:16:03 +01:00