← index

UltrafastSecp256k1 v3.14.0

An archive of delvingbitcoin.org · view original topic →

vano · #1 ·

Added — Language Bindings (12 languages, 41-function C API parity)

Fixed — Documentation & Packaging

Fixed — CI / Build

Toby Sharp · #2 ·

This sounds pretty cool, and I’d be interested to see how it performs in Hornet Node’s IBD. Do you have any benchmark results, e.g. how many signature verifications per second?

Links here in case you missed it: https://delvingbitcoin.org/t/hornet-utxo-1-a-custom-constant-time-highly-parallel-utxo-database/2201

vano · #3 · · in reply to #2

hello please join to our Discord channel and we can discuss all detail you are interested. yes i have many banchmarks on different devices and platforms you also can see them on git repo but i have more new improovments that not released yet will be today or max in 2 days working on self code auditing to check and test all edge cases

vano · #4 · · in reply to #2

vano · #5 · · in reply to #4

4.88 M ECDSA signs/s * 2.44 M ECDSA verifies/s * 3.66 M Schnorr signs/s * 2.82 M Schnorr verifies/s – single GPU (RTX 5060 Ti) this is GPU benchmark

vano · #6 · · in reply to #5

Clang 21.1.0, i7-11700, single core, pinned:

Toby Sharp · #7 · · in reply to #4

I think it would be helpful and meaningful if you showed like-for-like comparative performance between your optimized library and the baseline libsecp256k1 implementation used by Bitcoin Core for instance. A useful metric would be number of ECDSA verifications per second, and then some discussion of where performance gains were made and where the remaining bottlenecks are for bandwidth.

Toby Sharp · #8 · · in reply to #5

Nice that you have both CPU and GPU versions. Is the GPU version using CUDA, OpenCL, or some other platform, and is it vendor-specific?

vano · #9 · · in reply to #8

i have all platform support CUD and OpenCL also Apple Metal too

vano · #10 ·

Benchmark: UltrafastSecp256k1 vs libsecp256k1 on BIP-352 scanning pipeline