I am trying to write a miner for myself.
I understand I get the block template and then hash the block hashing blob. That gets me a hash.
Do I then append it to block hashing blob or something else in order to submit? Take this example:
Or do I just need to replace the 8 zeroes?
Also is the difficulty returned by get block template the amount of zeroes at the start of the hash that need to be there in order for it to be solved? Or is there something else or am I misinterpreting it?