From 2a354b25f77f2c935298fe4e20f7d218cb9f96ec Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Mon, 22 Feb 2021 19:10:36 -0800 Subject: [PATCH] download_shard over HTTP in v1.7.0 Documents https://github.com/ripple/rippled/pull/3578 Also updates the Japanese version of the page for some changes in v1.6.0 --- .../logging-and-data-management-methods/download_shard.ja.md | 5 +++-- .../logging-and-data-management-methods/download_shard.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.ja.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.ja.md index a42661a9d8..9212829840 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.ja.md @@ -53,14 +53,15 @@ _`download_shard`メソッドは、権限のないユーザーは実行できな | `Field` | 型 | 説明 | |:-----------|:--------|:------------------------------------------------------| | `shards` | 配列 | ダウンロードするシャードとダウンロード元を記述したShard Descriptorオブジェクト(以下の説明を参照)のリスト。 | -| `validate` | ブール値 | _(省略可)_ `false`の場合はダウンロードしたデータの検証をスキップします。デフォルトは`true`です。この場合、アーカイブのシャードにシャードのデータオブジェクトがすべて含まれており、シャードが現行の検証済みレジャーのレジャー履歴の一部であるか否かが確認されます。 | + +`validate`のフィールドは廃止予定であり、今後予告なしに削除される可能性があります。`rippled`は全てのシャードの検証を実行します。[更新: rippled 1.6.0][] `shards`配列の各**Shard Descriptorオブジェクト**には以下のフィールドが含まれています。 | `Field` | 型 | 説明 | |:--------|:-------|:----------------------------------------------------------| | `index` | 数値 | 取得するシャードのインデックス。本番環境のXRP Ledgerでは、最も古いシャードのインデックスは1であり、このシャードにはレジャー32750~32768が含まれています。次のシャードのインデックスは2であり、このシャードにはレジャー32769~49152が含まれています。 | -| `url` | 文字列 | このシャードをダウンロードできるURL。このURLは`https://`で始まり`.tar.lz4`(大文字小文字の区別なし)で終わる必要があります。このダウンロードを提供するWebサーバーは、信頼できる認証局(CA)によって署名された有効なTLS証明書を使用する必要があります。(`rippled`はオペレーティングシステムのCAストアーを使用します。) | +| `url` | 文字列 | このシャードをダウンロードできるURL。このURLは`https://`か`http://`かで始まり`.tar.lz4`(大文字小文字の区別なし)で終わる必要があります。このダウンロードを提供するWebサーバーは、信頼できる認証局(CA)によって署名された有効なTLS証明書を使用する必要があります。(`rippled`はオペレーティングシステムのCAストアーを使用します。) [更新: rippled 1.7.0][] | ### 応答フォーマット diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.md index a4e151ad54..e7516a0139 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/download_shard.md @@ -68,7 +68,7 @@ Each **Shard Descriptor object** in the `shards` array has the following fields: | `Field` | Type | Description | |:--------|:-------|:----------------------------------------------------------| | `index` | Number | The index of the shard to retrieve. In the production XRP Ledger, the oldest shard has index 1 and contains ledgers 32750-32768. The next shard has index 2 and contains ledgers 32769-49152, and so on. | -| `url` | String | The URL where this shard can be downloaded. The URL must start with `https://` and must end with `.tar.lz4` (not case-sensitive). The web server providing this download must use a valid TLS certificate signed by a trusted Certificate Authority (CA). (`rippled` uses the operating system's CA store.) | +| `url` | String | The URL where this shard can be downloaded. The URL must start with `http://` or `https://` and must end with `.tar.lz4` (not case-sensitive). The web server providing this download must use a valid TLS certificate signed by a trusted Certificate Authority (CA). (`rippled` uses the operating system's CA store.) [Updated in: rippled 1.7.0][] | ### Response Format