MCPcopy
hub / github.com/jimmysong/programmingbitcoin / hex

Method hex

code-ch13/ecc.py:617–618  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

615 self.point = secret * G
616
617 def hex(self):
618 return '{:x}'.format(self.secret).zfill(64)
619
620 def sign(self, z):
621 k = self.deterministic_k(z)

Callers 15

test_op_hash160Method · 0.45
__repr__Method · 0.45
parseMethod · 0.45
test_serializeMethod · 0.45
test_serializeMethod · 0.45
test_serializeMethod · 0.45
fetchMethod · 0.45
dump_cacheMethod · 0.45
idMethod · 0.45
__repr__Method · 0.45
fetch_txMethod · 0.45
test_sign_inputMethod · 0.45

Calls

no outgoing calls

Tested by 13

test_op_hash160Method · 0.36
test_serializeMethod · 0.36
test_serializeMethod · 0.36
test_serializeMethod · 0.36
test_sign_inputMethod · 0.36
test_parseMethod · 0.36
test_serializeMethod · 0.36
test_addMethod · 0.36
test_filterloadMethod · 0.36
test_populate_tree_1Method · 0.36
test_populate_tree_2Method · 0.36
test_base58Method · 0.36