vegaprotocol / specs

Specs, designs and requirements 🦔
MIT License
7 stars 2 forks source link

Order spam: margin required for an order is checked to be greater than a network parameter #2097

Open davidsiska-vega opened 5 months ago

davidsiska-vega commented 5 months ago

Consider a spam protection where the margin required for an order is checked to be greater than a preset network parameter. Reject orders that are too cheap.

This is a) for Nebula where you can expect mis-configured markets and b) for pre-launch perps / futures token where it will be genuinely hard to guess what the price ought to be.

davidsiska-vega commented 2 months ago

Come back to this after https://github.com/vegaprotocol/specs/issues/2071 .

davidsiska-vega commented 2 months ago

Actually, change of plan, tactically do this before #2071 .