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

Devnets initialized without High Subsidy blocks coinbases fail validation #6202

Open
asas-rio opened this issue Aug 12, 2024 · 3 comments
Open

Comments

@asas-rio
Copy link

when I start dashd or dash-qt (binary ver 20.1.1) in devnet mode, no genesis block is created ... through dashd I get the error ERROR: ConnectBlock(DASH): coinbase pays too much at height 1 (actual=5000000000 vs limit=500000000)

Actual behavior

To reproduce

System information

@PastaPastaPasta
Copy link
Member

please provide steps to reproduce including dash.conf used and any launch parameters used

@asas-rio
Copy link
Author

I use launch parameters
dashd -devnet=dn1 -port=19999 -rpcport=19998
without dash.conf file
and I get the specified error and the genesis block is not created

in regtest mode with lanch parameters
dashd -regtest -port=19999 -rpcport=19998
I don't get an error and the genesis block is generated

thanks in advance

@PastaPastaPasta
Copy link
Member

That's really interesting @asas-rio; I can confirm this is an issue. We'll investigate this and try to get it fixed in the next version.

In the meantime, I would recommend starting your node with -highsubsidyblocks=500 -highsubsidyfactor=10 or something similar. This will allow you to get a devnet up and running.

@PastaPastaPasta PastaPastaPasta changed the title devnet mode Devnets initialized without High Subsidy blocks coinbases fail validation Aug 12, 2024
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

2 participants