radicle-heartwood-lfs/radicle-node
cloudhead b24f8a30d6
node: Update inventory when unseeding
Previously, our advertized inventory was not always correct: when we
stopped seeding a repository, it was still advertised as part of our
inventory until node restart, because the `Storage` type doesn't have
access to seeding policies.

In this change, we remove the concept of inventory from `Storage` and
make the authoritative place for it the routing table in our database.

To make this work, we have to add our node to the database on profile
creation, to not violate the foreign key constraint on the routing
table. Hence, the tests are changed to include our alias which is now
always available.
2024-06-12 15:36:34 +02:00
..
src node: Update inventory when unseeding 2024-06-12 15:36:34 +02:00
Cargo.toml Bump crate versions 2024-06-05 16:51:55 +02:00
build.rs Update radicle crates to 0.9.0 2024-03-26 11:56:27 +01:00