A recent serious issue with the Lightning Network Daemon (LND) client has caused Lightning network developers to question current bug-proofing methodologies.
In The launch of LND, on November 23, a compatibility problem was detected, as reported by CriptoNoticias, causing it to be unable to open channels with other network nodes that use the c-lightning client.
Regarding the flaw, the user under the pseudonym X Raid, commented last week, on the Lightning-Dev mailing list, the development of a solution known as rBOX. This type of protocol would allow a client, close to leaving, to verify its compatibility with the rest of the clients on the network.
For X Raid , each client, currently running on the Lightning network, should develop their own rBOX, which would allow to run the necessary tests to verify compatibility.
«This to ensure that the critical nature of LN is well tested before any becomes a public release »X Raid, developer of Lightning Network.
Another of the developers, in this case Christian Decker, considers that interoperability tests are “unlikely to detect any problems” if they are not “very serious”. In this case, it recommends that all users, whether they are Lightning Network developers, or only have technical knowledge of the area and interest, do the technical tests of the possible candidates to leave. The greater the amount of testing, the lower the error percentage .
Good practices at the development level
At the production level, taking a development company as an example In software, the life cycle goes through two important stages, programming the code and testing the code. In large companies, these two stages are separated into developers and testers (test or test anglicism). The testers are in charge of the verification and control so that a software , soon to go into production, meets the quality standards.
Now Well, the example above is in established companies. In the Bitcoin field, mostly independent programmers work. Although there are companies that develop technologies for Bitcoin, the quality tests are audited by the developers themselves .
In the case of what happened with LND, which is a software developed by Lightning Labs, a company within the Bitcoin category, the community could not detect the error. To prevent this type of problem from happening again, and as Decker himself advised, the Bitcoin Optech newsletter has compiled some of the main Lightning Network clients that interested parties can test accordingly to help improve quality.