Skip to content
Snippets Groups Projects

Write `get-file` and commands to get the list of blocks from another node

3 files
+ 7
7
Compare changes
  • Side-by-side
  • Inline

Files

@@ -235,7 +235,7 @@ where
}
}
pub(crate) struct Behaviour<F, G>
pub(crate) struct BlockBehaviour<F, G>
where
F: PrimeField,
G: CurveGroup<ScalarField = F>,
@@ -246,7 +246,7 @@ where
events: VecDeque<ToSwarm<DragoonEvent<F, G>, InEvent>>,
}
impl<F, G> Behaviour<F, G>
impl<F, G> BlockBehaviour<F, G>
where
F: PrimeField,
G: CurveGroup<ScalarField = F>,
@@ -347,7 +347,7 @@ where
}
}
impl<F, G> NetworkBehaviour for Behaviour<F, G>
impl<F, G> NetworkBehaviour for BlockBehaviour<F, G>
where
F: PrimeField,
G: CurveGroup<ScalarField = F>,
Loading