Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding the option to configure fheos' db path via the file or the command-line options (note that fheo's main command still does not parse cmd args or config files, therefore a default configuration is initialized and environment variables are the still only methods to change behaviour).
fheos
category underconf
(not insidefhenix
since that is the config that is going to the warp-drive which does not need to be aware of such things).fheos-db-path
and also includedfheos-security-zones
for the future to make it possible to configure the amount of security zones that are initialized. (This latter, however, can't be used directly right now, since it's accessible from nitro, but nitro does not use it at any point, it is used only via fheo's command line, which does not parse any config but instead only has a default value which can be overriden by the environment varialbe FHEOS_SECURITY_ZONES).Side effects:
init-keys
instead ofinit-state
because the latter was creating a db when it was unnecessary, since nitro created it again nevertheless. Now therun.sh
usesinit-keys
instead, which is more pinpointed to do just that. Maybe we need to ping @davidecostantini thatrun.sh
changed for later versions.monday: 1638809482
nitro: https://github.com/FhenixProtocol/nitro/pull/182