Closed vvronskyFX closed 2 years ago
You are getting a NotImplementedError
which means there is some code that's missing that needs to be filled in.
You are getting a
NotImplementedError
which means there is some code that's missing that needs to be filled in.
That's why I'm posting in here because i can't find what I may be missing. I went through the solutions and wrote in the code for each exercise.
Getting the same error. It has something to do with this bits_to_target
and anything involving target
somehow.
Error still appearing in Ex. 10, Ex. 11, Ex. 12. Been scanning around the files trying to see but I haven't found any block of code that has NotImplementedError
anywhere. It almost seems like a bug but I'm not sure.
Right after Ex. 11, the example that goes into "difficulty adjustment" outputs this error:
Could it be something in the packages?
FIXED!
Solution:
Coding calculate_new_bits
in Exercise 13. Looks like that was the missing piece. I re-ran the cells again and all tests and exercises passed as they should!
Thanks for your support earlier @bolatovumar. I will be closing this issue.
Getting this output error when running the solution to Exercise 9 in Chapter 9:
Here's the code that's running the test:
I've commented out the difficulty portion in this block as pointed out by @bolatovumar here: https://github.com/jimmysong/programmingbitcoin/issues/179
Here's my code for
bits_to_target
in helper.py:Not sure why I'm getting this. Has anyone went through this portion experience this? Cheers for the help!