Skip to content

Commit 2eb70e5

Browse files
committed
test(p2p): fix doc
1 parent e16e26b commit 2eb70e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

p2p/testing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ peer ID already.
2929

3030
**Tests:** TODO
3131

32-
### Node shouldn't try to connect to itself
33-
34-
The node can obtain its address from other peers. It shouldn't be used when connecting to new peers.
35-
36-
**Tests:** TODO
37-
3832
### Node shouldn't accept connection from itself
3933

4034
The node shouldn't accept a connection from a peer that uses the same peer id as
@@ -50,6 +44,12 @@ malicious node that uses the same peer ID.
5044
- [`p2p_basic_outgoing(make_connection)`](../node/testing/src/scenarios/p2p/basic_outgoing_connections.rs#L19)
5145
- [`p2p_basic_outgoing(make_multiple_connections)`](../node/testing/src/scenarios/p2p/basic_outgoing_connections.rs#L74)
5246

47+
### Node shouldn't try to connect to itself
48+
49+
The node can obtain its address from other peers. It shouldn't use it when connecting to new peers.
50+
51+
**Tests:** TODO
52+
5353
### Node should connect to all available initial peers
5454

5555
TODO: what if the number of initial peers exceeds the max number of peers?

0 commit comments

Comments
 (0)