Let’s say each topic of the gossipsub is a public key.
- A peer requests a captcha challenge.
- The “admin peer” who owns the public key sends the captcha challenge.
- The peer sends back a captcha answer.
- The “admin peer” sends confirmation that the captcha answer was correct.
If a peer or IP address sends too many requests for challenges without sending back a correct captcha answer, he gets blocked by other peers to prevent spam and be able to scale.
Is this design technically possible with a pubsub gossip network and be able to scale to millions of users?