mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-06 04:45:49 +00:00
Remove more redocly-incompatible syntax
This commit is contained in:
@@ -13,6 +13,7 @@ curated_anchors:
|
||||
anchor: "#ドメイン検証"
|
||||
- name: アカウント検証
|
||||
anchor: "#アカウント検証"
|
||||
outdated_translation: true
|
||||
---
|
||||
# xrp-ledger.tomlファイル
|
||||
|
||||
@@ -285,14 +286,6 @@ location /.well-known/xrp-ledger.toml {
|
||||
|
||||
2. バリデータは、ドメイン別に所有権を主張します。このステップの手順は、本仕様書の範囲外です。
|
||||
|
||||
<!-- TODO: Link documentation when it's available. -->
|
||||
<!-- Aside: the old way of doing this was to set the `Domain` field of the
|
||||
XRP Ledger account whose public key matched the validator's public key.
|
||||
Since only the holder of the corresponding private key could send
|
||||
transactions from this address, doing so effectively proved ownership
|
||||
of the validator's private key.
|
||||
-->
|
||||
|
||||
## アカウント検証
|
||||
|
||||
[ドメイン検証](#ドメイン検証)と同様に、アカウント検証は、同じエンティティが特定のドメインと特定のXRP Ledgerアドレスを運用していることを証明するという考え方を示します。XRP Ledgerの使用や`xrp-ledger.toml`ファイルの提供にはアカウント検証は必要ありませんが、透明性の確保のために、アカウントを検証することもできます。
|
||||
|
||||
@@ -255,7 +255,7 @@ ripple-lib 1.xでは、全てのメソッドとプロパティは、`RippleAPI`
|
||||
| RippleAPIインスタンスメソッド/プロパティ | xrpl.jsメソッド/プロパティ | 注記 |
|
||||
|-------------------|----------------|---|
|
||||
| `new ripple.RippleAPI({server: url})` | [`new xrpl.Client(url)`](https://js.xrpl.org/classes/Client.html#constructor) | 複数のサーバに接続するには`xrpl.BroadcastClient([url1, url2, ..])` を使用してください。 |
|
||||
| `request(command, options)` | [`Client.request(options)`](https://js.xrpl.org/classes/Client.html#request) | <ul><li>WebSocket API との一貫性を保つために `command` フィールドを `options` オブジェクトに移動しました。</li><li>1.x では、このメソッドの戻り値 (Promise がリゾルブしたとき) は `result` オブジェクトのみでした。現在は、[WebSocket レスポンスのフォーマット](http-websocket-apis/api-conventions/response-formatting.md) 全体が返されます。同様の値を得るには、戻り値の `result` フィールドを読み取ってください。 |
|
||||
| `request(command, options)` | [`Client.request(options)`](https://js.xrpl.org/classes/Client.html#request) | WebSocket API との一貫性を保つために `command` フィールドを `options` オブジェクトに移動しました。1.x では、このメソッドの戻り値 (Promise がリゾルブしたとき) は `result` オブジェクトのみでした。現在は、[WebSocket レスポンスのフォーマット](http-websocket-apis/api-conventions/response-formatting.md) 全体が返されます。同様の値を得るには、戻り値の `result` フィールドを読み取ってください。 |
|
||||
| `hasNextPage()` | [`xrpl.hasNextPage(response)`](https://js.xrpl.org/modules.html#hasNextPage) | こちらもご覧ください。 [`Client.requestNextPage()`](https://js.xrpl.org/classes/Client.html#requestNextPage) および [`Client.requestAll()`](https://js.xrpl.org/classes/Client.html#requestAll) |
|
||||
| `requestNextPage()` | [`Client.requestNextPage()`](https://js.xrpl.org/classes/Client.html#requestNextPage) | |
|
||||
| `computeBinaryTransactionHash()` | [`xrpl.hashes.hashTx()`](https://js.xrpl.org/modules.html#hashes) | |
|
||||
|
||||
@@ -256,7 +256,7 @@ In ripple-lib 1.x all methods and properties were on instances of the `RippleAPI
|
||||
| RippleAPI instance method / property | xrpl.js method / property | Notes |
|
||||
|-------------------|----------------|---|
|
||||
| `new ripple.RippleAPI({server: url})` | [`new xrpl.Client(url)`](https://js.xrpl.org/classes/Client.html#constructor) | Use `xrpl.BroadcastClient([url1, url2, ..])` to connect to multiple servers. |
|
||||
| `request(command, options)` | [`Client.request(options)`](https://js.xrpl.org/classes/Client.html#request) | <ul><li>The `command` field moved into the `options` object for consistency with the WebSocket API.</li><li>In 1.x the return value of this method (when the Promise resolves) was only the `result` object. Now it returns the whole [WebSocket response format](http-websocket-apis/api-conventions/response-formatting.md); to get the equivalent value, read the `result` field of the return value. |
|
||||
| `request(command, options)` | [`Client.request(options)`](https://js.xrpl.org/classes/Client.html#request) | The `command` field moved into the `options` object for consistency with the WebSocket API. In 1.x the return value of this method (when the Promise resolves) was only the `result` object. Now it returns the whole [WebSocket response format](http-websocket-apis/api-conventions/response-formatting.md); to get the equivalent value, read the `result` field of the return value. |
|
||||
| `hasNextPage()` | [`xrpl.hasNextPage(response)`](https://js.xrpl.org/modules.html#hasNextPage) | See also: [`Client.requestNextPage()`](https://js.xrpl.org/classes/Client.html#requestNextPage) and [`Client.requestAll()`](https://js.xrpl.org/classes/Client.html#requestAll) |
|
||||
| `requestNextPage()` | [`Client.requestNextPage()`](https://js.xrpl.org/classes/Client.html#requestNextPage) | |
|
||||
| `computeBinaryTransactionHash()` | [`xrpl.hashes.hashTx()`](https://js.xrpl.org/modules.html#hashes) | |
|
||||
|
||||
Reference in New Issue
Block a user