Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
144
def
can_receive():
145
return
maxDownloadRate == 0 or downloadBucket > 0
146
147
def
can_send():
148
return
maxUploadRate == 0 or uploadBucket > 0
Callers
2
read
Function · 0.85
readwrite
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected