MCPcopy Index your code
hub / github.com/petertodd/python-bitcoinlib / GetHash

Method GetHash

bitcoin/core/serialize.py:111–113  ·  view source on GitHub ↗

Return the hash of the serialized object

(self)

Source from the content-addressed store, hash-verified

109 return r
110
111 def GetHash(self):
112 """Return the hash of the serialized object"""
113 return Hash(self.serialize())
114
115 def __eq__(self, other):
116 if (not isinstance(other, self.__class__) and

Callers 1

GetHashMethod · 0.45

Calls 2

serializeMethod · 0.95
HashFunction · 0.85

Tested by

no test coverage detected