- F6B26AA5D1367C471975FF5E943315E7136AB40D21C7A329E030A2CFFFC06B4E8C3C143844560DB05B9233087617D571B0D460F0C4FF63E61AFC58D79FD4A986
+ 842D56751FD2E61CAA10C290815B740C3D4A0170D705C8F47FF4CE5604B73FB82494B3B4CBE656F25DF2ADC8D348E001C4FB6568B3149BC2F977417D29DF4668
blatta/lib/infosec.py
(91 . 7)(91 . 7)
64 logging.error("aborting send: message modified by station!")
65 return
66
67 for peer in self.state.get_keyed_peers():
68 for peer in self.state.get_keyed_peers(exclude_addressless=True):
69
70 # we don't want to send a broadcast back to the originator
71 if message.peer and (peer.peer_id == message.peer.peer_id):
(132 . 7)(132 . 7)
73 if message.command != IGNORE:
74 logging.debug("packing message bytes: %s" % message.body)
75 else:
76 logging.debug("packing rubbish message bytes: %s" % binascii.hexlify(message.body))
77 logging.debug("packing rubbish message bytes: %s" % binascii.hexlify(message.body)[0:8])
78
79 message_bytes = struct.pack(MESSAGE_PACKET_FORMAT, message.timestamp, self_chain, net_chain, speaker, message.body)
80 return message_bytes