def METHOD_NAME(self, index=0):
    network = Network(
        wallet=Wallet(),
        socket_ports=self.create_socket_ports(index),
    )
    network.ip = '127.0.0.1'
    network.add_action(GET_ALL_PEERS, self.get_peer_list)
    network.add_action(GET_LATEST_BLOCK, self.get_latest_block)
    self.networks.append(network)
    network.get_all_peers = self.get_peer_list
    network.router.cred_provider.get_all_peers = self.get_peer_list
    return network