From 0159c2103c27a795c99f2ce8ebbc44a2f64f784b Mon Sep 17 00:00:00 2001 From: Paul Shapiro Date: Fri, 21 Dec 2018 16:31:48 -0600 Subject: [PATCH] added derivation_to_scalar, decodeRctSimple, and estimate_rct_tx_size --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f947353..4538f88 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ When they fail, some of these functions return only a key-value `err_msg`. **`generate_key_image`** -* Args: `sec_viewKey_string: String`, `sec_spendKey_string: String`, `pub_spendKey_string: String`, `tx_pub_key: String`, `out_index: UInt64String` +* Args: `sec_viewKey_string: String`, `sec_spendKey_string: String`, `pub_spendKey_string: String`, `tx_pub_key: String`, `out_index: UInt32String` * Returns: `err_msg: String` *OR* `retVal: String` @@ -217,6 +217,12 @@ When they fail, some of these functions return only a key-value `err_msg`. * Args: `pub: String`, `sec: String` +* Returns: `err_msg: String` *OR* `retVal: String` + +**`derivation_to_scalar`** + +* Args: `derivation: String`, `output_index: UInt32String` + * Returns: `err_msg: String` *OR* `retVal: String` **`derive_public_key`** @@ -231,7 +237,7 @@ When they fail, some of these functions return only a key-value `err_msg`. * Returns: `err_msg: String` *OR* `retVal: String` -**`decodeRct`** +**`decodeRct`, `decodeRctSimple`** * Args: `i: UInt32String`, `sk: String`, `rv: DecodeRCT_RV` where @@ -263,6 +269,18 @@ Useful for displaying an estimated fee – To obtain exact fees, see "Creating a * Returns: `retVal: UInt64String` +**`estimate_rct_tx_size`** + +* Args: + * `n_inputs: UInt32String` + * `mixin: UInt32String` + * `n_outputs: UInt32String` + * `extra_size: UInt32String` + * `bulletproof: BoolString` + +* Returns: `retVal: UInt32String` + + #### Creating and Sending Transactions As mentioned, implementing the Send procedure without making use of one of our existing libraries or examples involves two bridge calls surrounded by server API calls, and mandatory reconstruction logic, and is simplified by various opportunities to pass values directly between the steps.