Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Zcoin - The Zerocoin cryptocurrency, guaranteeing financial privacy
by
BrainShutdown
on 14/10/2016, 13:31:19 UTC
what i cant understand is this code taken from https://github.com/zcoinofficial/zcoin/blob/master/src/main.h#L1356:

You see that "if TestNet" hashing is LYRA2, else it is scrypt_N_1_1_256

so are we mining scrypt_N ?  Huh

Code:
    uint256 GetPoWHash(int height) const
    {
        uint256 thash;

        if( !fTestNet && height >= 500){
            LYRA2(BEGIN(thash), 32, BEGIN(nVersion), 80, BEGIN(nVersion), 80, 2, height, 256);
        }else if(fTestNet && height >= 138){
            LYRA2(BEGIN(thash), 32, BEGIN(nVersion), 80, BEGIN(nVersion), 80, 2, height, 256);
        }else{
            scrypt_N_1_1_256(BEGIN(nVersion), BEGIN(thash), GetNfactor(nTime));
        }

        return thash;
}

From block 500 lyra2