Configuration Overhaul RFC#3
Conversation
Signed-off-by: Dmitry Balashov <a.marcius26@gmail.com>
|
I think we should also add a way to inject private parameters in a configuration. Those parameters should start with an underscore and should never be a part of our public API contract (and would most likely be only used during testing). If any user depends on this parameter it's on their own responsibility. A good example of such a parameter is |
|
@mversic, I thought about this topic too when faced those several parameters "for development/debugging/testing purposes". Agreed that they should not be a part of our public API. As for the format, I have some alternatives. IMO, using named nested sections for it might be more explicit: [sumeragi.debug]
force_soft_fork = true
[kura.debug]
output_new_blocks = trueAnother way might be to have an entirely separate [debug]
sumeragi.force_soft_fork = true
kura.output_new_blocks = trueNot sure what keyword to use for it: |
- Include dev-only fields - Include migration tool mention - Include human-readable types proposal - Remove "dual view" proposal as extra Signed-off-by: Dmitry Balashov <a.marcius26@gmail.com>
|
New changes:
|
Signed-off-by: Dmitry Balashov <a.marcius26@gmail.com>
Rendered
Original PR:
Checklist