Migrate to Pre-Mainnet from TestNet
Change NetID from 2 to 1
Delete the original
BootNodesand replace with
BootSeeds. The content is as followed
"BootSeeds": [ "https://bootnodes.vite.net/bootmainnet.json" ],
- The default data directory in TestNet is "~/.gvite/testdata/". This has been moved to "~/.gvite/maindata in Pre-Mainnet. Remember to move your keystore files as well from the "~/.gvite/testdata/wallet/" to "~/.gvite/maindata/wallet/" especially if you are migrating a supernode.
Starting from gvite v2.0.0, a updated node_config.json has been provided as template in the installation package. Make your own modification based on it!
See below table for configuration changes in Pre-Mainnet
|NetID||2||1||Vite network ID|
|BootSeeds||-||https://bootnodes.vite.net/bootmainnet.json||Newly added for fetching boot nodes|
|DataDir||~/.gvite/testdata/||~/.gvite/maindata||Default data directory. Optional|
Other Common Fields
Depending on specific usage, below fields in node_config.json may also need change
- Node name
Identity is used to identify a node name. Duplicated names are allowed.
- Supernode related
EntropyStorePassword should be filled in.
- Full node rewards and status
In order to receive full node rewards, you should specify your address in
DashboardTargetURL specifies a server link that your node reports status to.
MinPeers define the maximum and minimum neighbors your node is able to connect to. Don't set this too large or too small. Default is 10.
- API ports
WSPort are used to customize ports exposed.