From 1e156a5d604025839582cf4c6788b9fdc07280e9 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 5 Feb 2021 08:11:21 +1000 Subject: [PATCH] Document that connect_isolated only works on mainnet Document that connect_isolated only works on mainnet. See #1687. --- zebra-network/src/isolated.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zebra-network/src/isolated.rs b/zebra-network/src/isolated.rs index 1d6132f2..759f45dc 100644 --- a/zebra-network/src/isolated.rs +++ b/zebra-network/src/isolated.rs @@ -35,6 +35,10 @@ use crate::{peer, BoxError, Config, Request, Response}; /// connection allows this method to be used with clearnet or Tor transports. /// /// - `user_agent`: a valid BIP14 user-agent, e.g., the empty string. +/// +/// # Bug +/// +/// `connect_isolated` only works on `Mainnet`, see #1687. pub fn connect_isolated( conn: TcpStream, user_agent: String,