Anyone who has worked with btcd or lnd will agree with me (unless they are forgetful) when I say that these codebases need to be completely scrapped and redone.

I wasted so much time trying to simply refactor some generated code out of the protocols in lnd last year when I tried to get started doing work on bitcoin/lightning related stuff that I don't think it ever got merged and I don't think they ever resolved the issue I was working on either.

I'm so sick of the chaos of importing anything from the btcd repository that I'm gonna make a clean, unencumbered, complete, and optimal version of the secp256k1 library, with both ecdsa and schnorr signatures, and a simd (AVX2) optimised SHA256 hash function in it as well.

This won't take long, all the code exists. And I'll make it so BIP 340 schnorr signature tests actually fully pass the crazy new additions with the abnormal and irrelevant non-32 bit long message signing functionality - directly porting from the C++ version.

The Bitcoin codebase is heavily encumbered with stupidity. That any of it works is amazing, and that anyone has managed to build anything to work with it, even more amazing.

I personally believe that segwit was an act of sabotage, and several others of these insane things in the code are also sabotage. The entire btcsuite and lightningnetwork github org codebase is an insult to computer programmers everywhere.

Reply to this note

Please Login to reply.

Discussion

No replies yet.