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

Method GetHash

src/p2p/protocol.cpp:192–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192uint256 CPBFTMessage::GetHash() const {
193 CHashWriter ss(SER_GETHASH, CLIENT_VERSION);
194 ss << msgType << blockHash << height<< miner << preBlockHash;
195 return ss.GetHash();
196}

Callers 5

ProcessGetDataFunction · 0.45
ProcessAddrMessageFunction · 0.45
ProcessTxMessageFunction · 0.45
ProcessBlockMessageFunction · 0.45
ProcessAlertMessageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected