mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
node: add more tests for refs relay
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
This commit is contained in:
@@ -122,6 +122,16 @@ pub struct Subscribe {
|
||||
pub until: Timestamp,
|
||||
}
|
||||
|
||||
impl Subscribe {
|
||||
pub fn all() -> Self {
|
||||
Self {
|
||||
filter: Filter::default(),
|
||||
since: Timestamp::MIN,
|
||||
until: Timestamp::MAX,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Node announcing itself to the network.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct NodeAnnouncement {
|
||||
|
||||
Reference in New Issue
Block a user