can somebody help me to point out where and in wich file the setgenerate true testnet function is located and controlled is it in chainparams.ccp or somewhere else ? and where to change the bitcoin testnet block memory to reset it .and to be able to test starting with zero blocks in testnet ?and i dont need to know regtest is the thing for you im learning the code and not testing .
so i really like to know how the setgenerate true is turned of and on in the code and where the block memory is located . because i removed block data in .bitcoin and deleted seeds but still my testnet is saying 3 years loading where is this comming from ?
al help is welcome
thanks in advance