pull down to refresh

@TheCharlatan has been heading up the effort to put all the consensus code from Bitcoin Core (and only the consensus code) in one place. It's called libbitcoin kernel (not connected to the libbitcoin project led by Erik Voskuil). Today, they released a C header API.

Why it matters

When Satoshi originally released code for Bitcoin, everything was all mixed together like spaghetti: node, wallet, mining software, peer to peer network, transaction relay. Not all of these various tools affected consensus or even needed to know very much about it.
Bitcoin Core is a direct descendant of the original Satoshi client, and over time the project has been attempting to separate out its different aspects. One important part of this process is separating all the code that deals with consensus from everything else and then figuring out how things like mining software or wallets or mempool software can ask for information from the part that implements consensus rules.
But the most exciting part of this project is that it should allow more customization among node implementations based on consensus code in Bitcoin Core.
Also: a lot of people worked very hard on this and it's a super impressive achievement.
102 sats \ 0 replies \ @Sandman 3h
Okay! This is good to hear
reply
102 sats \ 0 replies \ @k00b 3h
I love well written C code.
reply
With the nym being a charlatan, I never suspected they were actually involved in this stuff. ~lol. I totally get this code mess, and in C language it's super easy to get lost. I've spent a ton of hours cleaning up code myself. But be careful, if you don't do it super carefully, it's easy to screw up or make mistakes. Good luck @TheCharlatan.
reply
You should check out this Stephan Livera Podcast he did: lots more info about the project
reply
Appreciate it, gonna give it a listen when I got an hour and a half :)
reply