From f583628857e44c10e5df404705753b931d66189a Mon Sep 17 00:00:00 2001 From: Nathan Dorfman <ndorf@rtfm.net> Date: Sun, 21 Jul 2019 13:16:41 -0600 Subject: [PATCH] Fix out of date localizations of daemon RPC doc --- .../resources/developer-guides/daemon-rpc.md | 2 +- .../resources/developer-guides/daemon-rpc.md | 2 +- .../resources/developer-guides/daemon-rpc.md | 67 +------------------ .../resources/developer-guides/daemon-rpc.md | 2 +- 4 files changed, 5 insertions(+), 68 deletions(-) diff --git a/_i18n/de/resources/developer-guides/daemon-rpc.md b/_i18n/de/resources/developer-guides/daemon-rpc.md index 78a46c16..23caf6ca 100644 --- a/_i18n/de/resources/developer-guides/daemon-rpc.md +++ b/_i18n/de/resources/developer-guides/daemon-rpc.md @@ -1,5 +1,5 @@ {% assign version = '2.3.0' | split: '.' %} -{% include untranslated.html %} +{% include disclaimer.html translated="false" version=page.version %} ## Introduction This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each. diff --git a/_i18n/nl/resources/developer-guides/daemon-rpc.md b/_i18n/nl/resources/developer-guides/daemon-rpc.md index 59cf36ca..23caf6ca 100644 --- a/_i18n/nl/resources/developer-guides/daemon-rpc.md +++ b/_i18n/nl/resources/developer-guides/daemon-rpc.md @@ -1,5 +1,5 @@ {% assign version = '2.3.0' | split: '.' %} -{% include disclaimer.html translated="true" version=page.version %} +{% include disclaimer.html translated="false" version=page.version %} ## Introduction This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each. diff --git a/_i18n/ru/resources/developer-guides/daemon-rpc.md b/_i18n/ru/resources/developer-guides/daemon-rpc.md index 9bbf4cd4..23caf6ca 100644 --- a/_i18n/ru/resources/developer-guides/daemon-rpc.md +++ b/_i18n/ru/resources/developer-guides/daemon-rpc.md @@ -1,4 +1,4 @@ -{% assign version = '2.2.0' | split: '.' %} +{% assign version = '2.3.0' | split: '.' %} {% include disclaimer.html translated="false" version=page.version %} ## Introduction @@ -44,9 +44,7 @@ Note2: Guide updated as of network height of 1,562,465. * [/get_blocks_by_height.bin](#get_blocks_by_heightbin) * [/get_hashes.bin](#get_hashesbin) * [/get_o_indexes.bin](#get_o_indexesbin) -* [/get_random_outs.bin](#get_random_outsbin) * [/get_outs.bin](#get_outsbin) -* [/get_random_rctouts.bin](#get_random_rctoutsbin) * [/get_transactions](#get_transactions) * [/get_alt_blocks_hashes](#get_alt_blocks_hashes) * [/is_key_image_spent](#is_key_image_spent) @@ -1395,37 +1393,6 @@ $ curl -X POST http://127.0.0.1:18081/get_o_indexes.bin --data-binary '{"txid":" ---> -### **/get_random_outs.bin** - -Get a list of random outputs for a specific list of amounts. Binary request. - -Alias: */getrandom_outs.bin*. - -Inputs: - -* *amounts* - array of unsigned int; amounts to get random outputs for -* *outs_count* - unsigned int; Number of output to get - -Output: - -* *outs* - array of structure *outs_for_amount* as follows: - * *amount* - unsigned int; - * *outs* - array of structure *out_entry* as follows: - * *global_amount_index* - unsigned int; - * *out_key* - public key; -* *status* - string; General RPC error code. "OK" means everything looks good. -* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`). - -<!-- Cannot get this working -Example: - -``` -$ curl -X POST http://127.0.0.1:18081/get_o_indexes.bin -d '{"txid":"d6e48158472848e6687173a91ae6eebfa3e1d778e65252ee99d7515d63090408"}' -H 'Content-Type: application/json' - -``` ----> - - ### **/get_outs.bin** Get outputs. Binary request. @@ -1460,36 +1427,6 @@ $ curl -X POST http://127.0.0.1:18081/get_o_indexes.bin --data-binary '{"txid":" ---> -### **/get_random_rctouts.bin** - -Get random RingCT outputs. Binary request. - -Alias: */getrandom_rctouts.bin*. - -Inputs: - -* *outs_count* - unsigned int; amount of RingCT output to get - -Outputs: - -* *outs* - array of structure *out_entry* as follows: - * *amount* - unsigned int; - * *commitment* - RingCT Key; - * *global_amount_index* - unsigned int; - * *out_key* - public key; -* *status* - string; General RPC error code. "OK" means everything looks good. -* *untrusted* - boolean; States if the result is obtained using the bootstrap mode, and is therefore not trusted (`true`), or when the daemon is fully synced (`false`). - -<!-- Cannot get this working -Example: - -``` -$ curl -X POST http://127.0.0.1:18081/get_random_rctouts.bin -d '{"outs_count":7}' -H 'Content-Type: application/json' - -``` ----> - - ### **/get_transactions** Look up one or more transactions by hash. @@ -2026,7 +1963,7 @@ Outputs: * *id_hash* - string; Key image. * *txs_hashes* - string list; tx hashes of the txes (usually one) spending that key image. * *status* - string; General RPC error code. "OK" means everything looks good. -* *transactions* - List of transactions in the mempool are not in in a block on the main chain at the moment: +* *transactions* - List of transactions in the mempool are not in a block on the main chain at the moment: * *blob_size* - unsigned int; The size of the full transaction blob. * *double_spend_seen* - boolean; States if this transaction has been seen as double spend. * *do_not_relay*; boolean; States if this transaction should not be relayed diff --git a/_i18n/zh-cn/resources/developer-guides/daemon-rpc.md b/_i18n/zh-cn/resources/developer-guides/daemon-rpc.md index cd616c8b..23caf6ca 100644 --- a/_i18n/zh-cn/resources/developer-guides/daemon-rpc.md +++ b/_i18n/zh-cn/resources/developer-guides/daemon-rpc.md @@ -914,7 +914,7 @@ $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","me ### **get_coinbase_tx_sum** -Get the coinbase ammount and the fees ammount for n last blocks starting at particular height +Get the coinbase amount and the fees amount for n last blocks starting at particular height Alias: *None*. -- GitLab