Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Zcoin - The Zerocoin cryptocurrency, guaranteeing financial privacy
by
jeremy grol
on 14/10/2016, 13:26:47 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;
}

It was scrypt_N and i have mined with GPU initially. But there were some TITAN scrypt that raped entire hash, and after block 500 zcoin was forked to Lyra2 only CPU to prevent GPU asic.