- EB3F3EC3FA23E3F350B870585FDBE7CCB548B4B4A266699F943CD97148D4130495D98399F73FA7E8466C61655EA5BCFEE005D1EF07C8FAE66EE91640B9BF0444
+ 9D70F920B8F62BCBC311319DFE98461EBD73E787CC1B97005B2F807F76F4FE99FB45A6650A04A149A854C8C547E87C77D00AFC39426A6756BCD5D7E5D8881221
blatta/lib/message.py
(297 . 10)(297 . 6)
29 def gen_hash(cls, message_bytes):
30 return hashlib.sha256(message_bytes).digest()
31
32 def set_warning(self):
33 if self.timestamp < self.state.get_latest_message_timestamp():
34 self.warning = time.strftime("%Y-%m-%d %H:%M:%S: ", time.localtime(self.timestamp))
35
36 def get_message_bytes(self, peer=None):
37 command = self.command
38 speaker = Message._pad(self.speaker, MAX_SPEAKER_SIZE)