A new Bitcoin implementation integrated with Core Lightning [combined summary]



Individual post summaries: Click here to read the original discussion on the lightning-dev mailing list

Published on: 2023-05-06T05:58:55+00:00


Summary:

In November 2022, Michael Folkson expressed his belief on Twitter that Bitcoin Knots and consensus-compatible forks of Bitcoin Core are the future. He pointed out issues such as btcd bugs and analysis paralysis on a Replace-By-Fee (RBF) policy option in Core. Michael has a long-term idea of creating a bare bones Knots-style Bitcoin implementation integrated with Core Lightning. The dysfunction in the Bitcoin Core project has made him take this idea more seriously, as he feels that the current management of the project does not align with how an open-source project should be managed.While Core Lightning is effectively managed in the open, it lacks the usage and visibility that Bitcoin Core has. Michael envisions a codebase that integrates both Bitcoin and Lightning implementations. He believes that the accumulation of unnecessary complexity over time in the Bitcoin Core codebase is problematic. The ultra-conservatism required when dealing with potential consensus code has seeped into parts of the codebase that are not being utilized and should be removed.Although the libbitcoinkernel project aimed to extract the consensus engine from Bitcoin Core, Michael finds consensus to be a slippery concept. This is why Knots-style consensus-compatible forks of Bitcoin Core still seem like the most suitable model. However, it remains uncertain how much unnecessary code can be safely removed while effectively maintaining a less complex fork of Bitcoin Core. There is also a debate regarding whether it makes sense to mix C and C++ code, as different individuals have varying opinions on the matter.Michael is seeking input from individuals who possess comprehensive knowledge of both the Bitcoin Core and Core Lightning codebases to explore the feasibility of his idea. He acknowledges that this would be an ambitious long-term project but believes that focusing on ambitious endeavors during a period of relative calm in soft fork activation chaos would be beneficial. If anyone wants to reach out to Michael, they can do so via email at michaelfolkson@protonmail.com, on Keybase at michaelfolkson, and his PGP key is provided.


Updated on: 2023-08-01T00:58:39.851094+00:00