- Replaced all instances of p256k1signer with the new p8k.Signer across various modules, including event creation, policy handling, and database interactions. - Updated related test cases and benchmarks to ensure compatibility with the new signer interface. - Bumped version to v0.25.0 to reflect these significant changes and improvements in cryptographic operations.
1.9 KiB
1.9 KiB
Bundled Library for Linux AMD64
This directory contains a bundled copy of libsecp256k1 for Linux AMD64 systems.
Library Information
- File:
libsecp256k1.so - Version: 5.0.0
- Size: 1.8 MB
- Built: November 4, 2025
- Architecture: Linux AMD64
- Modules: Schnorr, ECDH, Recovery, Extrakeys
Why Bundled?
The bundled library provides several benefits:
- Zero Installation - Works out of the box on Linux AMD64
- Consistent Version - Ensures all users have the same tested version
- Full Module Support - Built with all optional modules enabled
- Performance - Optimized build with latest features
Usage
The library loader automatically tries the bundled library first on Linux AMD64:
ctx, err := secp.NewContext(secp.ContextSign | secp.ContextVerify)
// Uses bundled ./libsecp256k1.so on Linux AMD64
Build Information
The bundled library was built from the Bitcoin Core secp256k1 repository with:
./autogen.sh
./configure --enable-module-recovery \
--enable-module-schnorrsig \
--enable-module-ecdh \
--enable-module-extrakeys \
--enable-benchmark=no \
--enable-tests=no
make
Fallback
If the bundled library doesn't work for your system, the loader will automatically fall back to system-installed versions:
libsecp256k1.so.5(system)libsecp256k1.so.2(system)/usr/lib/libsecp256k1.so/usr/local/lib/libsecp256k1.so/usr/lib/x86_64-linux-gnu/libsecp256k1.so
Other Platforms
For other platforms (macOS, Windows, or other architectures), install libsecp256k1 using your system package manager:
macOS:
brew install libsecp256k1
Windows: Download from https://github.com/bitcoin-core/secp256k1/releases
License
libsecp256k1 is licensed under the MIT License.
See: https://github.com/bitcoin-core/secp256k1/blob/master/COPYING