Thank you for taking the time out to give advice on this issue
Strangely, adding the else statements allowed it to finally work for me, however as its simply testing I will 100% give your advice a try
I am currently looking at some other coin sources to see more elegant ways of applying the halving schedule. However to fully 'clean' the code the way I want to its going to take me quite awhile, I have very little experience in c++, but am learning along the way and will be taking pointers from the source of some coins I really like on how things SHOULD be applied.
Is this closer to what you mean?
if(nHeight > 1440)
{
nSubsidy = 230 * COIN;
}*EDIT*
Thank you again for your advice
I have trimmed down the code removing all of my && statements and the else's as per your suggestion. You were absolutely right that I had simply bloated the code with extras that didnt need to be there. Basically, in trying to 'cover all angles' I ended up overthinking and overcoding.
I still plan on tidying the code up even more and hopefully manage to work it into 1 or 2 if statements (one for the first 1440, and one for the rest), aswell as many other things I'd love to learn to implement from other coins. Just basic features for now (irc, BE in-wallet, cpu miner in-wallet, and eventually an algo change) but all leading up to hopefully bigger better things
STILL NO RELEASE PLANS - Learning for future projects