MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetCommand

Method GetCommand

src/protocol.cpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96std::string CMessageHeader::GetCommand() const
97{
98 return std::string(pchCommand, pchCommand + strnlen(pchCommand, COMMAND_SIZE));
99}
100
101bool CMessageHeader::IsValid(const MessageStartChars& pchMessageStartIn) const
102{

Callers 1

ProcessMessagesMethod · 0.80

Calls 1

strnlenFunction · 0.85

Tested by

no test coverage detected