paritytech / cumulus

Write Parachains on Substrate
GNU General Public License v3.0
618 stars 382 forks source link

Support relay chain light client #439

Open bkchr opened 3 years ago

bkchr commented 3 years ago

Currently we only support full client for the relay chain. We should look into supporting a light client as well.

burdges commented 3 years ago

As only a node of the parachain not a collator?

bkchr commented 3 years ago

Probably both. However, I would forward this to the parachain developer to ultimately decide on if they may need a full node.

burdges commented 3 years ago

We could replicate a subtree between the relay chain and parachain, which helps non-collator parachain full nodes do not require being relay chain full nodes.

We do simplify several important issues by making collators be full nodes of the relay chain, and even observe realy chain gossip, like they could fetch XCMP messages from approval checkers this way, or discover availability bitfields.

bkchr commented 3 years ago

Yeah nothing is decided yet. When we will tackle this, I will make sure to discuss this before ;)