zeko-labs / zeko

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

Make sure da node can't be DoSed #191

Open MartinOndejka opened 1 month ago

MartinOndejka commented 1 month 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 1 month ago

Please explain the issue

MartinOndejka commented 1 month ago

Please explain the issue

updated the description