Skip to content

Commit

Permalink
start handshaker builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Boog900 committed Jun 17, 2024
1 parent c837f2f commit 7cf3791
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions p2p/monero-p2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ tower = { workspace = true, features = ["util", "tracing"] }

thiserror = { workspace = true }
tracing = { workspace = true, features = ["std", "attributes"] }
hex-literal = { workspace = true }

borsh = { workspace = true, features = ["derive", "std"], optional = true }

Expand Down
4 changes: 3 additions & 1 deletion p2p/monero-p2p/src/client/handshaker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
//! to complete a handshake with them.
//!
//! This module also contains a [`ping`] function that can be used to check if an address is reachable.
mod builder;

use std::{
future::Future,
marker::PhantomData,
Expand All @@ -18,7 +20,7 @@ use tokio::{
time::{error::Elapsed, timeout},
};
use tower::{Service, ServiceExt};
use tracing::{info_span, Instrument};
use tracing::{info_span, Instrument, Span};

use monero_pruning::{PruningError, PruningSeed};
use monero_wire::{
Expand Down

0 comments on commit 7cf3791

Please sign in to comment.