client light mode V1
Termination
This milestone is close because the light mode's V1 MR has been merged (MR !2609 (merged)) and work on V2 is not scheduled yet. The V2 is described in issue #1185 (closed).
Context
Like the proxy mode, the point of the light mode is to execute some RPCs locally, instead of delegating them to the node. The light mode differs from the proxy mode, in that it gathers data from multiple endpoints to execute RPCs locally, making sure that the different endpoints send all the same data, using Merkle proofs. As a result, if all the distant endpoints are not simultaneously controlled by a malicious opponent, this increases the security. The name "light" is akin to the corresponding term in Bitcoin.
Development branch: https://gitlab.com/smelc/tezos/-/commits/tweag-client-light-mode
Developers documentation: src/lib_proxy/README_LIGHT.md
Roadmap: what we are doing now
The light mode's roadmap consists of two versions: the V1 and the V2. The V1 is proposed in MR 2609. A number of improvements must be done on this V1 and are listed in the follow-up issue 1185: that's the V2. This milestone concerns the V1 as working on the V2 is not a priority for the moment.
The work on the light mode is being slowed down significantly because @sir4ur0n and @smelc are working on https://gitlab.com/tezos/tezos/-/issues/1183 at the moment.
Merged: what we did already
Before the MR of the V1, a number of improvements have already been merged in master
, to make the MR smaller. First, there are MRs about generalizing tests so that they can be reused by the light mode:
Second, there are MRs about preparing/enhancing existing code; so that the light mode is easier to plug:
Outside GitLab, we reported an issue to Irmin (which was fixed, as it was blocking us) and proposed new tests to Irmin.