Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get right genesis hash if block reward is not 50 #50

Open
TabbsCommunity opened this issue May 16, 2021 · 6 comments
Open

How to get right genesis hash if block reward is not 50 #50

TabbsCommunity opened this issue May 16, 2021 · 6 comments

Comments

@TabbsCommunity
Copy link

Everything worked fine in my code until i changed my block reward to 80, than he says the Genesis hash is wrong. So i think i need to specify somewhere in this script its for 80 coins per block and not 50

@TabbsCommunity TabbsCommunity changed the title How to get hash if block reward is not 50 How to get right genesis hash if block reward is not 50 May 16, 2021
@Jolly-Pirate
Copy link

I had the same problem. So I just leave the genesis block reward at 50, it's not spendable anyways.

@TabbsCommunity
Copy link
Author

I had the same problem. So I just leave the genesis block reward at 50, it's not spendable anyways.

Ow oof i will still search i let you know when i found it.

@TabbsCommunity
Copy link
Author

I think it's the best we use debugging and not tools likethis.

@percussionpc
Copy link

tx.out_value = struct.pack('<q' ,options.value)#0x000005f5e100)#012a05f200) #50 coins
#tx.out_value = struct.pack('<q' ,0x000000012a05f200) #50 coins

I think change #012a05f200 and 0x000000012a05f200
I not sure this number, Gen???

@TabbsCommunity
Copy link
Author

thx percussionpc :)

@anthienvu
Copy link

tx.out_value = struct.pack('<q' ,options.value)#0x000005f5e100)#012a05f200) #50 coins #tx.out_value = struct.pack('<q' ,0x000000012a05f200) #50 coins

I think change #012a05f200 and 0x000000012a05f200 I not sure this number, Gen???

The number you given is commented, so I think it 's not true.

For -v you need to determine the coin reward value and multiply it with * 100000000. For example, if you have a block reward of 50 it would be -v 5000000000.

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

No branches or pull requests

4 participants