From 37035877533f3ed26fa913a8304f9f5fdf1db380 Mon Sep 17 00:00:00 2001 From: subtly Date: Tue, 14 Apr 2015 03:32:23 -0400 Subject: [PATCH] doc static for testing --- libp2p/Common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libp2p/Common.h b/libp2p/Common.h index 8d85d215e..858b220ab 100644 --- a/libp2p/Common.h +++ b/libp2p/Common.h @@ -156,6 +156,7 @@ using PeerSessionInfos = std::vector; */ struct NodeIPEndpoint { + /// Setting true causes isValid to return true for all addresses. Defaults to false. Used by test fixtures. static bool test_allowLocal; NodeIPEndpoint(): address() {}