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 ?

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;
}
LYRA2(BEGIN(thash) ...
For those of us who aren't technically versed in programming: it basically means "if the miner isn't in working in TestNet AND height is above or equal to 500, then use Lyra2". Hashing algo was switched in order to improve the resilience against GPU/ASIC mining.