Files
xrpl-dev-portal/@i18n/ja/docs/infrastructure/configuration/configure-amendment-voting.md
2024-03-14 16:51:05 -07:00

2.3 KiB

html, parent, seo, labels
html parent seo labels
configure-amendment-voting.html configure-rippled.html
description
プロトコル修正に伴うサーバーの投票を設定する。
コアサーバー
ブロックチェーン

Amendment投票機能の設定

バリデーターとして設定されたサーバーは、[feature メソッド][]を使ってXRP LedgerプロトコルのAmendmentに投票することができます。(この方法には管理者アクセスが必要です).

例えば、「SHAMapV2」Amendmentに反対票を投じるには、以下のコマンドを実行します。

{% tabs %}

{% tab label="WebSocket" %}

{
  "id": "any_id_here",
  "command": "feature",
  "feature": "SHAMapV2",
  "vetoed": true
}

{% /tab %}

{% tab label="JSON-RPC" %}

{
    "method": "feature",
    "params": [
        {
            "feature": "SHAMapV2",
            "vetoed": true
        }
    ]
}

{% /tab %}

{% tab label="コマンドライン" %}

rippled feature SHAMapV2 reject

{% /tab %}

{% /tabs %}

注記: Amendmentの省略名は大文字と小文字が区別されます。また、AmendmentのIDを16進数で指定することもできますが、この場合は大文字と小文字が区別されません。

設定ファイルを使用する

もし、Amendmentの設定に設定ファイルを使いたい場合は、[rpc_startup] 節に行を追加して、起動時に各明示票のために自動的にコマンドを実行させることができます。例えば

[rpc_startup]
{ "command": "feature", "feature": "SHAMapV2", "vetoed": true }

変更を有効にするには、必ずサーバーを再起動してください。

注意事項: [rpc_startup] 節にあるコマンドは、サーバが起動するたびに実行され、サーバが動作している間に構成された投票設定を上書きすることができます。

関連項目

{% raw-partial file="/docs/_snippets/common-links.md" /%}