Hello,
I am trying to make miner for keccak based coins such as Maxcoin and smartcash coin.
when i get response from pool in mining.set_difficulty
lets say for example difficulty = 128
formula to calculate target in python
ptarget = int(0x00ffff * 2** (8*(0x1e - 3)) / mining_set_difficulty_value)
pool_target = '%064x' %ptarget
please let me know, if i doing something wrong in it
Thanks and regards