rippled - fee RPC edits

This commit is contained in:
mDuo13
2016-04-12 14:03:41 -07:00
parent 2c806eed1f
commit 103a8f157c
2 changed files with 39 additions and 25 deletions

View File

@@ -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 ####

View File

@@ -10696,22 +10696,22 @@ Connecting to 127.0.0.1:5005
<tr>
<td>drops.base_fee</td>
<td>String (Integer)</td>
<td>The transaction cost required for a <a href="#reference-transaction-cost">reference transaction</a> to be included in a ledger under minimum load.</td>
<td>The transaction cost required for a <a href="#reference-transaction-cost">reference transaction</a> to be included in a ledger under minimum load, represented in drops of XRP.</td>
</tr>
<tr>
<td>drops.median_fee</td>
<td>String (Integer)</td>
<td>An approximation of the median transaction cost among transactions included in the previous validated ledger.</td>
<td>An approximation of the median transaction cost among transactions included in the previous validated ledger, represented in drops of XRP.</td>
</tr>
<tr>
<td>drops.minimum_fee</td>
<td>String (Integer)</td>
<td>The minimum transaction cost for a <a href="#reference-transaction-cost">reference transaction</a> to be queued for a later ledger. If greater than <code>base_fee</code>, the transaction queue is full.</td>
<td>The minimum transaction cost for a <a href="#reference-transaction-cost">reference transaction</a> to be queued for a later ledger, represented in drops of XRP. If greater than <code>base_fee</code>, the transaction queue is full.</td>
</tr>
<tr>
<td>drops.open_ledger_fee</td>
<td>String (Integer)</td>
<td>The minimum transaction cost that a <a href="#reference-transaction-cost">reference transaction</a> must pay to be included in the current open ledger.</td>
<td>The minimum transaction cost that a <a href="#reference-transaction-cost">reference transaction</a> must pay to be included in the current open ledger, represented in drops of XRP.</td>
</tr>
<tr>
<td>expected_ledger_size</td>
@@ -10731,12 +10731,12 @@ Connecting to 127.0.0.1:5005
<tr>
<td>levels.minimum_level</td>
<td>String (Integer)</td>
<td>The minimum transaction cost required to be queued for a future ledger.</td>
<td>The minimum transaction cost required to be queued for a future ledger, represented in fee levels.</td>
</tr>
<tr>
<td>levels.open_ledger_level</td>
<td>String (Integer)</td>
<td></td>
<td>The minimum transaction cost required to be included in the current open ledger, represented in fee levels.</td>
</tr>
<tr>
<td>levels.reference_level</td>
@@ -10746,7 +10746,7 @@ Connecting to 127.0.0.1:5005
<tr>
<td>max_queue_size</td>
<td>String (Integer)</td>
<td></td>
<td>The maximum number of transactions that the <a href="concept-transaction-cost.html#queued-transactions">transaction queue</a> can currently hold.</td>
</tr>
</tbody>
</table>
@@ -10757,21 +10757,34 @@ Connecting to 127.0.0.1:5005
<table>
<thead>
<tr>
<th></th>
<th>Fee Level</th>
<th>Reference Transaction (Most transactions)</th>
<th>Transaction</th>
<th>Minimum cost in drops</th>
<th>Minimum cost in Fee levels</th>
<th>Double cost in drops</th>
<th>Double cost in fee levels</th>
</tr>
</thead>
<tbody>
<tr>
<td>Minimum cost</td>
<td>256</td>
<td>Reference transaction (most transactions)</td>
<td>10</td>
<td>256</td>
<td>20</td>
<td>512</td>
</tr>
<tr>
<td>Double cost</td>
<td><a href="reference-transaction-format.html#multi-signing">Multi-signed transaction</a> with 4 signatures</td>
<td>50</td>
<td>256</td>
<td>100</td>
<td>512</td>
<td>20</td>
</tr>
<tr>
<td><a href="concept-transaction-cost.html#key-reset-transaction">Key reset transaction</a></td>
<td>0</td>
<td>(Effectively infinite)</td>
<td>N/A</td>
<td>(Effectively infinite)</td>
</tr>
</tbody>
</table>