1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-10-31 20:48:58 +00:00
bitcoinbook/code
Fan c6fa743597
Update key-to-address-ecc-example.py
If line#24 use 'wif_compressed', it will produce a wrong Key (WIF-Compressed) started with 2.

So there should be 'wif', unless :
wif_compressed_private_key = bitcoin.encode_privkey(
    bitcoin.decode_privkey(private_key, 'hex'), 'wif_compressed')
This is also right. 
However, use the 'compressed_private_key' and 'wif_compressed' is wrong.
2019-12-04 11:39:59 +08:00
..
addr.cpp
bip-table.py
ec-math.py Update ec-math.py 2019-01-01 16:58:31 +00:00
extract-from-pk-script.go
get-utxo.py whitespace fixes to placate flake8 2018-02-03 01:33:46 +01:00
hash_example.py fixed hashlib library error for python3 2018-03-16 20:32:21 +05:30
key-to-address-ecc-example.py Update key-to-address-ecc-example.py 2019-12-04 11:39:59 +08:00
max_money.py max_money.py: use variable start_block_reward (eliminate magic number) 2018-05-19 09:10:18 -04:00
merkle.cpp
p2wpkh.js
pay-to-addr-script.go
proof-of-work-example.py fixed hashlib library error for python3 2018-03-16 20:32:21 +05:30
pycoin_example.py whitespace fixes to placate flake8 2018-02-03 01:33:46 +01:00
rpc_block.py whitespace fixes to placate flake8 2018-02-03 01:33:46 +01:00
rpc_example.py
rpc_transaction.py ch03 rpc API, code examples, libraries 2016-02-04 20:52:15 -06:00
satoshi-words.cpp code fixes to update to libbitcoin v3 2017-07-18 12:07:31 +08:00
select-utxo.py
vanity-miner.cpp Stop using numeric_limits for the constant "255", and fix a bug. 2018-03-25 20:17:35 -07:00
websocket-example.go