finalize does not return true
def finalize(self, merkle_root_int, extranonce1_bin, extranonce2_bin, ntime, nonce): '''Take all parameters required to compile block candidate. self.is_valid() should return True then...'''
self.hashMerkleRoot = merkle_root_int
self.nTime = ntime
self.nNonce = nonce
self.vtx[0].set_extranonce(extranonce1_bin + extranonce2_bin)
self.sha256 = None # We changed block parameters, let's reset sha256 cache
in the code above, finalize does not return true. It seems it should?
using it for bitcoin or litecoin?
litecoin
slush's version needs tweaking for litecoin - my fork is trying to get it operating with litecoind - i think i may be getting close, just trying to find some ppl to point to the server and get some shares so i can verify.. hit me up on skype or msn (viperaus, [email protected] respectively) and ill run things through with you..