From 103a8f157c111632b8c04e33dbadd686c2425ca4 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 12 Apr 2016 14:03:41 -0700 Subject: [PATCH] rippled - fee RPC edits --- content/reference-rippled.md | 23 ++++++++++---------- reference-rippled.html | 41 ++++++++++++++++++++++++------------ 2 files changed, 39 insertions(+), 25 deletions(-) diff --git a/content/reference-rippled.md b/content/reference-rippled.md index fc573f4cb7..f89e309979 100755 --- a/content/reference-rippled.md +++ b/content/reference-rippled.md @@ -9157,17 +9157,17 @@ The response follows the [standard format](#response-formatting), with a success | current\_ledger\_size | String (Integer) | Number of transactions provisionally included in the in-progress ledger. | | current\_queue\_size | String (Integer) | Number of transactions currently queued for the next ledger. | | drops | Object | Various information about the transaction cost (the `Fee` field of a transaction), in [drops of xrp](#specifying-currency-amounts). | -| drops.base\_fee | String (Integer) | The transaction cost required for a [reference transaction](#reference-transaction-cost) to be included in a ledger under minimum load. | -| drops.median\_fee | String (Integer) | An approximation of the median transaction cost among transactions included in the previous validated ledger. | -| drops.minimum\_fee | String (Integer) | The minimum transaction cost for a [reference transaction](#reference-transaction-cost) to be queued for a later ledger. If greater than `base_fee`, the transaction queue is full. | -| drops.open\_ledger\_fee | String (Integer) | The minimum transaction cost that a [reference transaction](#reference-transaction-cost) must pay to be included in the current open ledger. | +| drops.base\_fee | String (Integer) | The transaction cost required for a [reference transaction](#reference-transaction-cost) to be included in a ledger under minimum load, represented in drops of XRP. | +| drops.median\_fee | String (Integer) | An approximation of the median transaction cost among transactions included in the previous validated ledger, represented in drops of XRP. | +| drops.minimum\_fee | String (Integer) | The minimum transaction cost for a [reference transaction](#reference-transaction-cost) to be queued for a later ledger, represented in drops of XRP. If greater than `base_fee`, the transaction queue is full. | +| drops.open\_ledger\_fee | String (Integer) | The minimum transaction cost that a [reference transaction](#reference-transaction-cost) must pay to be included in the current open ledger, represented in drops of XRP. | | expected\_ledger\_size | String (Integer) | The approximate number of transactions expected to be included in the current ledger. This is based on the number of transactions in the previous ledger. | | levels | Object | Various information about the transaction cost, in _fee levels_. The ratio in fee levels applies to any transaction relative to the minimum cost of that particular transaction. | | levels.median\_level | String (Integer) | The median transaction cost among transactions in the previous validated ledger, represented in fee levels. | -| levels.minimum\_level | String (Integer) | The minimum transaction cost required to be queued for a future ledger. -| levels.open\_ledger\_level | String (Integer) | +| levels.minimum\_level | String (Integer) | The minimum transaction cost required to be queued for a future ledger, represented in fee levels. | +| levels.open\_ledger\_level | String (Integer) | The minimum transaction cost required to be included in the current open ledger, represented in fee levels. | | levels.reference\_level | String (Integer) | The equivalent of the minimum transaction cost, represented in fee levels. | -| max\_queue\_size | String (Integer) | +| max\_queue\_size | String (Integer) | The maximum number of transactions that the [transaction queue](concept-transaction-cost.html#queued-transactions) can currently hold. | ### Reference Transaction Cost ### @@ -9177,10 +9177,11 @@ The "Reference Transaction" is the cheapest possible transaction, in terms of th _Fee levels_ represent the proportional difference between the minimum cost and the actual cost of a transaction. See the following table for a comparison: -| | Fee Level | Reference Transaction (Most transactions) | Multi-signed transaction with 4 signatures | -|---|-------------------------------------------|----------------------------------------------| -| Minimum cost | 256 | 10 | 50 | -| Double cost | 512 | 20 | 100 | +| Transaction | Minimum cost in drops | Minimum cost in Fee levels | Double cost in drops | Double cost in fee levels | +|-------------|-----------------------|----------------------------|----------------------|---------------------------| +| Reference transaction (most transactions) | 10 | 256 | 20 | 512 | +| [Multi-signed transaction](reference-transaction-format.html#multi-signing) with 4 signatures | 50 | 256 | 100 | 512 | +| [Key reset transaction](concept-transaction-cost.html#key-reset-transaction) | 0 | (Effectively infinite) | N/A | (Effectively infinite) | #### Possible Errors #### diff --git a/reference-rippled.html b/reference-rippled.html index d2a322d6ba..9e60715aeb 100644 --- a/reference-rippled.html +++ b/reference-rippled.html @@ -10696,22 +10696,22 @@ Connecting to 127.0.0.1:5005 drops.base_fee String (Integer) -The transaction cost required for a reference transaction to be included in a ledger under minimum load. +The transaction cost required for a reference transaction to be included in a ledger under minimum load, represented in drops of XRP. drops.median_fee String (Integer) -An approximation of the median transaction cost among transactions included in the previous validated ledger. +An approximation of the median transaction cost among transactions included in the previous validated ledger, represented in drops of XRP. drops.minimum_fee String (Integer) -The minimum transaction cost for a reference transaction to be queued for a later ledger. If greater than base_fee, the transaction queue is full. +The minimum transaction cost for a reference transaction to be queued for a later ledger, represented in drops of XRP. If greater than base_fee, the transaction queue is full. drops.open_ledger_fee String (Integer) -The minimum transaction cost that a reference transaction must pay to be included in the current open ledger. +The minimum transaction cost that a reference transaction must pay to be included in the current open ledger, represented in drops of XRP. expected_ledger_size @@ -10731,12 +10731,12 @@ Connecting to 127.0.0.1:5005 levels.minimum_level String (Integer) -The minimum transaction cost required to be queued for a future ledger. +The minimum transaction cost required to be queued for a future ledger, represented in fee levels. levels.open_ledger_level String (Integer) - +The minimum transaction cost required to be included in the current open ledger, represented in fee levels. levels.reference_level @@ -10746,7 +10746,7 @@ Connecting to 127.0.0.1:5005 max_queue_size String (Integer) - +The maximum number of transactions that the transaction queue can currently hold. @@ -10757,21 +10757,34 @@ Connecting to 127.0.0.1:5005 - - - + + + + + - - + + + + - + + + + - + + + + + + +
Fee LevelReference Transaction (Most transactions)TransactionMinimum cost in dropsMinimum cost in Fee levelsDouble cost in dropsDouble cost in fee levels
Minimum cost256Reference transaction (most transactions) 1025620512
Double costMulti-signed transaction with 4 signatures50256100 51220
Key reset transaction0(Effectively infinite)N/A(Effectively infinite)