Browse Source

doc static for testing

cl-refactor
subtly 10 years ago
parent
commit
3703587753
  1. 1
      libp2p/Common.h

1
libp2p/Common.h

@ -156,6 +156,7 @@ using PeerSessionInfos = std::vector<PeerSessionInfo>;
*/
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() {}

Loading…
Cancel
Save