示例#1
0
文件: network.py 项目: cradle/pycoin
 def not_recieved(self, iv):
     if iv in self.in_flight:
         self.in_flight.discard(iv)
         requestq.no_reply(self.peer_address.ip, iv, failed=True)
         print("No reply", iv.hash)
示例#2
0
文件: network.py 项目: cradle/pycoin
 def on_close(self):
     for iv in in_flight:
         requestq.no_reply(self.peer_address.ip, iv, failed=False)