MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / SetVersion

Method SetVersion

src/p2p/netmessage.h:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void SetVersion(int32_t nVersionIn) {
37 hdrbuf.SetVersion(nVersionIn);
38 vRecv.SetVersion(nVersionIn);
39 }
40
41 int32_t readHeader(const char* pch, uint32_t nBytes);
42 int32_t readData(const char* pch, uint32_t nBytes);

Callers 3

ReadKeyValueFunction · 0.45
SetRecvVersionMethod · 0.45
ProcessVersionMessageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected