MCPcopy Index your code
hub / github.com/jimmysong/programmingbitcoin / hash160

Method hash160

code-ch13/ecc.py:420–421  ·  view source on GitHub ↗
(self, compressed=True)

Source from the content-addressed store, hash-verified

418 self.y.num.to_bytes(32, 'big')
419
420 def hash160(self, compressed=True):
421 return hash160(self.sec(compressed))
422
423 def address(self, compressed=True, testnet=False):
424 '''Returns the address string'''

Callers 1

addressMethod · 0.95

Calls 2

secMethod · 0.95
hash160Function · 0.90

Tested by

no test coverage detected