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

Function can_send

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

Source from the content-addressed store, hash-verified

145 return maxDownloadRate == 0 or downloadBucket > 0
146
147def can_send():
148 return maxUploadRate == 0 or uploadBucket > 0
149
150def update_received(download=0):
151 global receivedBytes, downloadBucket, downloadTimestamp

Callers 2

writeFunction · 0.85
readwriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected