programmingbitcoin icon indicating copy to clipboard operation
programmingbitcoin copied to clipboard

Repository for the book

Results 113 programmingbitcoin issues
Sort by recently updated
recently updated
newest added

In chapter 13 in Figure 13-1 and 13-2 the ScriptPubKey has the wrong content. It has to be OP_0 and the instead looks like the P2PKH ScriptPubKey. The same for...

> w2 = w2 ⋅ 1 = w2 ⋅ wp–1 = w(p+1) > > Since _p_ is odd (recall _p_ is prime), we know we can divide (_p_+1) by 2...

The code that evaluates if the script is correct from page 115 doesn't run on Jupyter Notebook but when I run the same code on VScode works perfectly fine (prints...

…and 178. OP_CHECKLOCKTIMEVERIFY needs locktime and sequence to be passed as arguments. OP_CHECKSEQUENCEVERIFY needs version and sequence to be passed as parameters. These parameters would need to be passed to...

Function should move 5th and 6th items back in the stack to the top of the stack, not copy them. Stack should remain the same size.

In the first if statement when cmd is not an opcode, the comparison operator should be

There is reference to a MAX_TARGET in the notes for writing `calculate_new_bits` in helper.py which shouldn't be there as it is not used: "# if the new target is bigger...

Markdown wasn't rendering the headings correctly.

I've failed to connect to the testnet faucet **```https://faucet.programmingbitcoin.com```** that has been described in Chapter4 and 7. Is there something trouble with the faucet site or network? ``` $ curl...