From 604c6fe46936e83d2c6a26261ae1dae18fdf9b7b Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 23 Feb 2021 15:03:50 -0800 Subject: [PATCH 1/2] Fix some broken links --- .../the-rippled-server/rippled-server-modes.ja.md | 13 ++++++++++++- .../rippled-api/api-conventions/error-formatting.md | 6 ++++++ .../tutorials/use-simple-xrp-payments/send-xrp.md | 2 +- dactyl-config.yml | 6 +++++- 4 files changed, 24 insertions(+), 3 deletions(-) diff --git a/content/concepts/the-rippled-server/rippled-server-modes.ja.md b/content/concepts/the-rippled-server/rippled-server-modes.ja.md index 214947dfef..3b6f14845b 100644 --- a/content/concepts/the-rippled-server/rippled-server-modes.ja.md +++ b/content/concepts/the-rippled-server/rippled-server-modes.ja.md @@ -60,6 +60,17 @@ XRP Ledgerの堅牢性は、バリデータが相互に接続されたネット **注意:** スタンドアロンモードでは[レジャーを手動で進める](advance-the-ledger-in-stand-alone-mode.html)必要があります。 +## レポーティングモード +[導入: rippled 1.7.0][][] + + +Reporting mode is specialized mode for serving API requests more efficiently. In this mode, the server gets the latest validated ledger data over [gRPC](https://xrpl.org/configure-grpc.html) from a separate `rippled` server running in P2P Mode, then loads that data into a relational database ([PostgreSQL](https://www.postgresql.org/)). The reporting mode server does not directly participate in the peer-to-peer network, though it can forward requests such as transaction submission to the P2P Mode server it uses. + +Multiple reporting mode servers can share access to a PostgreSQL database and [Apache Cassandra](https://cassandra.apache.org/) cluster to serve a large amount of history without each server needing a redundant copy of all the data. Reporting mode servers provide this data through the same [`rippled` APIs](rippled-api.html) with some slight changes to accommodate for the differences in how they store the underlying data. + +Most notably, reporting mode servers do not report pending, non-validated ledger data or transactions. This limitation is relevant to certain use cases that rely on rapid access to in-flux data, such as performing arbitrage in the [decentralized exchange](decentralized-exchange.html). + + ## 関連項目 @@ -70,7 +81,7 @@ XRP Ledgerの堅牢性は、バリデータが相互に接続されたネット - **チュートリアル:** - [`rippled`の構成](configure-rippled.html) - [バリデータとしての`rippled`の実行](run-rippled-as-a-validator.html) - - [スタンドアロンモードでのrippledの使用](use-stand-alone-mode.html): + - [スタンドアロンモードでのrippledの使用](use-stand-alone-mode.html): - [スタンドアロンモードでの新しいジェネシスレジャーの開始](start-a-new-genesis-ledger-in-stand-alone-mode.html) - [スタンドアロンモードでの保存済みレジャーの読み込み](load-a-saved-ledger-in-stand-alone-mode.html) - [スタンドアロンモードでレジャーを進める](advance-the-ledger-in-stand-alone-mode.html) diff --git a/content/references/rippled-api/api-conventions/error-formatting.md b/content/references/rippled-api/api-conventions/error-formatting.md index d461993d7a..540096fec9 100644 --- a/content/references/rippled-api/api-conventions/error-formatting.md +++ b/content/references/rippled-api/api-conventions/error-formatting.md @@ -114,3 +114,9 @@ All methods can potentially return any of the following values for the `error` c - `tooBusy` - The server is under too much load to do this command right now. Generally not returned if you are connected as an admin. - `unknownCmd` - The request does not contain a [command](rippled-api.html) that the `rippled` server recognizes. - `wsTextRequired` - (WebSocket only) The request's [opcode](https://tools.ietf.org/html/rfc6455#section-5.2) is not text. + + + +{% include '_snippets/rippled-api-links.md' %} +{% include '_snippets/tx-type-links.md' %} +{% include '_snippets/rippled_versions.md' %} diff --git a/content/tutorials/use-simple-xrp-payments/send-xrp.md b/content/tutorials/use-simple-xrp-payments/send-xrp.md index d50c3d88af..19a3ef0e5f 100644 --- a/content/tutorials/use-simple-xrp-payments/send-xrp.md +++ b/content/tutorials/use-simple-xrp-payments/send-xrp.md @@ -423,7 +423,7 @@ api = new ripple.RippleAPI({server: 'wss://s1.ripple.com:51233'}) api.connect() ``` -If you [install `rippled`](install-rippled.html) yourself, it connects to the production network by default. (You can also [configure it to connect to the test net](connect-your-rippled-to-the-xrp-test-net.html) instead.) After the server has synced (typically within about 15 minutes of starting it up), you can connect RippleAPI to it locally, which has [various benefits](rippled-server-modes.html#reasons-to-run-a-stock-server). The following example shows how to connect RippleAPI to a server running the default configuration: +If you [install `rippled`](install-rippled.html) yourself, it connects to the production network by default. (You can also [configure it to connect to the test net](connect-your-rippled-to-the-xrp-test-net.html) instead.) After the server has synced (typically within about 15 minutes of starting it up), you can connect RippleAPI to it locally, which has [various benefits](the-rippled-server.html). The following example shows how to connect RippleAPI to a server running the default configuration: ```js ripple = require('ripple-lib') diff --git a/dactyl-config.yml b/dactyl-config.yml index d824faa61b..146980b0ef 100644 --- a/dactyl-config.yml +++ b/dactyl-config.yml @@ -144,10 +144,14 @@ targets: "basic-data-types.html#account-sequence": "basic-data-types.html#アカウントシーケンス" "xrp.html#xrp-properties": "xrp.html#xrpの特性" # Fix links from untranslated health-check.html: - "rippled-server-modes.htmlstand-alone-mode": "rippled-server-modes.html#rippledサーバーをスタンドアロンモードで実行する理由" + "rippled-server-modes.html#stand-alone-mode": "rippled-server-modes.html#rippledサーバーをスタンドアロンモードで実行する理由" "server-doesnt-sync.html#normal-syncing-behavior": "server-doesnt-sync.html#通常の同期動作" # Fix link from untranslated negativeunl.html: "consensus.html#validation": "consensus.html#検証" + # Fix link from untranslated tickets.html: + "consensus.html#calculate-and-share-validations": "consensus.html#検証の計算と共有" + # Fix link from untranslated manifest.html: + "rippled-server-modes.html#reporting-mode": "rippled-server-modes.html#レポーティングモード" - name: xrp-api-only From 6470a7a8837e69858ef24a46354243dd15ec47e7 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 23 Feb 2021 16:32:10 -0800 Subject: [PATCH 2/2] Switch Block Stars podcast to Google link --- tool/template-learn-history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/template-learn-history.html b/tool/template-learn-history.html index 2903f02205..dbad0bd296 100644 --- a/tool/template-learn-history.html +++ b/tool/template-learn-history.html @@ -79,7 +79,7 @@

{% trans %}How Digital Assets Will Help Create a Sustainable Global Economy{% endtrans %}

{% trans %}Hear from Ripple co-founder Chris Larsen in the inaugural episode of the Block Stars podcast.{% endtrans %}

- {% trans %}Listen Now{% endtrans %} + {% trans %}Listen Now{% endtrans %}