From 5a5f30445b589e7a8903b61fc09ca7399004e989 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 5 Jul 2016 15:48:33 -0700 Subject: [PATCH] rippled 0.32.0 edits from peer review --- concept-transaction-cost.html | 5 +- content/concept-transaction-cost.md | 8 +- content/reference-rippled.md | 99 +++++++++++++------------ content/reference-transaction-format.md | 2 +- reference-rippled.html | 97 ++++++++++-------------- reference-transaction-format.html | 2 +- 6 files changed, 101 insertions(+), 112 deletions(-) diff --git a/concept-transaction-cost.html b/concept-transaction-cost.html index 651e68147e..0749410216 100644 --- a/concept-transaction-cost.html +++ b/concept-transaction-cost.html @@ -220,8 +220,9 @@

The open ledger cost requirement is proportional to the normal cost of the transaction, not the absolute transaction cost. Transaction types that have a higher-than-normal requirement, such as multi-signed transactions must pay more to meet the open ledger cost than transactions which have minimum transaction cost requirements.

See also: Fee Escalation explanation in rippled repository.

Queued Transactions

-

When rippled receives a transaction that meet the server's local load cost but not the open ledger cost, the server estimates whether the transaction is "likely to be included" in a later ledger. If so, the server adds the transaction to the transaction queue and relays the transaction to other members of the network. Otherwise, the server discards the transaction. The server tries minimize the amount of network load caused by transactions that would not pay a transaction cost, since the transaction cost only applies when a transaction is included in a validated ledger.

-

When the current open ledger closes and the server starts a new open ledger, the server starts taking transactions from the queue to include in the new open ledger. The transaction queue is sorted with the transactions that would pay the highest transaction cost first, proportional to the un-scaled cost of those transactions. Transactions that pay the same transaction cost are queued in the order the server receives them.

+

When rippled receives a transaction that meet the server's local load cost but not the open ledger cost, the server estimates whether the transaction is "likely to be included" in a later ledger. If so, the server adds the transaction to the transaction queue and relays the transaction to other members of the network. Otherwise, the server discards the transaction. The server tries to minimize the amount of network load caused by transactions that would not pay a transaction cost, since the transaction cost only applies when a transaction is included in a validated ledger.

+

When the current open ledger closes and the server starts a new open ledger, the server starts taking transactions from the queue to include in the new open ledger. The transaction queue is sorted with the transactions that would pay the highest transaction cost first, proportional to the reference cost of those transactions. Transactions that pay the same transaction cost are queued in the order the server receives them.

+

Note: When rippled queues a transaction, the provisional transaction response code is terQUEUED. This means that the transaction is likely to succeed in a future. As with all provisional response codes, the outcome of the transaction is not final until the transaction is either included in a validated ledger, or rendered permanently invalid.

Queuing Restrictions

The rippled server uses a variety of heuristics to estimate which transactions are "likely to be included in a ledger." The current implementation uses the following rules to decide which transactions to queue:

The owner_info command is deprecated. Use account_objects instead.

List of Admin Commands

+

Admin commands are only available if you connect to rippled on a host and port that the config file identifies as admin. (By default, the commandline client uses an admin connection.)