Trigger startup errors if bitcoin is configured with bad setting values according to flags. Also raise internal errors if settings are registered and retrieved with inconsistent flags.
This change has no effect on behavior because the new ArgsManager flags added here are not used outside of tests yet.
It’ll probably be more productive to start applying type checking flags to new arguments than existing arguments. But for examples of how type checking flags make sense applied to some existing arguments see:
Type | Example |
---|---|
ALLOW_BOOL | 4719738f602a681eb0d1633fbb1651f42cc93129 |
ALLOW_INT | 7f7d82b521b7d78ea9eccab18f068e2881eefafc |
ALLOW_INT | ALLOW_BOOL | 6865a198f5db30bd494b3a2540f47ee728963908 |
ALLOW_STRING | 51ca84ecfcad3b8b2a85d75c8c1da61d97c2ca9b |
ALLOW_STRING | ALLOW_LIST | 012a320038158a532bd3662c99cd8211941659d2 |