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

Function can_receive

src/network/asyncore_pollchoose.py:144–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 uploadTimestamp = time.time()
143
144def can_receive():
145 return maxDownloadRate == 0 or downloadBucket > 0
146
147def can_send():
148 return maxUploadRate == 0 or uploadBucket > 0

Callers 2

readFunction · 0.85
readwriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected