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

Method GetHash

src/primitives/transaction.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 vin(tx.vin), vout(tx.vout), nVersion(tx.nVersion), nLockTime(tx.nLockTime), witness(tx.witness) {}
75
76uint256 CMutableTransaction::GetHash() const
77{
78 return SerializeHash(*this, SER_GETHASH, SERIALIZE_TRANSACTION_NO_WITNESS);
79}
80
81uint256 CTransaction::ComputeHash() const
82{

Callers 1

GetWitnessOnlyHashMethod · 0.45

Calls 1

SerializeHashFunction · 0.85

Tested by

no test coverage detected