This is a change to the config.json file which removes certain options
that are best not touched and changes some options to make them easier
to work with.
-
We change the default journaling mode to “wal” and remove the config option.
-
We remove the option to set the peer connection “target”, as it’s not a good idea to set this to a different value, as it affects the network.
-
We combine seeding policy & scope, since there’s no need to set the scope when the policy is “block”. In that case, we always want to block “all” remotes. The new policy configuration has the following schema:
{ seedingPolicy: { default: “block” | “allow”, scope?: “all” | “followed” } }
The “scope” key is not used when “default” is set to “block”.
-
We add an
extrafield to the node config for options that are not recognized. We use this to warn the user.
This is a change to the config.json file which removes certain options
that are best not touched and changes some options to make them easier
to work with.
-
We change the default journaling mode to “wal” and remove the config option.
-
We remove the option to set the peer connection “target”, as it’s not a good idea to set this to a different value, as it affects the network.
-
We combine seeding policy & scope, since there’s no need to set the scope when the policy is “block”. In that case, we always want to block “all” remotes. The new policy configuration has the following schema:
{ seedingPolicy: { default: “block” | “allow”, scope?: “all” | “followed” } }
The “scope” key is not used when “default” is set to “block”.
-
We add an
extrafield to the node config for options that are not recognized. We use this to warn the user.
Fix tests.