Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

finalize does not return true #3

Open
bandroidx opened this issue Apr 10, 2013 · 3 comments
Open

finalize does not return true #3

bandroidx opened this issue Apr 10, 2013 · 3 comments

Comments

@bandroidx
Copy link

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?

@viperaus
Copy link

using it for bitcoin or litecoin?

@bandroidx
Copy link
Author

litecoin

@viperaus
Copy link

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, viperaus@hotmail.com respectively) and ill run things through with you..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants