Fix out of date localizations of daemon RPC doc

This commit is contained in:
Nathan Dorfman 2019-07-21 13:16:41 -06:00
parent aa775f1ed6
commit f583628857
4 changed files with 5 additions and 68 deletions

View File

@ -1,5 +1,5 @@
{% assign version = '2.3.0' | split: '.' %} {% assign version = '2.3.0' | split: '.' %}
{% include untranslated.html %} {% include disclaimer.html translated="false" version=page.version %}
## Introduction ## Introduction
This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each. This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each.

View File

@ -1,5 +1,5 @@
{% assign version = '2.3.0' | split: '.' %} {% assign version = '2.3.0' | split: '.' %}
{% include disclaimer.html translated="true" version=page.version %} {% include disclaimer.html translated="false" version=page.version %}
## Introduction ## Introduction
This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each. This is a list of the monerod daemon RPC calls, their inputs and outputs, and examples of each.

View File

@ -1,4 +1,4 @@
{% assign version = '2.2.0' | split: '.' %} {% assign version = '2.3.0' | split: '.' %}
{% include disclaimer.html translated="false" version=page.version %} {% include disclaimer.html translated="false" version=page.version %}
## Introduction ## 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_blocks_by_height.bin](#get_blocks_by_heightbin)
* [/get_hashes.bin](#get_hashesbin) * [/get_hashes.bin](#get_hashesbin)
* [/get_o_indexes.bin](#get_o_indexesbin) * [/get_o_indexes.bin](#get_o_indexesbin)
* [/get_random_outs.bin](#get_random_outsbin)
* [/get_outs.bin](#get_outsbin) * [/get_outs.bin](#get_outsbin)
* [/get_random_rctouts.bin](#get_random_rctoutsbin)
* [/get_transactions](#get_transactions) * [/get_transactions](#get_transactions)
* [/get_alt_blocks_hashes](#get_alt_blocks_hashes) * [/get_alt_blocks_hashes](#get_alt_blocks_hashes)
* [/is_key_image_spent](#is_key_image_spent) * [/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_outs.bin**
Get outputs. Binary request. 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** ### **/get_transactions**
Look up one or more transactions by hash. Look up one or more transactions by hash.
@ -2026,7 +1963,7 @@ Outputs:
* *id_hash* - string; Key image. * *id_hash* - string; Key image.
* *txs_hashes* - string list; tx hashes of the txes (usually one) spending that 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. * *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. * *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. * *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 * *do_not_relay*; boolean; States if this transaction should not be relayed

View File

@ -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_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*. Alias: *None*.