MCPcopy 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

InitializeNodeMethod · 0.80
FinalizeNodeMethod · 0.80
ProcessHeadersMessageMethod · 0.80
ProcessMessageMethod · 0.80
ProcessMessagesMethod · 0.80
SendMessagesMethod · 0.80
GetLocalAddrForPeerFunction · 0.80
CheckIncomingNonceMethod · 0.80
GetAddedNodeInfoMethod · 0.80
GetNodeCountMethod · 0.80
PushMessageMethod · 0.80

Calls

no outgoing calls

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64