docs: def get_db_filename(impl, working_dir):
      """
      Get the absolute path to the last-block file.
      """
      db_filename = impl.get_virtual_chain_name() + ".db"
      return os.path.join(working_dir, db_filename)