Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: carlsonwong on March 22, 2018, 04:26:55 AM



Title: Change port number
Post by: carlsonwong on March 22, 2018, 04:26:55 AM
Hi,

If I change an altcoin's RPC and default port numbers, for example, from 4001/4002 to 4401/4402. Would the old wallets which are still listening to old port number be seperated to old chain, and new wallets with new port numbers would be mining on a new chain? Which means we can split chains based on port numbers?

Thanks,


Title: Re: Change port number
Post by: starmyc on March 22, 2018, 04:52:28 AM
Yes the old wallets should not be able to contact the new ones, but take care to also correctly change the dns seeds addresses & to clean peers cache (peers.dat) in all new wallets as well, or they may be able to contact an old node, and retrieve the old chain blocks as well (leading to a split or a lot of orphan blocks walking in both networks). In fact, you may want to start the new wallets in a fresh & clean & controlled environment.
Another thing you may want to do, is to make use of checkpoints in case of a blockchain split for your new wallets.