About

In short, my name is Sergio Demian Lerner. I’m a Cryptofan, Independent Security Researcher, and Bitcoin specialist since 2011.

My Story

I bought a copy of Applied Cryptography in 1990 and by 1994 I was working on information security, doing intrusion detection, cryptanalysis (yes, really cool code-breaking stuff) and security hardening the Linux kernel, in order to protect the networks of a branch of Argentina’s government (*) . Afterward I worked as security consultant for Core Security (the company), designing and programming high-performance cryptographic servers. I later became entrepreneur and co-founded Pentatek/ATI-Medical, a high-tech neurological equipment manufacturer in Latam, employing about 15 people, during more than 10 years. By 2010 I was finishing my graduate thesis on peer-to-peer poker and researching and discussing anonymous payment systems in the cryptography mailing list, in order to combine a p2p currency with my p2p mental poker protocol. But even if I should have read Satoshi’s post back in 2009, I don’t remember having read about Bitcoin during 2010, so I keep working on p2p poker, and I founded a short-lived company Certimix to try to monetize a p2p card game library.

It was not until late 2011, when I first read the Bitcoin paper and I rushed to analyze the source code. I got fascinated for its simplicity. But also I found many areas to look for improvements, both in the economic, cryptographic and protocol related areas. By the beginning of 2012 I was part of the Bitcoin community and I was working late hours to strengthen the security of the Bitcoin Core implementation analyzing the code and responsible disclosing more than 8 vulnerabilities you should be happily never heard of, because they were fixed promptly. Still it was all done without any monetary profit.

But, no visionary I was: I had many doubts about the technology and I lost every chance I had to buy “cheap” Bitcoin in the early years. In my first conference talks about Bitcoin I was very skeptic, to say the least, as you can see in my 2012 talk about Bitcoin scaling (the morale of my talk: Bitcoin is not private and does not scale). By 2012 I had contributed to the cryptocurrency community by creating a new cryptocurrency system, MavePay, based on Guy Fawkes signatures (but out of ignorance I re-invented the signature system, only better) and also I had contributed with many other minor improvements. However, as Bitcoin maximalist I was, I never turned theoretical papers into actual lasting cryptocurrency projects, as alt-coins, pre-mines and pre-sales were bad words.

But by 2013, I was starting to believe in Bitcoin and I became tempted to buy BTC for the first time. So I started analyzing the blockchain from a new perspective: not trying to break it, but trying to understand the market. I realized that whoever created Bitcoin surely kept mining for at least one year, which led me to the simple (but at that time unproven) conclusion that Satoshi had mined about 1M coins. This idea (again!) made me feel insecure, so I didn’t buy any BTC (ever). When I published my thoughts in one bitcointalk forums, people started yelling at me with anger: on one side, for the part of the community that worshiped Satoshi, it was a heretic idea. It didn’t fit well with the “disinterested genius” meme (although, further discoveries that Satoshi had not touched the fortune would make this meme even stronger). On the other side, cypherpunks thought my claims were heretic because I was “attacking” the “man’s” privacy. The truth was that that I was provoked in the forums to find hard evidence of my lightly claims, so I went to look for it, even if I had no initial intention to dig into any private matters. Well, it turned out the evidence was hiding at plain sight in the immutable blockchain. So sooner or later, if not me, other people would find the same pattern. That event radically changed my life. My blog, which at that time had no more than a few visits a day, collected 35K visits in the first week. I became “popular”, on that tiny Bitcoin community of the time. The news spread fast, and Bitcoin price increased 10% during that time. I cannot attest that the price surge was due to this new information coming to light, but I guess it was. A new meme was created: The trust of the initial fathers of Bitcoin in the technology was so profound that they hadn’t sold more than 0.0001% of their coins, even after flashes of incredible appreciation. But behind all this noise and sudden fame, I was working on two cool projects: the Appecoin cryptocurrency (2012), the first anonymous coin that attempted to be perfect binding, instead of perfect hiding, and QixCoin, the first Turing complete cryptocurrency to support my p2p gaming platform. Yes, and all this was one year before Ethereum and Monero were even conceived. By pure chance Wences Casares, the founder of Xapo, was in Argentina at the time. Wences invited me to his offices in Buenos Aires, and after a really enthusiastic talk he convinced me to go to the 2013 Bitcoin conference, in San Jose. So I went, and my life changed, again. But not because I became wealthier (I still didn’t own a single bitcoin), but because I was so happy to see real faces (not just plain code) and to belong to a community for the first time, the Bitcoin community. But nobody wanted to hear anything about a Turing-complete smart-contract platform, maybe only Timo Hanke did show interest. And the only guy who was interested in hearing about Appecoin seemed to be very shady to me. So both projects, even having working prototypes, were frozen in 2013.

