Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/jimmysong/programmingbitcoin
/ encode_base58_checksum
Function
encode_base58_checksum
code-ch13/helper.py:52–53 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
50
51
52
def
encode_base58_checksum(s):
53
return
encode_base58(s + hash256(s)[:4])
54
55
56
def
decode_base58(s):
Callers
5
address
Method · 0.90
wif
Method · 0.90
h160_to_p2pkh_address
Function · 0.70
h160_to_p2sh_address
Function · 0.70
test_base58
Method · 0.70
Calls
2
encode_base58
Function · 0.70
hash256
Function · 0.70
Tested by
1
test_base58
Method · 0.56