One of Hal Finney's lost contributions to Bitcoin Core to be 'resurrected'

Published at: Sept. 28, 2020

In a February 8, 2011 post on Bitcointalk, Finney said that reading a book titled “Guide to Elliptic Curve Cryptography” by Hankerson, Menezes, and Vanstone, gave him an idea of how to speed up signature verification by 25%. In the following post from the same day, Finney announced that he had already written “test code” and uploaded it to the Github repository. However, there was a problem with Finney’s proposal — his method had already been patented by someone else.

“Method for Accelerating Cryptographic Operation on Elliptic Curves” (also known as GLV or Four-Dimensional Gallant–Lambert–Vanstone Scalar Multiplication) received a patent on September 19, 2006 — likely at a time when Satoshi Nakamoto was already busy at work on Bitcoin (BTC). In order to understand the invention, we have to dive a bit deeper into elliptical curve cryptography. The patent reads:

The improvement comes from representing “the scalar k as a combination of components k, and an integer A”. Mathematical operations performed on k represented in this form appear to be less computationally expensive, hence the gains in speed.

Finney’s 2013 proposal was implemented with the release of the libsecp256k1 library, but was never enabled due to existing legal concerns. That's how things stood until September 25, when the patent expired. According to the Blockstream co-founder Adam Back, the code is now expected to be activated in the next Bitcoin Core update.

February 2011 seems to be the time when Finney was most focused on optimizing Bitcoin's signature verification. In a post from February 7, 2011, Finney said he was looking at “batch signature verification”, which he believed might speed up the process by a factor of four. The idea behind it was that instead of verifying signatures one by one, to verify them block-wise: hundreds or even thousands at a time. However, according to Blockstream’s co-founder Pieter Wuille (who was one of the authors of the libsecp256k1 library), when GLV is combined with batch verification, the gains disappear once you reach approximately 1,000 signatures:

“The benefit of batch+GLV over just batch is less than single+GLV over just single. And for very large numbers, the benefit tends to a ratio 1 (so no benefit). But at least up to 1000s of signatures, it is still an advantage.”

Indeed, it has been implemented for Schnorr signatures where it affords two-fold gains in speed. Back indicated that he expects a forthcoming release of Schnorr signatures which include batch verification:

“Later this year/next year Schnorr signatures released including activation and then batch verification speed up also becomes available.”

It is unlikely that Finney’s cryogenic housing allows for any movement, but if it did, we might get a sneak of a smile on his face.

Tags
Related Posts
Semantic debate may account for Wladimir van der Laan's Bitcoin Core departure
On September 7, Bitcoin Core developer Wladimir van der Laan tweeted that he may be "done with coins" all together. He later confirmed to Cointelegraph that he was indeed taking a break from his duties as a Core developer and one of the custodians of the project’s Github repository. One of the factors that led him to this decision was a Twitter storm that lasted for days and was caused by the renaming of a variable that specifies a list of characters that cannot appear in filenames due to operating system restrictions. Source: Bitcoin Github repository. How could something this …
Bitcoin / Sept. 8, 2020
Did Satoshi choose to publish Bitcoin's whitepaper on Halloween as another Easter egg?
Satoshi Nakamoto announced the Bitcoin whitepaper on a cryptography mailing list on Halloween 2008. It could be the case that this was a meaningless coincidence, but when we take into account the meticulous planning behind Bitcoin’s launch party, the chosen date begins to take on more significance. Halloween is the carnival time, a ritual day when one can pretend to be someone or something else, whether a comic book superhero like Batman or Superman, or another eternally popular choice for Halloween, a Ghost — a spirit, much like Satoshi, that is neither dead nor alive. The carnival tradition goes back …
Bitcoin / Oct. 31, 2020
Would Bitcoin suffer if the lead maintainers were kidnapped by aliens?
It is a question that many in the crypto community must have asked themselves at least once. The news of Wladimir van der Laan taking a temporary hiatus, prompted us to explore what some might consider to be an improbable, yet highly impactful situation. A Bitcoin Core developer that is also a maintainer of the project's GitHub account (i.e., someone who can “merge code into the master branch”) is a rare commodity. To put this in perspective, if a Bitcoin Core developer is a black belt, then someone like van der Laan is a third-degree black belt. To set the …
Bitcoin / Sept. 11, 2020
Experts Split on Practical Implications of Quantum Cryptography
Scientists in China were able to exchange an encryption key at a distance of 1,120 kilometers, this exceeds the previous best attempt by 1,000 kilometers. Crypto experts discuss whether this could have practical implications for the industry. Hackerproof cryptography? Quantum computers are scarecrows for the crypto industry for years, with some speculating that the advances in this technology will make all existing cryptography obsolete. This time quantum entanglement was used to exchange a secret key that could be used to encrypt and decrypt messages. One could imagine if this technology becomes a commodity it could make crypto hacking obsolete as …
Bitcoin / June 28, 2020
Bitcoin could hit $10M in 9 years but more sidechains needed: Blockstream CEO
Blockstream CEO Adam Back believes the price of Bitcoin (BTC) could reach $10 million by the end of the sixth halvening in 2032, as long as Bitcoin layer-2 technology and wallet infrastructure improves. In a Feb. 12 Twitter thread, Back, one of the contributors to Bitcoin core, was explaining to his 509,000 followers in what situation Hal Finney’s $10 million price prediction for BTC could come true. He noted that BTC has doubled in price year-on-year on average since 2013 and explained that if that trend continues, BTC price would reach $10M along with a $200 trillion market cap in …
Adoption / Feb. 13, 2023