MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / clear

Method clear

src/inventory.py:66–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 return retval
65
66 def clear(self):
67 with self.lock:
68 newPending = {}
69 for hashId in self.pending:
70 if self.pending[hashId] + PendingDownloadQueue.maxWait > time.time():
71 newPending[hashId] = self.pending[hashId]
72 self.pending = newPending
73
74 @staticmethod
75 def totalSize():

Callers 15

HandleCreateChanMethod · 0.80
HandleJoinChanMethod · 0.80
runMethod · 0.80
reloadMyAddressHashesFunction · 0.80
runMethod · 0.80
runMethod · 0.80
close_allFunction · 0.80
flushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected