Skip to content

Latest commit

 

History

History
98 lines (72 loc) · 3.03 KB

File metadata and controls

98 lines (72 loc) · 3.03 KB

Mainnet Node Management


Configure Management Password

POST chain_queryInfo (Set management password)
Parameters
name type data type description
pass required string Original password
newpass required string New password
Responses
http code content-type response
0 application/json Success 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
name type data type description
pass required string Password
Responses
http code content-type response
0 application/json Success 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"
   }
 }