MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ReceivedMessageComplete

Method ReceivedMessageComplete

src/net.cpp:1078–1085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1076}
1077
1078bool V2Transport::ReceivedMessageComplete() const noexcept
1079{
1080 AssertLockNotHeld(m_recv_mutex);
1081 LOCK(m_recv_mutex);
1082 if (m_recv_state == RecvState::V1) return m_v1_fallback.ReceivedMessageComplete();
1083
1084 return m_recv_state == RecvState::APP_READY;
1085}
1086
1087void V2Transport::ProcessReceivedMaybeV1Bytes() noexcept
1088{

Callers 5

ReceiveMsgBytesMethod · 0.80
InteractMethod · 0.80
SimulationTestFunction · 0.80
GetNetMsgMethod · 0.80

Calls

no outgoing calls

Tested by 3

InteractMethod · 0.64
SimulationTestFunction · 0.64
GetNetMsgMethod · 0.64