Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Add semantic validation to configurations. #183

Open
mvastarelli opened this issue Apr 1, 2022 · 0 comments
Open

Add semantic validation to configurations. #183

mvastarelli opened this issue Apr 1, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@mvastarelli
Copy link
Contributor

The import/export functionality of the application only performs minimal schema validation for json and no semantic validation. For example, it is possible to modify the configuration so that a coin uses a non-existent wallet, or that two wallets share the same id, or mining time is a negative number.

We should update the schema to be more stringent about data validation and create a set of "rules" to make sure that the data makes semantic sense as well.

@mvastarelli mvastarelli added bug Something isn't working enhancement New feature or request labels Apr 1, 2022
@mvastarelli mvastarelli added this to the 2.0 milestone Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant