radicle-heartwood-lfs/radicle-node/src
Fintan Halpenny adf6312a55
node: fetch trusted peers on clone
When a repository does not yet exist during a fetch, i.e. a clone,
then only delegates are being fetched.

Augment Namespaces::Many to hold the trusted and optional delegate peers
separately. Doing so allows the construction of the variant without
the repository existing, but tracking relationships existing.

This variant can then be used to build refspecs for both the trusted
peers and delegates when doing a cloning fetch.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-03-31 12:23:31 +01:00
..
address node: Move `routing` to `radicle` crate 2023-03-15 12:59:49 +01:00
runtime node: Replace most sleeps with events 2023-03-30 10:24:06 +02:00
service node: fetch trusted peers on clone 2023-03-31 12:23:31 +01:00
test node: fetch trusted peers on clone 2023-03-31 12:23:31 +01:00
tests node: fetch trusted peers on clone 2023-03-31 12:23:31 +01:00
wire node: Don't penalize peer for protocol mismatch 2023-03-24 13:23:43 +01:00
worker node: fetch trusted peers on clone 2023-03-31 12:23:31 +01:00
address.rs Remove unused type 2022-10-18 12:37:01 +02:00
bounded.rs node: Complete the "relay" seed test 2023-02-14 20:31:40 +01:00
control.rs node: Remove `Handle::inventory` method 2023-03-15 12:59:49 +01:00
deserializer.rs node: Use deserializer when decoding messages 2023-03-16 15:26:13 +01:00
lib.rs node: Move `routing` to `radicle` crate 2023-03-15 12:59:49 +01:00
logger.rs Rust 1.67 2023-02-04 19:30:29 +01:00
main.rs node: Add commit SHA-1 to log 2023-03-22 08:52:52 +01:00
runtime.rs node: multistep fetching logic 2023-03-31 12:19:36 +01:00
service.rs node: fetch trusted peers on clone 2023-03-31 12:23:31 +01:00
signals.rs node: Handle `SIGINT` and `SIGTERM` properly 2023-02-14 13:28:16 +01:00
sql.rs Use database transactions where appropriate 2022-11-08 09:39:23 +01:00
test.rs node: Create shared test environment 2023-02-07 10:46:12 +01:00
tests.rs node: Replace most sleeps with events 2023-03-30 10:24:06 +02:00
wire.rs crypto: Cleanup `hash` module 2023-02-17 10:51:27 +01:00
worker.rs node: multistep fetching logic 2023-03-31 12:19:36 +01:00