paritytech / smoldot

Alternative client for Substrate-based chains.
GNU General Public License v3.0
302 stars 75 forks source link

Trusted light clients system #2223

Open tomaka opened 2 years ago

tomaka commented 2 years ago

In order to solve https://github.com/paritytech/substrate-connect/issues/882, I think we should add a "trusted light client" system.

In details:

This makes it possible to have a local peer-to-peer network of light clients that all share a single connection to a full node. The light clients that don't have the full node connection instead send requests to their trusted light client peers.

tomaka commented 2 years ago

Note that this is not a full solution. There's the problem of being able to track who you've made a request against in order to ban them and/or be sure the further requests aren't made towards the same target.

tomaka commented 1 year ago

Note that this is not a full solution. There's the problem of being able to track who you've made a request against in order to ban them and/or be sure the further requests aren't made towards the same target.

This is kind of a blocker. There's no real point in doing the above without finding a solution to this first.