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

Method __hash__

bitcoin/core/serialize.py:124–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122 return not (self == other)
123
124 def __hash__(self):
125 return hash(self.serialize())
126
127class ImmutableSerializable(Serializable):
128 """Immutable serializable object"""

Callers

nothing calls this directly

Calls 1

serializeMethod · 0.95

Tested by

no test coverage detected