It is not a blockchain fork, the handshake bytes are not in the blockchain.
it is purely a client-version fork.
Clients using the new handshake sequence will not talk to clients using the old sequence.
In the code (for Litecoin and Goldcoin) I found three places where the handshake bytes are saved into the block chain files or verified to match pchMessageStart.
1. LoadBlockIndex
2. LoadExternalBlockFile
3. CBlock:WriteToDisk
Could we leave these parts as using the old sequence, while the rest (communicating with nodes, etc) uses the new sequence according to the transition plan (migrating old to new).
Other coins that have done this fix in the past have just used system date/time I think.
-MarkM-
markm, do you have an example in mind of another coin that has does this fix in the past?
Oh litecoin is a lot different from the SHA256 coins then I guess. I have never messed with litecoin based coins.
Either that or you are talking about something other than the 4 magic bytes the bitcoin based coins use to do p2p connections to each other.
Or heck maybe all the coins started to use it for more stuff later after all the years ago batch of coins had been assigned unique handshake byte sequences.
I don't remember which coin we first noticed the problem, after whichever it was then all new coins made it was already known that those bytes were among the things you change when making a new coin.
As to just changing the port number, that doesn't suffice, as people can pick any port number nowadays so malicious folks will of course deliberately do that.
The first ones changed might even have been UKB, CDN, GMC, GRF etc etc etc, even though they were based on testnet not mainnet so would only have potentially conflicted with testnet not the main net.
-MarkM-