Currently the configuration handling in Bitcoin-ABC is very disparate and somewhat all over the place. We would like to setup a global configuration structure whereby config parameter data may be registered with a global configuration handler from the module that they are relevant.
The parameter data structures should include:
- Long flag and config file parameter name.
- Data type
- Validation methods
- Help message data.
Ideally, the obtain the value for the argument, the particular instance of the argument data structure may be provided to the global registry.