(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