Skip to main content

5. Mainnet Node Management

Mainnet Node Management


Configure Management Password

POST chain_queryInfo (Set management password)
Parameters
nametypedata typedescription
passrequiredstringOriginal password
newpassrequiredstringNew password
Responses
http codecontent-typeresponse
0application/jsonSuccess message
Example cURL
{
"jsonrpc": "3.0",
"method": "chain_queryInfo",
"params": ["updateTmac","op=setpass&pass=&newpass=123","encryp=none"],
"id": "1"
}
Response Example
{
"jsonrpc": "3.0",
"id": "1",
"result": {
"ret": "0",
"err": "",
"content": "setpass successful"
}
}

Exit Vacuum Network

POST chain_queryInfo (Exit vacuum network for remote maintenance)

After exiting the vacuum network, you can perform remote maintenance on the mainnet node via SSH.

Parameters
nametypedata typedescription
passrequiredstringPassword
Responses
http codecontent-typeresponse
0application/jsonSuccess message
Example cURL
{
"jsonrpc": "3.0",
"method": "chain_queryInfo",
"params": ["updateTmac","op=stop&pass=123","encryp=none"],
"id": "1"
}
Response Example
{
"jsonrpc": "3.0",
"id": "1",
"result": {
"ret": "0",
"err": "",
"content": "StopMac Successful! and Maintain through SSH connection"
}
}