radicle-heartwood-lfs/radicle-node
Slack Coder c676d8b99a node: Set test peer's time on creation
Allow setting a test peer's local time to avoid slight race conditions in
tests.  The race condition's happen because peers created within a test may
unexpectedly have slightly different local times.

To support this, a struct is used as argument to peer::config(..).  The
linter 'cargo clippy' will complain if instead of using a struct, the local
time is passed as an additional parameter in config()'s function call.

Signed-off-by: Slack Coder <slackcoder@server.ky>
2022-12-09 13:14:41 -05:00
..
src node: Set test peer's time on creation 2022-12-09 13:14:41 -05:00
Cargo.toml cobs: allow for batched operations 2022-12-07 17:11:40 +01:00