MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetCommand

Method GetCommand

src/protocol.cpp:102–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102std::string CMessageHeader::GetCommand() const
103{
104 return std::string(pchCommand, pchCommand + strnlen(pchCommand, COMMAND_SIZE));
105}
106
107bool CMessageHeader::IsCommandValid() const
108{

Callers 4

bitcoin-util.cppFile · 0.45
mainFunction · 0.45
readHeaderMethod · 0.45
GetMessageMethod · 0.45

Calls 1

strnlenFunction · 0.85

Tested by

no test coverage detected