def get_prefix(self): """@returns: the beginning of the message from this relay""" #send back the PAR version first, so that people can deal with the message intelligently msg = Basic.write_byte(self.parVersion) #send back our hexid, so they know who this is from: msg += Basic.write_hexid(Globals.FINGERPRINT) return msg