According to the tweet https://twitter.com/aantonop/status/1255853793805287429 I replaced OpenSSL with secp265k1 and point to the bitcoin core github repository. Feel free to generate your bit.ly url. My name is Tri Nhan Vu focussing on blockchain education for german speaking people https://chainist.de/.
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.
When I looked at the hard copy of the book, I was concerned about space on the page. The changes I have suggested could have been put closer to Figure 2.8, but as a newbie I was referring to the text, then following the process described in the text as it appeared in Figure 2.8. My vote is that it fits better where I put it. I also tried to use as few words as possible while making sure "Best Practice" was clearly emphasized as early as possible in a newbies investigations/studies/indoctrination. Pick a word. :)
I feel this small change shifts the emphasis from the single word "lot" to both of the words "is" and "lot." By doing so you would emphasise the reality of both the depth of the Bitcoin protocol and its ecosystem.
Many people have heard that the Timechain is immutable. As a newbie, I was a little confused (ot unusual) until I did some web searches and found examples of "off Blockchain transactions." I'm not associated with Opendimes in any way other than as a customer.
It's not an exact comparison because you could have many email addresses and a single bitcoin amount could be sent to many more than one of your bitcoin addresses. From a reader's viewpoint, I feel that the new text makes the flow of the sentence clearer without getting pedantic.