radicle-heartwood-lfs/radicle-node/src
Fintan Halpenny eb095c109b
fetch: allow missing default branch
When fetching, the validation logic would prune a delegate if it was missing the
default branch. Originally, this was done to prevent any broken state, but later
it was realised that this can be too restrictive and would not allow nodes to
recover into an improved state.

Remove this check so thtat nodes can still fetch from each other when the
default branch is missing.

An e2e test is added to show that nodes can still fetch from each other and
still receive other references, even when a delegate is missing their default
branch.
2024-11-06 16:47:01 +01:00
..
runtime cli: Try to connect to seeds specified as options 2024-11-05 12:18:12 +01:00
service cli: Try to connect to seeds specified as options 2024-11-05 12:18:12 +01:00
test cli: Try to connect to seeds specified as options 2024-11-05 12:18:12 +01:00
tests fetch: allow missing default branch 2024-11-06 16:47:01 +01:00
wire node: Don't panic on connection logic error 2024-06-26 11:31:07 +02:00
worker Include new `rad/root` in signed refs 2024-10-21 16:32:49 +02:00
bounded.rs node: Use inventory cache for checking missing 2024-05-13 16:37:02 +02:00
control.rs cli: Try to connect to seeds specified as options 2024-11-05 12:18:12 +01:00
deserializer.rs node: Use `BoundedVec` for inbox 2024-05-07 14:49:02 +02:00
lib.rs build: Update env vars for build process 2024-06-20 10:47:50 +02:00
main.rs node: Fix `main` to print early errors 2024-07-22 12:37:57 -07:00
runtime.rs Update `rust-toolchain` to 1.80 2024-08-06 14:37:21 +02:00
service.rs radicle: refactor doc 2024-10-22 14:58:12 +01:00
test.rs radicle: expose shared logger 2023-12-20 15:11:10 +01:00
tests.rs radicle: refactor doc 2024-10-22 14:58:12 +01:00
wire.rs node: Add agent and version to node announcement 2024-06-13 11:28:09 +02:00
worker.rs radicle: refactor doc 2024-10-22 14:58:12 +01:00