In mid 2013 I designed and prototyped the Firmcoin, an Bitcoin micro-controlled banknote for off-line payments (a precursor of the OpenDime), and the DagCoin cryptocurrency (the precursor of Byteball and IOTA coins, and the new Avalanche consensus). Later I designed the DECOR+ protocol as a proposal to scale Bitcoin to a 5-second block interval. The protocol was later adopted by NimbleCoin, a new innovative cryptocurrency written from scratch by me, that due to my still persistent Bitcoin maximalism, was never bootstrapped. In 2014 I co-founded IdentivaSecurity, the company behind the PassKey, a new authentication token that failed to gain any market traction, but was an interesting experience anyway. Out of the necessity to satisfy the demand of software developers that understand Bitcoin, I co-founded Coinfabrik with Pablo Yabo and Sebastian Wain. Coinfabrik now employs more than 40 engineers and has became a leading (if not the only one) cryptocurrency software factory. I collaborated with Timo Hanke in creating ASICBoost, a technology for building more efficient mining ASICs, which became a novelistic story that had a happy end. Apart from that, I discover the second still most promising Bitcoin ASIC optimization technique: using approximate adders. This technique was later rediscovered and published by scientist from the University of Illinois. Also I helped with the foundation of WayniLoans, the only Latam-focused peer-to-peer lending platform that day by day satisfies the needs of tens of thousands of real people with real credit problems, and which is growing strong.

In 2015 I co-founded RSK Labs and we raised money to develop the first Bitcoin sidechain. I was the lead designer of the Rootstock Sidechain (renamed later RSK). RSK implemented the first cross-chain communication system based on cross-chain SPV-proofs (see Zamyatin et al.). After a year in beta, RSK was launched in 2017. This is really the most ambitious project that I have taken part. It has the vision to turn financial inclusion into reality, to improve the quality of life of so many people excluded from the society, by means of decentralized technologies, and basing its settlement layer in the Bitcoin network. For RSK, I created more than 60 RSKIPs (RSK Improvement Proposals), some very good ideas (and some are just failed attempts). One of the most extensive work I did since 2016 is about Contract Storage Rent (RSKIP7, RSKIP17, RSKIP21, RSKIP27, RSKIP52, and finally RSKIP61). I took me 6 proposals to get one right. Also I researched on parallel transaction execution with RSKIP03, RSKIP04 and finally RSKIP144.

During 2016-2017 I researched into new blockchain scaling solutions, from a different unchartered perspective, producing innovations such as Ephemeral Data,default data, and signature chaining with the LTCP protocol (now RSKIP53). Both protocols, and some more, were presented in Off the Chain workshop, under the new name of Shrinking-Chain Scaling, along with a paper written with some co-researchers from RSK. The Default data technique was later re-invented by John Adler as the Postdata field to support higher scalability of Optimistic Roll-ups.

One of my latest design improvements was the Unitrie, an optimized Authenticated Randomized Patricia Trie suited for blockchain state storage, which was successfully merged into RSK on a programmed network upgrade in 2019.

Also I created the first Bitcoin drivechain BIP in order to increase the capabilities of Bitcoin (the currency) using sidechains without increasing Bitcoin block size. A new improved proposal has been recently presented at Building on Bitcoin 2018 conference. At the beginning of 2017, with Diego Gutierrez Zaldivar, we attempted to unify the Bitcoin community with the Segwit2Mb hard-fork BIP, before Bitcoin broke apart by the block-size debate. The proposal was dismissed by Bitcoin core developers. Suddenly, during Consensus 2017, a different proposal, named Segwit2x took some ideas from ours, but having different supporters and deployment schedule. That project didn’t end well, and Bitcoin Cash was created. During 2017 and 2018 I worked on new blockchain scaling techniques, and created an innovative framework called Shrinking-chain Scaling. I presented for the first time the (strange) idea of double-signing a transaction. Two years later the same bold idea was used by MIT team to create zk-SHARKS. And I have yet more stories to tell… but in another time.

In 2019 I created the site satoshiblocks.info to graphically show the dataset used for researching the mining of early Bitcoin blocks.

When I speak in public, I try to give a different talk each time I have the opportunity, in order to force me research more and more. A talk I really liked is the one about Proof of Unique Blockchain Storage in Devcon3 (video here).

I’m always open to collaboration to push projects forward, so if you want help me in any of these endeavors, please write to me!

I discovered and responsible reported these Bitcoin-Related vulnerabilities:

Lack of orphan tx limit prior v0.5.3

CVE-2012-3789: Multiple DoS Vulnerabilties in Satoshi client

CVE-2012-4683: Targeted DoS by CPU exhaustion using alerts

CVE-2012-4684: Network-wide DoS using malleable signatures in alerts

CVE-2013-2272: Remote discovery of node’s wallet addresses

CVE-2013-2292: A transaction that takes at least 3 minutes to verify

CVE-2013-2293: Continuous hard disk seek

CVE-2013-4627 security holes.

security vulnerability in BouncyCastle ECDSA (BJB-22)

Brumley/Tuveri attack to SatoshiDice

BitsOfProof client vulnerabilities

Bitmessage v1.0: completely broken crypto

The Future

I dream of a future with an ecosystem of crypto-currencies, some purely decentralized and others government-backed. I plan to take an active role in creating the future of decentralized digital cash.

I hope you enjoy redesigning Bitcoin as I do.

Donations

This section is a relic from the time people used to donate Bitcoins. I don’t receive donations anymore. However if you like my work and want to encourage me in researching further you can donate to this address: 17mcFB7Xyymd9hxp2bgNPz1ruWsdoPoCnZ

2013-04-13: I’m very happy to announce that today I received 1 BTC from an anonymous donor! Thank you!

(*) It very sad that today, 25 years later, the government site doesn’t even serve a valid security certificate!