Skip to content

Commit 1eb752e

Browse files
committed
chore: add docs
1 parent 529d794 commit 1eb752e

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

crates/charon-p2p/src/relay/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pub const MB_32: u64 = 32 * 1024 * 1024;
1414
/// External host resolve interval.
1515
pub const EXTERNAL_HOST_RESOLVE_INTERVAL: Duration = Duration::from_secs(5 * 60);
1616

17-
// todo: make more typed
1817
/// Configuration for the relay P2P layer.
1918
#[derive(Default, Debug, Clone)]
2019
pub struct Config {

crates/charon-p2p/src/relay/p2p.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(missing_docs)]
2-
31
use std::{sync::Arc, time::Duration};
42

53
use k256::SecretKey;
@@ -19,6 +17,7 @@ use crate::{
1917
},
2018
};
2119

20+
/// Runs a relay P2P node.
2221
#[instrument(skip(config, key, ct))]
2322
pub async fn run_relay_p2p_node(
2423
config: &Config,

0 commit comments

Comments
 (0)