code: def rpc_get_namespace_blockchain_record( self, namespace_id, **con_info ):
          
          if not check_namespace(namespace_id):
              return {'error': 'Invalid name or namespace', 'http_status': 400}
  
          db = get_db_state(self.working_dir)
          ns = db.get_namespace( namespace_id )
          if ns is None:
              # maybe revealed?
              ns = db.get_namespace_reveal( namespace_id )
              db.close()
  
              if ns is None:
                  return {"error": "No such namespace", 'http_status': 404}
  
              assert 'opcode' in ns, 'BUG: missing opcode in {}'.format(json.dumps(ns, sort_keys=True))
              ns = self.sanitize_rec(ns)
  
              ns['ready'] = False
              return self.success_response( {'record': ns} )
  
          else:
              db.close()
              
              assert 'opcode' in ns, 'BUG: missing opcode in {}'.format(json.dumps(ns, sort_keys=True))
              ns = self.sanitize_rec(ns)
  
              ns['ready'] = True
              return self.success_response( {'record': ns} )
docs: Return the namespace with the given namespace_id
          Return {'status': True, 'record': ...} on success
          Return {'error': ...} on error