MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.99k stars 527 forks source link

Limit snarks per statement per peer #7484

Open deepthiskumar opened 3 years ago

deepthiskumar commented 3 years ago

In the existing rate-limiting functionality, keep a check on the number of snarks per statement from a peer. This would mitigate an attack where attackers could lower the fee and make honest nodes verify invalid proofs for the same statement over and over

deepthiskumar commented 2 years ago

This is still applicable and we need to fix it at some point