Files
2022-06-28 04:09:37 -07:00

1.8 KiB

html, parent, blurb, labels
html parent blurb labels
stop.html server-control-methods.html サーバーのグレースフルシャットダウンを行います。
コアサーバー

stop

[ソース]

サーバーのグレースフルシャットダウンを行います。

stop要求は、権限のないユーザーは実行できない*管理メソッドです。

要求フォーマット

要求フォーマットの例:

WebSocket

{
   "id": 0,
   "command": "stop"
}

JSON-RPC

{
   "method": "stop",
   "params": [
       {}
   ]
}

コマンドライン

rippled stop

要求にはパラメーターが含まれていません。

応答フォーマット

処理が成功した応答の例:

JSON-RPC

{
  "result" : {
     "message" : "ripple server stopping",
     "status" : "success"
  }
}

コマンドライン

Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005

{
  "result" : {
     "message" : "ripple server stopping",
     "status" : "success"
  }
}

応答は[標準フォーマット][]に従っており、正常に完了した場合は結果に次のフィールドが含まれています。

Field 説明
message 文字列 ripple server stopping : 正常終了の場合。

考えられるエラー

  • [汎用エラータイプ][]のすべて。

{% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}