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

Method ComputeHash

src/primitives/transaction.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81uint256 CTransaction::ComputeHash() const
82{
83 return SerializeHash(*this, SER_GETHASH, SERIALIZE_TRANSACTION_NO_WITNESS);
84}
85
86uint256 CTransaction::ComputeWitnessHash() const
87{

Callers

nothing calls this directly

Calls 1

SerializeHashFunction · 0.85

Tested by

no test coverage detected