def METHOD_NAME(self):
    source_folder = os.path.join(self.data_folder, ".bitcoin")
    if not os.path.isdir(source_folder):
        logger.info(
            "No .bitcoin directory found in {self.data_folder}. Nothing to do"
        )
        return
    if not os.path.isdir(os.path.join(self.data_folder, "bitcoin-binaries")):
        raise SpecterError(
            "Could not proceed with migration as bitcoin-binaries are not existing."
        )
    if not self._check_port_free():
        logger.error(
            "There is already a Node with the default port configured or running. Won't migrate!"
        )
        return
    # The version will be the version shipped with specter
    bitcoin_version = BaseConfig.INTERNAL_BITCOIND_VERSION
    logger.info(f".bitcoin directory detected in {self.data_folder}. Migrating ...")
    recommended_name = self._find_appropriate_name()
    target_folder = os.path.join(self.data_folder, "nodes", recommended_name)
    logger.info(f"Migrating to folder {target_folder}")
    os.makedirs(target_folder)
    logger.info(f"Moving .bitcoin to folder {target_folder}")
    shutil.move(source_folder, os.path.join(target_folder, ".bitcoin-main"))
    if os.path.isdir(os.path.join(source_folder, "bitcoin.conf")):
        logger.info("Removing bitcoin.conf file")
        os.remove(os.path.join(source_folder, "bitcoin.conf"))
    definition_file = os.path.join(target_folder, "specter_bitcoin.json")
    logger.info(
        f"Creating {definition_file}. This will cause some warnings and even errors about not being able to connect to the node which can be ignored."
    )
    nm = NodeManager(
        data_folder=os.path.join(self.data_folder, "nodes"),
        bitcoind_path=os.path.join(
            self.data_folder, "bitcoin-binaries", "bin", "bitcoind"
        ),
        internal_bitcoind_version=bitcoin_version,
    )
    # Should create a json (see fullpath) like the one below:
    node = nm.add_internal_node(recommended_name)
    # {
    #     "name": "Specter Bitcoin",
    #     "alias": "specter_bitcoin",
    #     "autodetect": false,
    #     "datadir": "/home/someuser/.specter/nodes/specter_bitcoin/.bitcoin-main",
    #     "user": "bitcoin",
    #     "password": "3ah0yc-2dDEwUSqHuuZi-w",
    #     "port": 8332,
    #     "host": "localhost",
    #     "protocol": "http",
    #     "external_node": false,
    #     "fullpath": "/home/someuser/.specter/nodes/specter_bitcoin.json",
    #     "bitcoind_path": "/home/someuser/.specter/bitcoin-binaries/bin/bitcoind",
    #     "bitcoind_network": "main",
    #     "version": "0.21.1"
    # }