Open-Sourcing Liquid's Functionary Code - Part II
Two weeks ago we released the code for the functionaries of the Liquid Network and that was a big milestone, but the announcement doesn't say much about what can and can't be done with that code because that is a bit more nuanced and requires things that are certainly not suitable for an announcement. That's what we'll be starting to address here.
What's open and what's still closed source?
The Liquid Network server as a whole is composed of 2 parts, the host (or functionary) and the HSM. What was released is all the code that runs on the host side, up to the communication with the HSM. So, does this mean that the code is not usable? No, not at all, because the host side also includes an emulation of an HSM, which is not suitable for production environments where even the HSM considers the host as adversarial, but it is more than enough to create your own network, sign blocks process peg-outs, everything that the Liquid Network does, just with the keys stored in plain text and a simulator that blindly signs everything.Why is the HSM not open source?
That's a good question. The best answer I can give you is "I don't think we're there yet", it took us a really long time to get to the point where we could release the host side and we're working towards releasing the HSM code in the future.So, what else is still closed source?
Mostly things that are tightly coupled with the HSM code, which we couldn't release in a functional format (we didn't want to publish something that doesn't build), things like our test harness, automatic configuration generators and things that are not part of actually running a functionary.
As mentioned, anyone can use the new FOSS code to create their own Liquid-like network that will be interoperable with Bitcoin, Liquid, and any other Elements-based sidechain. If you have any questions about this or our future plans to open-source the HSM code, feel free to ask and the team can help.