Comment on page
Edit Node Resources
In future releases, we plan to allow users to edit node settings directly in the GUI. Until then, Node Pilot makes it easy to manually edit your node settings through JSON files.
To edit the vCPUs and Memory for a node, follow these steps:


For Validator nodes:
~/.node-pilot/config/nodes.json
For Chain nodes:
~/.node-pilot/config/chains.json
Via command line:
nano ~/.node-pilot/config/nodes.json
Only edit
"cpus"
and "mem"
variables. Editing other variables could break your node and cause errors.Example:
{
"_id": "xdai-000",
"type": "MANAGED",
"chainType": "FULL_NODE",
"ticker": "xdai",
"network": "mainnet",
"rpcPort": 8555,
"walletPassword": "",
"cpus": 4,
"mem": 8192,
"chainDir": "",
"createdAt": "2021-07-20T20:46:23.840Z",
"updatedAt": "2021-07-20T20:46:23.840Z"
}
Via command line:
Press
Ctrl + o
then press Enter
Press
Ctrl + x
to exit5. Verify file was changed
cat ~/.node-pilot/config/nodes.json
./np start -d
Last modified 2yr ago