From 6a9d7cfc43c91593eded9224430d3ace5b9fadb8 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 25 Oct 2018 08:52:05 +0000 Subject: [PATCH] Remove obsolete get_random_* RPC --- .../resources/developer-guides/daemon-rpc.md | 65 +------------------ .../resources/developer-guides/daemon-rpc.md | 65 +------------------ .../resources/developer-guides/daemon-rpc.md | 65 +------------------ .../resources/developer-guides/daemon-rpc.md | 65 +------------------ .../resources/developer-guides/daemon-rpc.md | 65 +------------------ 5 files changed, 5 insertions(+), 320 deletions(-) diff --git a/_i18n/ar/resources/developer-guides/daemon-rpc.md b/_i18n/ar/resources/developer-guides/daemon-rpc.md index 640ca342..cd616c8b 100644 --- a/_i18n/ar/resources/developer-guides/daemon-rpc.md +++ b/_i18n/ar/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`). - - - - ### **/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`). - - - - ### **/get_transactions** Look up one or more transactions by hash. diff --git a/_i18n/en/resources/developer-guides/daemon-rpc.md b/_i18n/en/resources/developer-guides/daemon-rpc.md index 6f3e1a96..d143bf1f 100644 --- a/_i18n/en/resources/developer-guides/daemon-rpc.md +++ b/_i18n/en/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="true" 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`). - - - - ### **/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`). - - - - ### **/get_transactions** Look up one or more transactions by hash. diff --git a/_i18n/es/resources/developer-guides/daemon-rpc.md b/_i18n/es/resources/developer-guides/daemon-rpc.md index 640ca342..cd616c8b 100644 --- a/_i18n/es/resources/developer-guides/daemon-rpc.md +++ b/_i18n/es/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`). - - - - ### **/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`). - - - - ### **/get_transactions** Look up one or more transactions by hash. diff --git a/_i18n/fr/resources/developer-guides/daemon-rpc.md b/_i18n/fr/resources/developer-guides/daemon-rpc.md index 640ca342..cd616c8b 100644 --- a/_i18n/fr/resources/developer-guides/daemon-rpc.md +++ b/_i18n/fr/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`). - - - - ### **/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`). - - - - ### **/get_transactions** Look up one or more transactions by hash. diff --git a/_i18n/it/resources/developer-guides/daemon-rpc.md b/_i18n/it/resources/developer-guides/daemon-rpc.md index 640ca342..cd616c8b 100644 --- a/_i18n/it/resources/developer-guides/daemon-rpc.md +++ b/_i18n/it/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`). - - - - ### **/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`). - - - - ### **/get_transactions** Look up one or more transactions by hash.