All shortsSurprise me
Play video: How to verify Bitcoin signatures 200x more efficiently

How to verify Bitcoin signatures 200x more efficiently

Watch on YouTube (opens in a new tab)
Speaker
PeterRizun
Event
BCH Bliss 2025
Published
Length

Transcript

The hard part of signature verification is doing what's called elliptic curve point scalar multiplication. So you have these curve points, an x and a y coordinate, and you're doing this kind of crazy remapping procedure to calculate a new point. The heart of the circuit is very simple. It's just a ginormous 256 x 256-bit modular multiplier that's built with millions of transistors. So it just takes two numbers, A and B, multiplies them together, and returns the product modulo Bitcoin special prime. And if you design the supporting hardware circuit just right, you can carry out the signature check in about 5,000 clock cycles at 1 GHz. That works out to about 5 microseconds. And it takes about 5 million transistors to do this. For the x86 processor, it takes about 50 microseconds to do a sig check. Our solution takes 5 microseconds, 10 times faster, and 5 million transistors instead of 100 million, 20 times smaller, for about a 200 time improvement.