node: Ensure we don't prune our own routes
Filter out routing entries of our own node when prunning.
2 files changed
+21
-7
52554af4
→
0e084523
modified radicle-node/src/service.rs
@@ -2377,9 +2377,11 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle/src/node/routing.rs
@@ -64,7 +64,12 @@ pub trait Store {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -210,18 +215,25 @@ impl Store for Database {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -479,7 +491,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|