main.cpp
Your hashcoin code
if (fTestNet)
{
pchMessageStart[0] = 0xfc;
pchMessageStart[1] = 0xc1;
pchMessageStart[2] = 0xb7;
pchMessageStart[3] = 0xdc;
hashGenesisBlock = uint256("0x0000028a67ce66c81632194d78caf7e2c2ba4e1173a96dc9c41546095283efd2");
}
DarkCoin code:
if (fTestNet)
{
pchMessageStart[0] = 0xfc;
pchMessageStart[1] = 0xc1;
pchMessageStart[2] = 0xb7;
pchMessageStart[3] = 0xdc;
hashGenesisBlock = uint256("0x00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c");
}
Dude obviously I fixed that, I just forgot to change pchMessageStart. Get over it. Both the coins are running perfect!
1) that code you quoted is Testnet specific, So I don't see a problem
2) all it is is the "Magic Number" for sending messages between nodes, If you do a port change it has no effect on the block chain, if you were to keep the same "Magic Number" and still have the cloned coins ports, then yes it would be a problem.
Just to clarify: The only similarity HASH has with
CGA is that it uses the difficulty to change the block reward. And even that is pretty different. CGA has much smaller rewards, while HASH will have larger block rewards but seems the rewards fluctuate more, still trying to wrap my head around how it will play out.