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

Method GetHash

src/alert.cpp:92–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90bool CAlert::IsNull() const { return (nExpiration == 0); }
91
92uint256 CAlert::GetHash() const { return Hash(this->vchMsg.begin(), this->vchMsg.end()); }
93
94bool CAlert::IsInEffect() const { return (GetAdjustedTime() < nExpiration); }
95

Callers 10

AcceptToMemoryPoolFunction · 0.45
ProcessGenesisBlockFunction · 0.45
ConnectBlockFunction · 0.45
DisconnectTipFunction · 0.45
ConnectTipFunction · 0.45
AddToBlockIndexFunction · 0.45
ProcessForkedChainFunction · 0.45
CheckBlockFunction · 0.45
AcceptBlockFunction · 0.45
ProcessBlockFunction · 0.45

Calls 3

HashFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected