Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ close_sock
Method
close_sock
test/functional/interface_http.py:50–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
return
True
49
50
def
close_sock(self):
51
self.conn.close()
52
53
def
set_timeout(self, seconds):
54
self.conn.sock.settimeout(seconds)
Callers
2
check_default_connection
Method · 0.95
check_keepalive_connection
Method · 0.95
Calls
1
close
Method · 0.45
Tested by
no test coverage detected