src/chainparams.cpp
/**
 * Build the genesis block. Note that the output of its generation
 * transaction cannot be spent since it did not originally exist in the
 * database.
 *
 * CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1)
 *   CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
 *     CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73)
 *     CTxOut(nValue=50.00000000, scriptPubKey=0x5F1DF16B2B704C8A578D0B)
 *   vMerkleTree: 4a5e1e
 */
Build the genesis block. Note that the output of its generation
transaction cannot be spent since it did not originally exist in the
database.


Build the genesis block . Note that the output of its generation transaction cannot be spent since it did not originally exist in the database .
static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)
{
    const char* pszTimestamp = "Olivingcoin 2021-06-25,  Pyeongtaek Univ.";
    const CScript genesisOutputScript = CScript() << ParseHex("0466bca7d9228fbb2f6ff4cdba82bb52982bdd87fcb84042e163e3c4027d4c34198023f0dc1ba25f38362be516ef1093617a045de0f7fc948a8297bff849c8791a") << OP_CHECKSIG;
    return CreateGenesisBlock(pszTimestamp, genesisOutputScript, nTime, nNonce, nBits, nVersion, genesisReward);
}
static CBlock CreateGenesisBlock ( uint32_t nTime , uint32_t nNonce , uint32_t nBits , int32_t nVersion , const CAmount & genesisReward ) { const char * pszTimestamp = " " ; const CScript genesisOutputScript = CScript ( ) << ParseHex ( " " ) << OP_CHECKSIG ; return CreateGenesisBlock ( pszTimestamp , genesisOutputScript , nTime , nNonce , nBits , nVersion , genesisReward ) ; }
Build the genesis block.
Build the genesis block .