MCPcopy Create free account
hub / github.com/LUX-Core/lux / UpdateHash

Method UpdateHash

src/primitives/transaction.cpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void CTransaction::UpdateHash() const
108{
109 *const_cast<uint256*>(&hash) = SerializeHash(*this, SER_GETHASH, SERIALIZE_TRANSACTION_NO_WITNESS);
110}
111
112uint256 CTransaction::GetWitnessHash() const
113{

Callers 1

Calls 1

SerializeHashFunction · 0.85

Tested by

no test coverage detected