Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: wsxdrfv on March 28, 2018, 05:30:04 AM



Title: Coin's VPS server can be moved to other VPS?
Post by: wsxdrfv on March 28, 2018, 05:30:04 AM
If coin's daemon running on some VPS with static IP and this address is hardcoded at strMainNetDNSSeed variable.

In this situation, if I want to move server to another provider like Amazon EC2, then IP will be changed.

Then, I should revise source,

and if make window build based on this,

then this new build can compatible existing blockchain's current blockheight, wallet's balances, transaction records?


Title: Re: Coin's VPS server can be moved to other VPS?
Post by: ranochigo on March 28, 2018, 01:07:19 PM
With Bitcoin Core, the DNS seeds aren't IP addresses but they are actual domains. With the actual domains, you can update the address for which they are pointed to for the client to get the information from.

Changing the source with every IP change is very tedious for the users.


Title: Re: Coin's VPS server can be moved to other VPS?
Post by: wsxdrfv on April 04, 2018, 08:08:51 AM
With Bitcoin Core, the DNS seeds aren't IP addresses but they are actual domains. With the actual domains, you can update the address for which they are pointed to for the client to get the information from.

Changing the source with every IP change is very tedious for the users.
So anyway, I should add DNS seeds address to source. No issue with compatibility new build with old nodes?


Title: Re: Coin's VPS server can be moved to other VPS?
Post by: ranochigo on April 04, 2018, 01:54:12 PM
So anyway, I should add DNS seeds address to source. No issue with compatibility new build with old nodes?
The client doesn't update itself. Nodes running the older client would still be retrieving information using the IPs as in the source code. If they are still working fine, there isn't any issues with it.

It wouldn't cause a hardfork since the clients are still running with the same protocol rules.