"Sporks are variables turned on or off by a private key"
Command:
spork active
Documentation from Dash:
https://dash-docs.github.io/en/glossary/sporkhttps://docs.dash.org/en/latest/introduction/features.html#sporkshttps://docs.dash.org/en/latest/developers/index.html#sporksSoft/Hard Forks vs. 'Sporks': Evan Duffield Explains How Dash is Different
https://www.youtube.com/watch?v=rp-ebgbgK-M===
From past Dash discussions it sounded like Dash spork keys were on roadmap to eventually be controlled through masternode votes
===
Anyways, Im posting about sporks because
a user is claiming that in order to fork a Dash coin (and get new spork keys)
that you have to start over with a new genesis block
Is this true?
===
"Look at chainparams.cpp for strSporkPubKey. You need your own key pair.
To change sporks you need to provide valid private key in command line to dashd or dash-qt with param -sporkkey"
https://www.dash.org/forum/threads/activating-masternode-via-spork.17598/#post-144700=
"If you wanted to use your own key, that would require modifying the Dash Core source.
At that point, you would have effectively forked it and not be in consensus with the Dash network."
https://www.dash.org/forum/threads/activating-masternode-via-spork.17598/#post-163853=
"For the purpose of your own private testnet (and maybe an altcoin fork),
is there a documented way of generating your own public+private key pair?"
https://www.dash.org/forum/threads/activating-masternode-via-spork.17598/#post-170468"I believe this is the proper way of getting a compatible private+pub key."
https://www.dash.org/forum/threads/activating-masternode-via-spork.17598/#post-170477=
"I understood that the generated public key should be hard coded in the dash (or the code cloned from dash) code
of chainparams.cppp and privatekey should be used to sign message for enable/disable sporks.
what is the exact way of doing this? what is the method/syntax?"
https://www.dash.org/forum/threads/activating-masternode-via-spork.17598/#post-184734"I got the answer to my own question. Find it here:
1. replace the dash's spork pub key
2. Private key should be converted to WIF format (use proper byte version during this process).
3. place this key in .conf file as sporkkey=
4. open debug console and use this command:
spork SPORK_NAME [value]
this works perfectly, I tested it."
https://www.dash.org/forum/threads/activating-masternode-via-spork.17598/page-2#post-185347
===
[SPORK] sporkkey/privkey/pubkey #1378
https://github.com/dashpay/dash/issues/1378
===
How to convert spork private key to WIF?
https://www.dash.org/forum/threads/%C2%BFhow-to-convert-spork-private-key-to-wif.38004/
Wallet Import Format
https://en.bitcoin.it/wiki/Wallet_import_format