Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ IsInboundConn
Method
IsInboundConn
src/net.h:841–843 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
839
}
840
841
bool IsInboundConn() const {
842
return m_conn_type == ConnectionType::INBOUND;
843
}
844
845
bool ExpectServicesFromConn() const {
846
switch (m_conn_type) {
Callers
15
InitializeNode
Method · 0.80
FinalizeNode
Method · 0.80
ProcessHeadersMessage
Method · 0.80
ProcessMessage
Method · 0.80
ProcessMessages
Method · 0.80
SendMessages
Method · 0.80
GetLocalAddrForPeer
Function · 0.80
CheckIncomingNonce
Method · 0.80
CreateNodeFromAcceptedSocket
Method · 0.80
GetAddedNodeInfo
Method · 0.80
GetNodeCount
Method · 0.80
PushMessage
Method · 0.80
Calls
no outgoing calls
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_FIXTURE_TEST_CASE
Function · 0.64