Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_hash160
Method · 0.45
__repr__
Method · 0.45
parse
Method · 0.45
test_serialize
Method · 0.45
test_serialize
Method · 0.45
test_serialize
Method · 0.45
fetch
Method · 0.45
dump_cache
Method · 0.45
id
Method · 0.45
__repr__
Method · 0.45
fetch_tx
Method · 0.45
test_sign_input
Method · 0.45
Calls
no outgoing calls
Tested by
13
test_op_hash160
Method · 0.36
test_serialize
Method · 0.36
test_serialize
Method · 0.36
test_serialize
Method · 0.36
test_sign_input
Method · 0.36
test_parse
Method · 0.36
test_serialize
Method · 0.36
test_add
Method · 0.36
test_filterload
Method · 0.36
test_populate_tree_1
Method · 0.36
test_populate_tree_2
Method · 0.36
test_base58
Method · 0.36