DDOS prevention? Accepting Cycles in Query Call

  1. Wait from this link, it says that non-replicated messages are queries. What do mean when you say replicated query execution? Internet Computer Execution Layer | Internet Computer

  1. continuted. Additionally from this forum posts from another team member queries are currently free, no? Canister gas/cycle cost - #2 by Severin

  2. My point 2 was in reply to your suggestion in the block below. How is that done in Motoko?

  3. For point 3, was in reply to your second suggestion pasted below.


    I was wondering if by creating a function at the application level where users first deposited cycles, could that function itself could be ddosable? I give an example below. Is that what you meant in your suggestion?

public func deposit_cycles: async Nat
{
 ExperimentalCycles.accept(1000000)
assert(//cycls accepted)
return 5
}

I appreciate the help.

1 Like