radicle-heartwood-lfs/radicle-node/src
Alexis Sellier 3ae7e305bd
node: Simplify configuration
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.

1. We change the default journaling mode to "wal" and remove the config
   option.
2. 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.
3. 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".

4. We add an `extra` field to the node config for options that are not
   recognized. We use this to warn the user.
2024-06-04 14:08:15 +02:00
..
runtime cli: Add `rad node debug` command 2024-05-21 16:00:30 +02:00
service node: Implement staggered broadcast for gossip 2024-05-24 16:44:22 +02:00
test node: Simplify configuration 2024-06-04 14:08:15 +02:00
tests fetch: remove `.keep` files 2024-05-16 15:47:14 +02:00
wire node: Set TCP_KEEPALIVE on sockets 2024-05-22 14:46:08 +02:00
worker node: reduce default upload-pack timeout 2024-05-17 21:05:50 +02:00
bounded.rs node: Use inventory cache for checking missing 2024-05-13 16:37:02 +02:00
control.rs cli: Add `rad node debug` command 2024-05-21 16:00:30 +02:00
deserializer.rs node: Use `BoundedVec` for inbox 2024-05-07 14:49:02 +02:00
lib.rs signals: Move signal handling to its own crate 2024-05-03 14:30:51 +02:00
main.rs radicle: Fix file limit setting for FreeBSD 2024-05-21 13:48:44 +02:00
runtime.rs node: Simplify configuration 2024-06-04 14:08:15 +02:00
service.rs node: Simplify configuration 2024-06-04 14:08:15 +02:00
test.rs radicle: expose shared logger 2023-12-20 15:11:10 +01:00
tests.rs node: Implement staggered broadcast for gossip 2024-05-24 16:44:22 +02:00
wire.rs node: Ignore messages from newer protocol versions 2024-05-22 13:56:47 +02:00
worker.rs node: Simplify configuration 2024-06-04 14:08:15 +02:00