dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

SporkAddress #3455

Closed MonkeyD-Core closed 4 years ago

MonkeyD-Core commented 4 years ago

Can someone tell me how can i get the sporkaddress ? i cant go to debug console becouse the wallet cannof start. Thanks

thephez commented 4 years ago

Not sure this is what you are asking for, but you can see the spork addresses in chainparams.cpp (e.g. for mainnet).

MonkeyD-Core commented 4 years ago

Yup sir, im asking about that.. how can i get the sporkaddress to fill in the chainparams.cpp ?

Thanks you for the respond

thephez commented 4 years ago

Oh, you are trying to modify it. I guess you could probably run getnewaddress via dash-cli (assuming dashd is working and it is only dash-qt that you cannot start).

MonkeyD-Core commented 4 years ago

i got massage on telegram say the dash developer not supporting fork again

"I'm not supporting forks and as far as I know Dash core group also stopped supporting fork developers due to limited resources"

i want to learn about forking dash, i learn it on google but doesnt not get the solution for the sporkaddress.. im so sad for this one.

Thanks for your respond.

MonkeyD-Core commented 4 years ago

Screenshot_2020-04-25-15-44-16-22 The wallet & daemon doesnt not work

10xcryptodev commented 4 years ago

If you already have a address generated in your new chain you can change the spork address on in chainparams.cpp If you never generated a new address on your chain, you need to remove this spork address validation, generate the new address as @thephez described, change the in chainparams.cpp and add back the spork address validation to make sure the address you generated is valid

MonkeyD-Core commented 4 years ago

i trying to remove the spork address before, set the verification as false and minimum spork as 0

i cant generate the new address becouse the daemon still giving invalid spork address when i start the daemon

now i try to set up back the minspork to 1 , verification to true but changin on letter on the dash spork address with my preffix

MonkeyD-Core commented 4 years ago

I dont know where is the sporkaddress verification. Thanks for the respond.

MonkeyD-Core commented 4 years ago

Screenshot_2020-04-25-22-36-07-77

nmarley commented 4 years ago

You need to change the network to regtest or make your own devnet, otherwise the incoming sporks won't match your new address. Verification logic should all be in spork.cpp. It syncs sporks via getsporks message in the masternode sync process.

I think you're probably biting off a bit too much all at once. I'd recommend starting by using a devnet (read up in the docs on how to do this) or using regtest to start out, otherwise things will fail b/c you're having to coordinate too many moving parts at once (e.g. network magic, port numbers, etc.).

MonkeyD-Core commented 4 years ago

Yup, i got the spork address 😚😚😚 But my peer cannot connected now 😆 Very interesting !

PastaPastaPasta commented 4 years ago

@MonkeyD-Core Have you figured this out? Is this issue resolved/able to be closed?