All Questions
Tagged with difficulty python
2 questions
0
votes
1
answer
2k
views
How to calculate ethash in python?
I am trying to use ethash(hash(blockHeader),nonce) < TARGET to prove that the block was mined with at least a minimum difficulty.
Is the formula above correct?
When I try to use ehtereum.pow....
0
votes
1
answer
2k
views
Using https://etherchain.org API
When I request https://etherchain.org/api/difficulty using python 3.6 I get HTTPError: Forbidden. Does anyone know the solution?
import json
from urllib.request import urlopen
from pandas.io.json ...