We need to make the following changes in src/chainparams.cpp:
pszTimestamp to a more recent headline than 2009/01/03 .486604799 in txNew.vin[0].scriptSig to whatever we set genesis.nBits to.txNew.vout[0].nValue to 0.txNew.vout[0].scriptPubKey to either a valid pubkey encoding, or something that is invalid but acceptable (and won't cause issues).scriptPubKey as-is.genesis.nVersion to 4 (the only currently-defined block version for Zcash).genesis.nTime to the current time.genesis.nBits to our desired minimum difficulty.fMinerTestModeForFoundersRewardScript.And the following change in src/chainparams.h and src/test/miner_tests.cpp:
fMinerTestModeForFoundersRewardScript.Then perform the following actions:
"The Guardian 17/Oct/2016 The privacy of citizens is being eroded"
Missed this aptly timed headline by a day: https://www.theguardian.com/commentisfree/2016/oct/16/the-guardian-view-on-data-sharing-the-privacy-of-citizens-is-being-eroded
If we were generating the genesis block now, I'd be inclined to use:
"The Guardian 17/Oct/2016 UK security agencies unlawfully collected data for 17 years, court rules."
(which contains the highly relevant line "The IPT ruling included the disclosure from an unpublished 2010 MI5 policy statement that the BPDs included material on the nation鈥檚 personal financial activities.")
I'm sure we'll find something similarly appropriate.
Idea: instead of a newspaper headline, we could set pszTimestamp to recent Bitcoin and Ethereum block hashes, as a symbol of how we think Zcash can find a balance between Bitcoin's stability and Ethereum's agility.
Or we could have all three! It's not like we have to worry about the size of the genesis block :stuck_out_tongue_winking_eye:
hello, I want to create genesis on my own, then what value should I fill nSolution with ?
thx in advance.
Most helpful comment
Idea: instead of a newspaper headline, we could set
pszTimestampto recent Bitcoin and Ethereum block hashes, as a symbol of how we think Zcash can find a balance between Bitcoin's stability and Ethereum's agility.Or we could have all three! It's not like we have to worry about the size of the genesis block :stuck_out_tongue_winking_eye: