Add a P2P connection to the node. Helper to connect and wait for version handshake.
(self, *, num_connections=1)
| 30 | self.skip_if_no_wallet() |
| 31 | |
| 32 | def bootstrap_p2p(self, *, num_connections=1): |
| 33 | """Add a P2P connection to the node. |
| 34 | |
| 35 | Helper to connect and wait for version handshake.""" |
| 36 | for _ in range(num_connections): |
| 37 | self.nodes[0].add_p2p_connection(P2PDataStore()) |
| 38 | |
| 39 | def reconnect_p2p(self, **kwargs): |
| 40 | """Tear down and bootstrap the P2P connection to the node. |
no test coverage detected