code: def rpc_get_all_names( self, offset, count, **con_info ):
          
          if not check_offset(offset):
              return {'error': 'invalid offset', 'http_status': 400}
  
          if not check_count(count, 100):
              return {'error': 'invalid count', 'http_status': 400}
  
          db = get_db_state(self.working_dir)
          num_domains = db.get_num_names()
          if num_domains > offset:
             all_domains = db.get_all_names( offset=offset, count=count )
          else:
             all_domains = []
          db.close()
  
          return self.success_response( {'names': all_domains} )
docs: Get all unexpired names, paginated
          Return {'status': true, 'names': [...]} on success
          Return {'error': ...} on error