MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / __init__

Method __init__

src/network/objectracker.py:34–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 initialTimeOffset = 60
33
34 def __init__(self):
35 self.objectsNewToMe = RandomTrackingDict()
36 self.objectsNewToThem = {}
37 self.objectsNewToThemLock = RLock()
38 self.initInvBloom()
39 self.initAddrBloom()
40 self.lastCleaned = time.time()
41
42 def initInvBloom(self):
43 if haveBloom:

Callers

nothing calls this directly

Calls 3

initInvBloomMethod · 0.95
initAddrBloomMethod · 0.95
RandomTrackingDictClass · 0.90

Tested by

no test coverage detected