lhartikk / GenesisH0

SHA256/scrypt/X11/X13/X15 genesis blocks for virtual currencies
Apache License 2.0
267 stars 475 forks source link

Not enough arguments #20

Closed dzimbeck closed 7 years ago

dzimbeck commented 7 years ago

This is the error it gives me for Python 2.711

I installed construct via pip, and scrypt via pip and everything seemed to install fine. However this is the error i get.

Bytes("version", 4), TypeError: init() takes exactly 2 arguments (3 given)

dzimbeck commented 7 years ago

Nevermind I found the correct library... wow haha very slow. It only gives a few thousands hashes per second!

justinvforvendetta commented 7 years ago

@dzimbeck what lib was responsible for throwing this error?

dzimbeck commented 7 years ago

I think it was the fact that I installed it with pip. When I went on github and found the correct libraries for this. However, I think Python may be a bit too slow to generate a genesis block?

justinvforvendetta commented 7 years ago

i installed it with pip as well (xcoin-hash) and im still getting this error. it's driving me insane!

justinvforvendetta commented 7 years ago

not sure why, but it seems to throw this error no matter what i do. i've used this script before but not in years...

dzimbeck commented 7 years ago

Hey so the issue is with "construct" you can't install it with pip you need a different library one with the Bytes function that takes two arguments. I forget where I found it but I think pip finds the wrong one.

justinvforvendetta commented 7 years ago

right on, thanks @dzimbeck