node: Add ability to have default tracking policy
modified radicle-node/src/runtime.rs
@@ -111,7 +111,8 @@ impl<G: Signer + EcSign + 'static> Runtime<G> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/service.rs
@@ -92,6 +92,8 @@ pub enum Error {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -261,11 +263,13 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -340,6 +344,9 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/config.rs
@@ -2,6 +2,7 @@ use localtime::LocalDuration;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -44,6 +45,8 @@ pub struct Config {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -54,6 +57,7 @@ impl Default for Config {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-node/src/service/tracking.rs
@@ -1,8 +1,16 @@
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -36,3 +44,65 @@ impl FromStr for Scope {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-node/src/service/tracking/store.rs
@@ -8,7 +8,7 @@ use thiserror::Error;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -20,8 +20,6 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
modified radicle-node/src/test/peer.rs
@@ -16,6 +16,7 @@ use crate::prelude::*;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -82,6 +83,7 @@ pub struct Config<G: Signer + 'static> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -95,6 +97,7 @@ impl Default for Config<MockSigner> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -113,7 +116,8 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|