zeko-labs / zeko

Zeko: zk-Rollup for Mina, a succinct blockchain
https://zeko.io
Apache License 2.0
23 stars 3 forks source link

Make sure da node can't be DoSed #191

Open MartinOndejka opened 4 months ago

MartinOndejka commented 4 months ago

Currently the da node accepts data from anybody, and if they meet certain requirements (#184) it stores it forever.

To prevent DoS attack on da layer, we need mechanism to either allow da nodes dispose unused data or allow only posting of the "useful" data.

There are 2 solutions for 2 usecases:

  1. Centralised sequencer: If the sequencer is centralised, the da nodes can just white list the sequencer.
  2. Decentralised sequencer: Most probably the decentralisation of sequencers will be realised through the action on L1. Da nodes can therefore whitelist only the sequencers that won the auction.

Potentially we can support payments for storage, possibly setting up a payment channel between da nodes and sequencers.

L-as commented 4 months ago

Please explain the issue

MartinOndejka commented 4 months ago

Please explain the issue

updated the description