I am new at BTC mining and I am nonetheless studying. I am nearly medium degree in Python.
I am on the lookout for a Python miner that routinely mines utilizing the final block and stops when a brand new block is discovered and if I am fortunate, the algorithm provides the brand new block to the blockchain and sends the prize to a selected pockets tackle that I can add.
However now for days I am nonetheless trying and nothing.
I discover a easy one, it retains trying, however even when it finds a brand new block I do not know the way to add that to the blockchain, and I do not know if the final block has been modified or not.
Is there any Python algorithm that do all of that, or a number of traces of Python code which I can change?