OmniLayer / spec

Omni Protocol Specification (formerly Mastercoin)
The Unlicense
342 stars 116 forks source link

Every field in every message needs explicit validity/reasonableness testing #231

Open marv-engine opened 10 years ago

marv-engine commented 10 years ago

This is motivated by the fact that the deadline field in Create Crowdsale is not tested against a maximum reasonable value, so the deadline can be set to any date thousands of years in the future. Such a date causes the early bird bonus percentage to be gargantuan.

related to #230

dacoinminster commented 10 years ago

Hopefully the number of fields which can represent unreasonable values is small? I don't expect there are very many of them . . .