Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
147
def
can_send():
148
return
maxUploadRate == 0 or uploadBucket > 0
149
150
def
update_received(download=0):
151
global receivedBytes, downloadBucket, downloadTimestamp
Callers
2
write
Function · 0.85
readwrite
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected