[docs] fix NetworkMessage::Ping docs link
This commit is contained in:
parent
5f373180ff
commit
680aa2aaf4
@ -108,7 +108,7 @@ impl Peer {
|
|||||||
/// Connect to a peer over a plaintext TCP connection
|
/// Connect to a peer over a plaintext TCP connection
|
||||||
///
|
///
|
||||||
/// This function internally spawns a new thread that will monitor incoming messages from the
|
/// This function internally spawns a new thread that will monitor incoming messages from the
|
||||||
/// peer, and optionally reply to some of them transparently, like [pings](NetworkMessage::Ping)
|
/// peer, and optionally reply to some of them transparently, like [pings](bitcoin::network::message::NetworkMessage::Ping)
|
||||||
pub fn connect<A: ToSocketAddrs>(
|
pub fn connect<A: ToSocketAddrs>(
|
||||||
address: A,
|
address: A,
|
||||||
mempool: Arc<Mempool>,
|
mempool: Arc<Mempool>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user