mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
rippled 0.32.0 edits from peer review
This commit is contained in:
@@ -220,8 +220,9 @@
|
|||||||
<p>The open ledger cost requirement is <a href="#fee-levels">proportional to the normal cost of the transaction</a>, not the absolute transaction cost. Transaction types that have a higher-than-normal requirement, such as <a href="reference-transaction-format.html#multi-signing">multi-signed transactions</a> must pay more to meet the open ledger cost than transactions which have minimum transaction cost requirements.</p>
|
<p>The open ledger cost requirement is <a href="#fee-levels">proportional to the normal cost of the transaction</a>, not the absolute transaction cost. Transaction types that have a higher-than-normal requirement, such as <a href="reference-transaction-format.html#multi-signing">multi-signed transactions</a> must pay more to meet the open ledger cost than transactions which have minimum transaction cost requirements.</p>
|
||||||
<p>See also: <a href="https://github.com/ripple/rippled/blob/release/src/ripple/app/misc/FeeEscalation.md">Fee Escalation explanation in <code>rippled</code> repository</a>.</p>
|
<p>See also: <a href="https://github.com/ripple/rippled/blob/release/src/ripple/app/misc/FeeEscalation.md">Fee Escalation explanation in <code>rippled</code> repository</a>.</p>
|
||||||
<h3 id="queued-transactions">Queued Transactions</h3>
|
<h3 id="queued-transactions">Queued Transactions</h3>
|
||||||
<p>When <code>rippled</code> 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 <a href="#transaction-costs-and-failed-transactions">the transaction cost only applies when a transaction is included in a validated ledger</a>.</p>
|
<p>When <code>rippled</code> receives a transaction that meet the server's local load cost but not the <a href="#open-ledger-cost">open ledger cost</a>, 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 <a href="#transaction-costs-and-failed-transactions">the transaction cost only applies when a transaction is included in a validated ledger</a>.</p>
|
||||||
<p>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.</p>
|
<p>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 <a href="#reference-transaction-cost">reference cost</a> of those transactions. Transactions that pay the same transaction cost are queued in the order the server receives them.</p>
|
||||||
|
<p class="devportal-callout note"><strong>Note:</strong> When <code>rippled</code> queues a transaction, the provisional <a href="reference-transaction-format.html#transaction-results">transaction response code</a> is <code>terQUEUED</code>. 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 <a href="reference-transaction-format.html#finality-of-results">rendered permanently invalid</a>.</p>
|
||||||
<h4 id="queuing-restrictions">Queuing Restrictions</h4>
|
<h4 id="queuing-restrictions">Queuing Restrictions</h4>
|
||||||
<p>The <code>rippled</code> 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:</p>
|
<p>The <code>rippled</code> 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:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -57,9 +57,11 @@ See also: [Fee Escalation explanation in `rippled` repository](https://github.co
|
|||||||
|
|
||||||
### Queued Transactions ###
|
### 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](#transaction-costs-and-failed-transactions).
|
When `rippled` receives a transaction that meet the server's local load cost but not the [open ledger cost](#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](#transaction-costs-and-failed-transactions).
|
||||||
|
|
||||||
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 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](#reference-transaction-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](reference-transaction-format.html#transaction-results) 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](reference-transaction-format.html#finality-of-results).
|
||||||
|
|
||||||
#### Queuing Restrictions ####
|
#### Queuing Restrictions ####
|
||||||
|
|
||||||
@@ -70,8 +72,6 @@ The `rippled` server uses a variety of heuristics to estimate which transactions
|
|||||||
* A single sending address can have at most 10 transactions queued at the same time. In order for a transaction to be queued, the sender must have enough XRP to pay all the XRP costs of all the sender's queued transactions including both the `Fee` fields and the sum of the XRP that each transaction could send. If a transaction affects how the address authorizes accounts, no other transactions from the same address can be queued behind it. _(New in [`rippled` 0.32.0](https://github.com/ripple/rippled/releases/tag/0.32.0))_
|
* A single sending address can have at most 10 transactions queued at the same time. In order for a transaction to be queued, the sender must have enough XRP to pay all the XRP costs of all the sender's queued transactions including both the `Fee` fields and the sum of the XRP that each transaction could send. If a transaction affects how the address authorizes accounts, no other transactions from the same address can be queued behind it. _(New in [`rippled` 0.32.0](https://github.com/ripple/rippled/releases/tag/0.32.0))_
|
||||||
* If the transaction includes a `LastLedgerSequence` field, the value of that field must be at least **the current ledger index + 2**.
|
* If the transaction includes a `LastLedgerSequence` field, the value of that field must be at least **the current ledger index + 2**.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Reference Transaction Cost ##
|
## Reference Transaction Cost ##
|
||||||
|
|
||||||
The "Reference Transaction" is the cheapest (non-free) transaction, in terms of the necessary [transaction cost](concept-transaction-cost.html) before load scaling. Most transactions have the same cost as the reference transaction. Some transactions, such as [multi-signed transactions](reference-transaction-format.html#multi-signing), require a multiple of this cost instead. When the open ledger cost escalates, the requirement is proportional to the basic cost of the transaction.
|
The "Reference Transaction" is the cheapest (non-free) transaction, in terms of the necessary [transaction cost](concept-transaction-cost.html) before load scaling. Most transactions have the same cost as the reference transaction. Some transactions, such as [multi-signed transactions](reference-transaction-format.html#multi-signing), require a multiple of this cost instead. When the open ledger cost escalates, the requirement is proportional to the basic cost of the transaction.
|
||||||
|
|||||||
@@ -546,6 +546,8 @@ The `owner_info` command is deprecated. Use [`account_objects`](#account-objects
|
|||||||
|
|
||||||
## List of Admin Commands ##
|
## List of Admin Commands ##
|
||||||
|
|
||||||
|
Admin commands are only available if you [connect to `rippled`](#connecting-to-rippled) on a host and port that the config file identifies as admin. (By default, the commandline client uses an admin connection.)
|
||||||
|
|
||||||
* [`can_delete` - Allow online deletion of ledgers up to a specific ledger](#can-delete)
|
* [`can_delete` - Allow online deletion of ledgers up to a specific ledger](#can-delete)
|
||||||
* [`connect` - Force the rippled server to connect to a specific peer](#connect)
|
* [`connect` - Force the rippled server to connect to a specific peer](#connect)
|
||||||
* [`consensus_info` - Get information about the state of consensus as it happens](#consensus-info)
|
* [`consensus_info` - Get information about the state of consensus as it happens](#consensus-info)
|
||||||
@@ -2839,7 +2841,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
Use the `wallet_propose` method to generate a key pair and Ripple [address]. This command only generates keys, and does not affect the Ripple Consensus Ledger itself in any way. To become a funded address stored in the ledger, the address must [receive a Payment transaction](reference-transaction-format.html#creating-accounts) that provides enough XRP to meet the [reserve requirement](concept-reserves.html).
|
Use the `wallet_propose` method to generate a key pair and Ripple [address]. This command only generates keys, and does not affect the Ripple Consensus Ledger itself in any way. To become a funded address stored in the ledger, the address must [receive a Payment transaction](reference-transaction-format.html#creating-accounts) that provides enough XRP to meet the [reserve requirement](concept-reserves.html).
|
||||||
|
|
||||||
*The `wallet_propose` request is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!* (This command is restricted to protect against people sniffing network traffic for account secrets, since admin commands are not usually transmitted over the outside network.)
|
*The `wallet_propose` request is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!* (This command is restricted to protect against people sniffing network traffic for account secrets, since admin commands are not usually transmitted over the outside network.)
|
||||||
|
|
||||||
_(Updated in [version 0.31.0][])_
|
_(Updated in [version 0.31.0][])_
|
||||||
|
|
||||||
@@ -2904,27 +2906,22 @@ rippled wallet_propose masterpassphrase
|
|||||||
|
|
||||||
<!-- MULTICODE_BLOCK_END -->
|
<!-- MULTICODE_BLOCK_END -->
|
||||||
|
|
||||||
There are two valid modes for this command, depending on whether the request specifies the `key_type` parameter. If you omit the `key_type`, the request takes _only_ the following parameter (ignoring others):
|
The request can contain the following parameters:
|
||||||
|
|
||||||
| Field | Type | Description |
|
| Field | Type | Description |
|
||||||
|-------|------|-------------|
|
|-------|------|-------------|
|
||||||
| passphrase | String | (Optional) Generate a key pair and address from this seed value using the elliptic curve secp256k1. This value can be formatted in hexadecimal, base-58, RFC-1751, or as an arbitrary string. If omitted, use a random seed. |
|
| key\_type | String | Which elliptic curve to use for this key pair. Valid values are `ed25519` and `secp256k1` (all lower case). Defaults to `secp256k1`. |
|
||||||
|
| passphrase | String | (Optional) Generate a key pair and address from this seed value. This value can be formatted in [hexadecimal][], [base-58][], [RFC-1751][], or as an arbitrary string. Cannot be used with `seed` or `seed_hex`. |
|
||||||
|
| seed | String | (Optional) Generate the key pair and address from this [base-58][]-encoded seed value. Cannot be used with `passphrase` or `seed_hex`. |
|
||||||
|
| seed\_hex | String | (Optional) Generate the key pair and address from this seed value in [hexadecimal][] format. Cannot be used with `passphrase` or `seed`. |
|
||||||
|
|
||||||
|
You must provide **at most one** of the following fields: `passphrase`, `seed`, or `seed_hex`. If you omit all three, `rippled` uses a random seed.
|
||||||
|
|
||||||
If you specify the `key_type`, you must provide at most one of the following fields: `passphrase`, `seed`, or `seed_hex`. (If you omit all three, `rippled` uses a random seed.) In this mode, the request parameters are as follows:
|
**Note:** [Ed25519](https://ed25519.cr.yp.to/) support is experimental. The commandline version of this command cannot generate Ed25519 keys.
|
||||||
|
|
||||||
| Field | Type | Description |
|
|
||||||
|-------|------|-------------|
|
|
||||||
| key\_type | String | Which elliptic curve to use for this key pair. Valid values are `ed25519` and `secp256k1`. **Caution:** [Ed25519](https://ed25519.cr.yp.to/) support is experimental. |
|
|
||||||
| passphrase | String | (Optional) Generate the key pair and address from this seed value. This is interpreted as a string only. Cannot be used with `seed` or `seed_hex`. |
|
|
||||||
| seed | String | (Optional) Generate the key pair and address from this base-58-encoded seed value. Cannot be used with `passphrase` or `seed_hex`. Ignored unless `key_type` is provided. |
|
|
||||||
| seed\_hex | String | (Optional) Generate the key pair and address from this seed value in hexadecimal format. Cannot be used with `passphrase` or `seed`. Ignored unless `key_type` is provided. |
|
|
||||||
|
|
||||||
The commandline version of this command cannot generate Ed25519 keys.
|
|
||||||
|
|
||||||
##### Specifying a Seed #####
|
##### Specifying a Seed #####
|
||||||
|
|
||||||
**Caution:** For most cases, you should use a seed value generated from a strong source of randomness. Anyone who knows the seed value for an address has full power to [send transactions signed by that address](reference-transaction-format.html#authorizing-transactions). Generally, running this command with no parameters is a good way to generate a random seed.
|
For most cases, you should use a seed value generated from a strong source of randomness. Anyone who knows the seed value for an address has full power to [send transactions signed by that address](reference-transaction-format.html#authorizing-transactions). Generally, running this command with no parameters is a good way to generate a random seed.
|
||||||
|
|
||||||
Cases where you would specify a known seed include:
|
Cases where you would specify a known seed include:
|
||||||
|
|
||||||
@@ -2934,11 +2931,15 @@ Cases where you would specify a known seed include:
|
|||||||
|
|
||||||
If you do specify a seed, you can specify it in any of the following formats:
|
If you do specify a seed, you can specify it in any of the following formats:
|
||||||
|
|
||||||
* As a [base-58](https://en.wikipedia.org/wiki/Base58) secret key format string. Example: `snoPBrXtMeMyMHUVTgbuqAfg1SUTb`.
|
* As a [base-58][] secret key format string. Example: `snoPBrXtMeMyMHUVTgbuqAfg1SUTb`.
|
||||||
* As an [RFC-1751](https://tools.ietf.org/html/rfc1751) format string (secp256k1 key pairs only). Example: `I IRE BOND BOW TRIO LAID SEAT GOAL HEN IBIS IBIS DARE`.
|
* As an [RFC-1751][] format string (secp256k1 key pairs only). Example: `I IRE BOND BOW TRIO LAID SEAT GOAL HEN IBIS IBIS DARE`.
|
||||||
* As a 128-bit [hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal) string. Example: `DEDCE9CE67B451D852FD4E846FCDE31C`.
|
* As a 128-bit [hexadecimal][] string. Example: `DEDCE9CE67B451D852FD4E846FCDE31C`.
|
||||||
* An arbitrary string to use as a seed value. For example: `masterpassphrase`.
|
* An arbitrary string to use as a seed value. For example: `masterpassphrase`.
|
||||||
|
|
||||||
|
[base-58]: https://en.wikipedia.org/wiki/Base58
|
||||||
|
[RFC-1751]: https://tools.ietf.org/html/rfc1751
|
||||||
|
[hexadecimal]: https://en.wikipedia.org/wiki/Hexadecimal
|
||||||
|
|
||||||
#### Response Format ####
|
#### Response Format ####
|
||||||
|
|
||||||
An example of a successful response:
|
An example of a successful response:
|
||||||
@@ -3800,7 +3801,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
The `ledger_request` command tells server to fetch a specific ledger version from its connected peers. This only works if one of the server's immediately-connected peers has that ledger. You may need to run the command several times to completely fetch a ledger.
|
The `ledger_request` command tells server to fetch a specific ledger version from its connected peers. This only works if one of the server's immediately-connected peers has that ledger. You may need to run the command several times to completely fetch a ledger.
|
||||||
|
|
||||||
*The `ledger_request` request is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!*
|
*The `ledger_request` request is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!*
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -3980,7 +3981,7 @@ When the server is in the progress of fetching a ledger, but has not yet finishe
|
|||||||
|
|
||||||
The `ledger_accept` method forces the server to close the current-working ledger and move to the next ledger number. This method is intended for testing purposes only, and is only available when the `rippled` server is running stand-alone mode.
|
The `ledger_accept` method forces the server to close the current-working ledger and move to the next ledger number. This method is intended for testing purposes only, and is only available when the `rippled` server is running stand-alone mode.
|
||||||
|
|
||||||
*The `ledger_accept` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!*
|
*The `ledger_accept` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!*
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
|
|
||||||
@@ -7678,8 +7679,8 @@ The fields from a validations stream message are as follows:
|
|||||||
| `type` | String | The value `validationReceived` indicates this is from the validations stream. |
|
| `type` | String | The value `validationReceived` indicates this is from the validations stream. |
|
||||||
| `amendments` | Array of Strings | (May be omitted) The [amendments](concept-amendments.html) this server wants to be added to the protocol. _(New in [version 0.32.0][])_ |
|
| `amendments` | Array of Strings | (May be omitted) The [amendments](concept-amendments.html) this server wants to be added to the protocol. _(New in [version 0.32.0][])_ |
|
||||||
| `base_fee` | Integer | (May be omitted) The unscaled transaction cost (`reference_fee` value) this server wants to set by [Fee Voting](concept-fee-voting.html). _(New in [version 0.32.0][])_ |
|
| `base_fee` | Integer | (May be omitted) The unscaled transaction cost (`reference_fee` value) this server wants to set by [Fee Voting](concept-fee-voting.html). _(New in [version 0.32.0][])_ |
|
||||||
| `flags` | Number | Bit-mask of flags added to this validation message. The flag 0x80000000 indicates that the validation signature is fully-canonical. The flag 0x00000001 indicates that this is a full validation; otherwise it's a partial validation. <!--{# TODO: what's a partial validation? #}--> _(New in [version 0.32.0][])_ |
|
| `flags` | Number | Bit-mask of flags added to this validation message. The flag 0x80000000 indicates that the validation signature is fully-canonical. The flag 0x00000001 indicates that this is a full validation; otherwise it's a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus. _(New in [version 0.32.0][])_ |
|
||||||
| `full` | Boolean | If `true`, this is a full validation. Otherwise, this is a partial validation. _(New in [version 0.32.0][])_ |
|
| `full` | Boolean | If `true`, this is a full validation. Otherwise, this is a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus. _(New in [version 0.32.0][])_ |
|
||||||
| `ledger_hash` | String | The identifying hash of the proposed ledger is being validated. |
|
| `ledger_hash` | String | The identifying hash of the proposed ledger is being validated. |
|
||||||
| `ledger_index` | String - Integer | The [Ledger Index][] of the proposed ledger. _(New in [version 0.31.0][])_ |
|
| `ledger_index` | String - Integer | The [Ledger Index][] of the proposed ledger. _(New in [version 0.31.0][])_ |
|
||||||
| `load_fee` | Integer | (May be omitted) The local load-scaled transaction cost this validator is currently enforcing, in fee units. _(New in [version 0.32.0][])_ |
|
| `load_fee` | Integer | (May be omitted) The local load-scaled transaction cost this validator is currently enforcing, in fee units. _(New in [version 0.32.0][])_ |
|
||||||
@@ -8367,9 +8368,9 @@ The `info` object may have some arrangement of the following fields:
|
|||||||
| load | Object | *Admin only* Detailed information about the current load state of the server |
|
| load | Object | *Admin only* Detailed information about the current load state of the server |
|
||||||
| load.job\_types | Array | *Admin only* Information about the rate of different types of jobs the server is doing and how much time it spends on each. |
|
| load.job\_types | Array | *Admin only* Information about the rate of different types of jobs the server is doing and how much time it spends on each. |
|
||||||
| load.threads | Number | *Admin only* The number of threads in the server's main job pool. |
|
| load.threads | Number | *Admin only* The number of threads in the server's main job pool. |
|
||||||
| load\_factor | Number | The load factor the server is currently enforcing, as a multiplier on the base transaction cost. The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor. **Note:** This `load_factor` is calculated as the ratio of the `load_factor` and the `load_base` that are reported by the [`server_state` command](#server-state) |
|
| load\_factor | Number | The load factor the server is currently enforcing, as a multiplier on the base transaction cost. For example, at `1000` load factor and a reference transaction cost of 10 drops of XRP, the load-scaled transaction cost is 10,000 drops (0.01 XRP). The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor. **Note:** This `load_factor` is calculated as the ratio of the `load_factor` and the `load_base` that are reported by the [`server_state` command](#server-state) |
|
||||||
| load\_factor\_local | Number | (May be omitted) Current multiplier to the [transaction cost][] based on load to this server. |
|
| load\_factor\_local | Number | (May be omitted) Current multiplier to the [transaction cost][] based on load to this server. |
|
||||||
| load\_factor\_net | Number | (May be omitted) Current multiplier to the [transaction cost][] being used by the rest of the network (estimated). |
|
| load\_factor\_net | Number | (May be omitted) Current multiplier to the [transaction cost][] being used by the rest of the network (estimated from other servers' reported load values). |
|
||||||
| load\_factor\_cluster | Number | (May be omitted) Current multiplier to the [transaction cost][] based on load to servers in [this cluster](tutorial-rippled-setup.html#clustering). |
|
| load\_factor\_cluster | Number | (May be omitted) Current multiplier to the [transaction cost][] based on load to servers in [this cluster](tutorial-rippled-setup.html#clustering). |
|
||||||
| load\_factor\_fee\_escalation | Number | (May be omitted) The current multiplier to the [transaction cost][] that a transaction must pay to get into the open ledger. _(New in [version 0.32.0][])_ |
|
| load\_factor\_fee\_escalation | Number | (May be omitted) The current multiplier to the [transaction cost][] that a transaction must pay to get into the open ledger. _(New in [version 0.32.0][])_ |
|
||||||
| load\_factor\_fee\_queue | Number | (May be omitted) The current multiplier to the [transaction cost][] that a transaction must pay to get into the queue, if the queue is full. _(New in [version 0.32.0][])_ |
|
| load\_factor\_fee\_queue | Number | (May be omitted) The current multiplier to the [transaction cost][] that a transaction must pay to get into the queue, if the queue is full. _(New in [version 0.32.0][])_ |
|
||||||
@@ -8649,16 +8650,16 @@ The `state` object may have some arrangement of the following fields:
|
|||||||
| Field | Type | Description |
|
| Field | Type | Description |
|
||||||
|-------|------|-------------|
|
|-------|------|-------------|
|
||||||
| build_version | String | The version number of the running `rippled` version. |
|
| build_version | String | The version number of the running `rippled` version. |
|
||||||
| complete\_ledgers | String | Range expression indicating the sequence numbers of the ledger versions the local rippled has in its database. It is possible to be a disjoint sequence, e.g. "2500-5000,32570-7695432". |
|
| complete\_ledgers | String | Range expression indicating the sequence numbers of the ledger versions the local `rippled` has in its database. It is possible to be a disjoint sequence, e.g. "2500-5000,32570-7695432". |
|
||||||
| io\_latency\_ms | Number | Amount of time spent waiting for I/O operations, in milliseconds. If this number is not very, very low, then the `rippled` server is probably having serious load issues. |
|
| io\_latency\_ms | Number | Amount of time spent waiting for I/O operations, in milliseconds. If this number is not very, very low, then the `rippled` server is probably having serious load issues. |
|
||||||
| load | Object | *Admin only* Detailed information about the current load state of the server |
|
| load | Object | *Admin only* Detailed information about the current load state of the server |
|
||||||
| load.job\_types | Array | *Admin only* Information about the rate of different types of jobs the server is doing and how much time it spends on each. |
|
| load.job\_types | Array | *Admin only* Information about the rate of different types of jobs the server is doing and how much time it spends on each. |
|
||||||
| load.threads | Number | *Admin only* The number of threads in the server's main job pool. |
|
| load.threads | Number | *Admin only* The number of threads in the server's main job pool. |
|
||||||
| load\_base | Integer | This amount of server load is the baseline that is used to decide how much to charge in transaction fees; if the `load_factor` is equal to the `load_base` then only the base fee is enforced; if the `load_factor` is double the `load_base` then transaction costs are doubled. |
|
| load\_base | Integer | This is the baseline amount of server load used in [transaction cost](concept-transaction-cost.html) calculations. If the `load_factor` is equal to the `load_base` then only the base transaction cost is enforced. If the `load_factor` is higher than the `load_base`, then transaction costs are multiplied by the ratio between them. For example, if the `load_factor` is double the `load_base`, then transaction costs are doubled. |
|
||||||
| load\_factor | Number | The load factor the server is currently enforcing. The ratio between this value and the `load_base` determines the multiplier for transaction fees. The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor. |
|
| load\_factor | Number | The load factor the server is currently enforcing. The ratio between this value and the `load_base` determines the multiplier for transaction costs. The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor. |
|
||||||
| load\_factor\_fee\_escalation | Integer | (May be omitted) The current multiplier to the [transaction cost][] that a transaction must pay to get into the open ledger, in fee levels. _(New in [version 0.32.0][])_ |
|
| load\_factor\_fee\_escalation | Integer | (May be omitted) The current multiplier to the [transaction cost][] to get into the open ledger, in [fee levels][]. _(New in [version 0.32.0][])_ |
|
||||||
| load\_factor\_fee\_queue | Integer | (May be omitted) The current multiplier to the [transaction cost][] that a transaction must pay to get into the queue, if the queue is full, in fee levels. _(New in [version 0.32.0][])_ |
|
| load\_factor\_fee\_queue | Integer | (May be omitted) The current multiplier to the [transaction cost][] to get into the queue, if the queue is full, in [fee levels][]. _(New in [version 0.32.0][])_ |
|
||||||
| load\_factor\_fee\_reference | Integer | (May be omitted) The [transaction cost][] with no load scaling, in fee levels. _(New in [version 0.32.0][])_ |
|
| load\_factor\_fee\_reference | Integer | (May be omitted) The [transaction cost][] with no load scaling, in [fee levels][]. _(New in [version 0.32.0][])_ |
|
||||||
| peers | Number | How many other `rippled` servers the node is currently connected to. |
|
| peers | Number | How many other `rippled` servers the node is currently connected to. |
|
||||||
| pubkey\_node | String | Public key used by this server (along with the corresponding private key) for secure communications between nodes. This key pair is automatically created and stored in `rippled`'s local database the first time it starts up; if lost or deleted, a new key pair can be generated with no ill effects. |
|
| pubkey\_node | String | Public key used by this server (along with the corresponding private key) for secure communications between nodes. This key pair is automatically created and stored in `rippled`'s local database the first time it starts up; if lost or deleted, a new key pair can be generated with no ill effects. |
|
||||||
| pubkey\_validator | String | *Admin only* Public key of the keypair used by this server to sign proposed ledgers for validation. |
|
| pubkey\_validator | String | *Admin only* Public key of the keypair used by this server to sign proposed ledgers for validation. |
|
||||||
@@ -8676,6 +8677,8 @@ The `state` object may have some arrangement of the following fields:
|
|||||||
| validated\_ledger.seq | Unsigned Integer | Unique sequence number of this ledger
|
| validated\_ledger.seq | Unsigned Integer | Unique sequence number of this ledger
|
||||||
| validation\_quorum | Number | Minimum number of trusted validations required to validate a ledger version. Some circumstances may cause the server to require more validations. |
|
| validation\_quorum | Number | Minimum number of trusted validations required to validate a ledger version. Some circumstances may cause the server to require more validations. |
|
||||||
|
|
||||||
|
[fee levels]: concept-transaction-cost.html#fee-levels
|
||||||
|
|
||||||
#### Possible Errors ####
|
#### Possible Errors ####
|
||||||
|
|
||||||
* Any of the [universal error types](#universal-errors).
|
* Any of the [universal error types](#universal-errors).
|
||||||
@@ -8686,7 +8689,7 @@ The `state` object may have some arrangement of the following fields:
|
|||||||
|
|
||||||
With `online_delete` and `advisory_delete` configuration options enabled, the `can_delete` method informs the rippled server of the latest ledger which may be deleted.
|
With `online_delete` and `advisory_delete` configuration options enabled, the `can_delete` method informs the rippled server of the latest ledger which may be deleted.
|
||||||
|
|
||||||
_The `can_delete` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `can_delete` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
|
|
||||||
@@ -8757,7 +8760,7 @@ Use this command with no parameter to query the existing `can_delete` setting.
|
|||||||
|
|
||||||
The `consensus_info` command provides information about the consensus process for debugging purposes.
|
The `consensus_info` command provides information about the consensus process for debugging purposes.
|
||||||
|
|
||||||
_The `consensus_info` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `consensus_info` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -8988,7 +8991,7 @@ The results of the `consensus_info` command can vary dramatically if you run it
|
|||||||
|
|
||||||
The `fetch_info` command returns information about objects that this server is currently fetching from the network, and how many peers have that information. It can also be used to reset current fetches.
|
The `fetch_info` command returns information about objects that this server is currently fetching from the network, and how many peers have that information. It can also be used to reset current fetches.
|
||||||
|
|
||||||
_The `fetch_info` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `fetch_info` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -9149,7 +9152,7 @@ The `feature` command returns information about [amendments](concept-amendments.
|
|||||||
|
|
||||||
You can use the `feature` command to temporarily configure the server to vote against or in favor of an amendment. This change does not persist if you restart the server. To make lasting changes in amendment voting, use the `rippled.cfg` file. See [Configuring Amendment Voting](concept-amendments.html#configuring-amendment-voting) for more information.
|
You can use the `feature` command to temporarily configure the server to vote against or in favor of an amendment. This change does not persist if you restart the server. To make lasting changes in amendment voting, use the `rippled.cfg` file. See [Configuring Amendment Voting](concept-amendments.html#configuring-amendment-voting) for more information.
|
||||||
|
|
||||||
_The `feature` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `feature` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -9477,11 +9480,11 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
| drops.minimum\_fee | String (Integer) | The minimum transaction cost for a [reference transaction](concept-transaction-cost.html#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.minimum\_fee | String (Integer) | The minimum transaction cost for a [reference transaction](concept-transaction-cost.html#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](concept-transaction-cost.html#reference-transaction-cost) must pay to be included in the current open ledger, represented in drops of XRP. |
|
| drops.open\_ledger\_fee | String (Integer) | The minimum transaction cost that a [reference transaction](concept-transaction-cost.html#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. |
|
| 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 | 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.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, represented in fee levels. |
|
| 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.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. |
|
| levels.reference\_level | String (Integer) | The equivalent of the minimum transaction cost, represented in [fee levels][]. |
|
||||||
| max\_queue\_size | String (Integer) | The maximum number of transactions that the [transaction queue](concept-transaction-cost.html#queued-transactions) can currently hold. |
|
| max\_queue\_size | String (Integer) | The maximum number of transactions that the [transaction queue](concept-transaction-cost.html#queued-transactions) can currently hold. |
|
||||||
|
|
||||||
#### Possible Errors ####
|
#### Possible Errors ####
|
||||||
@@ -9495,7 +9498,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
The `get_counts` command provides various stats about the health of the server, mostly the number of objects of different types that it currently holds in memory.
|
The `get_counts` command provides various stats about the health of the server, mostly the number of objects of different types that it currently holds in memory.
|
||||||
|
|
||||||
_The `get_counts` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `get_counts` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -9646,7 +9649,7 @@ For most other entries, the value indicates the number of objects of that type c
|
|||||||
|
|
||||||
The `ledger_cleaner` command controls the [Ledger Cleaner](https://github.com/ripple/rippled/blob/f313caaa73b0ac89e793195dcc2a5001786f916f/src/ripple/app/ledger/README.md#the-ledger-cleaner), an asynchronous maintenance process that can find and repair corruption in rippled's database of ledgers.
|
The `ledger_cleaner` command controls the [Ledger Cleaner](https://github.com/ripple/rippled/blob/f313caaa73b0ac89e793195dcc2a5001786f916f/src/ripple/app/ledger/README.md#the-ledger-cleaner), an asynchronous maintenance process that can find and repair corruption in rippled's database of ledgers.
|
||||||
|
|
||||||
_The `ledger_cleaner` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `ledger_cleaner` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -9716,7 +9719,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
The `log_level` command changes the `rippled` server's logging verbosity, or returns the current logging level for each category (called a _partition_) of log messages.
|
The `log_level` command changes the `rippled` server's logging verbosity, or returns the current logging level for each category (called a _partition_) of log messages.
|
||||||
|
|
||||||
_The `log_level` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `log_level` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -9853,7 +9856,7 @@ Otherwise, the request contains the following field:
|
|||||||
|
|
||||||
The `logrotate` command closes and reopens the log file. This is intended to help with log rotation on Linux file systems.
|
The `logrotate` command closes and reopens the log file. This is intended to help with log rotation on Linux file systems.
|
||||||
|
|
||||||
_The `logrotate` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `logrotate` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -9930,7 +9933,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
Use the `validation_create` command to generate the keys for a rippled [validating node](tutorial-rippled-setup.html#validator-setup). Similar to the [wallet_propose](#wallet-propose) command, this command makes no real changes, but only generates a set of keys in the proper format.
|
Use the `validation_create` command to generate the keys for a rippled [validating node](tutorial-rippled-setup.html#validator-setup). Similar to the [wallet_propose](#wallet-propose) command, this command makes no real changes, but only generates a set of keys in the proper format.
|
||||||
|
|
||||||
_The `validation_create` method is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users._
|
_The `validation_create` method is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users._
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -10032,7 +10035,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
The `validation_seed` command temporarily sets the secret value that rippled uses to sign validations. This value resets based on the config file when you restart the server.
|
The `validation_seed` command temporarily sets the secret value that rippled uses to sign validations. This value resets based on the config file when you restart the server.
|
||||||
|
|
||||||
*The `validation_seed` request is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!*
|
*The `validation_seed` request is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!*
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -10120,7 +10123,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
The `peers` command returns a list of all other `rippled` servers currently connected to this one, including information on their connection and sync status.
|
The `peers` command returns a list of all other `rippled` servers currently connected to this one, including information on their connection and sync status.
|
||||||
|
|
||||||
*The `peers` request is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!*
|
*The `peers` request is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!*
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -10532,7 +10535,7 @@ Each member of the `peers` array is a peer object with the following fields:
|
|||||||
|
|
||||||
The `print` command returns the current status of various internal subsystems, including peers, the ledger cleaner, and the resource manager.
|
The `print` command returns the current status of various internal subsystems, including peers, the ledger cleaner, and the resource manager.
|
||||||
|
|
||||||
*The `print` request is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!*
|
*The `print` request is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!*
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -10977,7 +10980,7 @@ The response follows the [standard format](#response-formatting), with whichever
|
|||||||
|
|
||||||
The `connect` command forces the rippled server to connect to a specific peer rippled server.
|
The `connect` command forces the rippled server to connect to a specific peer rippled server.
|
||||||
|
|
||||||
*The `connect` request is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!*
|
*The `connect` request is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!*
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
@@ -11076,7 +11079,7 @@ The response follows the [standard format](#response-formatting), with a success
|
|||||||
|
|
||||||
Gracefully shuts down the server.
|
Gracefully shuts down the server.
|
||||||
|
|
||||||
*The `stop` request is an [admin command](#connecting-to-rippled) that cannot be run by unpriviledged users!*
|
*The `stop` request is an [admin command](#connecting-to-rippled) that cannot be run by unprivileged users!*
|
||||||
|
|
||||||
#### Request Format ####
|
#### Request Format ####
|
||||||
An example of the request format:
|
An example of the request format:
|
||||||
|
|||||||
@@ -943,7 +943,7 @@ If nothing went wrong when submitting and applying the transaction locally, the
|
|||||||
"engine_result_message": "The transaction was applied. Only final in a validated ledger."
|
"engine_result_message": "The transaction was applied. Only final in a validated ledger."
|
||||||
```
|
```
|
||||||
|
|
||||||
__*Note:*__ A successful result at this stage does not indicate that the transaction has completely succeeded; only that it was successfully applied to the provisional version of the ledger kept by the local server. See [Finality of Results](#finality-of-results) for details.
|
**Note:** A successful result at this stage does not indicate that the transaction has completely succeeded; only that it was successfully applied to the provisional version of the ledger kept by the local server. See [Finality of Results](#finality-of-results) for details.
|
||||||
|
|
||||||
## Looking up Transaction Results ##
|
## Looking up Transaction Results ##
|
||||||
|
|
||||||
|
|||||||
@@ -887,6 +887,7 @@ Null method
|
|||||||
</ul>
|
</ul>
|
||||||
<p>The <code>owner_info</code> command is deprecated. Use <a href="#account-objects"><code>account_objects</code></a> instead.</p>
|
<p>The <code>owner_info</code> command is deprecated. Use <a href="#account-objects"><code>account_objects</code></a> instead.</p>
|
||||||
<h2 id="list-of-admin-commands">List of Admin Commands</h2>
|
<h2 id="list-of-admin-commands">List of Admin Commands</h2>
|
||||||
|
<p>Admin commands are only available if you <a href="#connecting-to-rippled">connect to <code>rippled</code></a> on a host and port that the config file identifies as admin. (By default, the commandline client uses an admin connection.)</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#can-delete"><code>can_delete</code> - Allow online deletion of ledgers up to a specific ledger</a></li>
|
<li><a href="#can-delete"><code>can_delete</code> - Allow online deletion of ledgers up to a specific ledger</a></li>
|
||||||
<li><a href="#connect"><code>connect</code> - Force the rippled server to connect to a specific peer</a></li>
|
<li><a href="#connect"><code>connect</code> - Force the rippled server to connect to a specific peer</a></li>
|
||||||
@@ -3556,7 +3557,7 @@ There is also a deprecated legacy variation of the <code>account_tx</code> metho
|
|||||||
<h2 id="wallet-propose">wallet_propose</h2>
|
<h2 id="wallet-propose">wallet_propose</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/master/src/ripple/rpc/handlers/WalletPropose.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/master/src/ripple/rpc/handlers/WalletPropose.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>Use the <code>wallet_propose</code> method to generate a key pair and Ripple <a href="#addresses">address</a>. This command only generates keys, and does not affect the Ripple Consensus Ledger itself in any way. To become a funded address stored in the ledger, the address must <a href="reference-transaction-format.html#creating-accounts">receive a Payment transaction</a> that provides enough XRP to meet the <a href="concept-reserves.html">reserve requirement</a>.</p>
|
<p>Use the <code>wallet_propose</code> method to generate a key pair and Ripple <a href="#addresses">address</a>. This command only generates keys, and does not affect the Ripple Consensus Ledger itself in any way. To become a funded address stored in the ledger, the address must <a href="reference-transaction-format.html#creating-accounts">receive a Payment transaction</a> that provides enough XRP to meet the <a href="concept-reserves.html">reserve requirement</a>.</p>
|
||||||
<p><em>The <code>wallet_propose</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em> (This command is restricted to protect against people sniffing network traffic for account secrets, since admin commands are not usually transmitted over the outside network.)</p>
|
<p><em>The <code>wallet_propose</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em> (This command is restricted to protect against people sniffing network traffic for account secrets, since admin commands are not usually transmitted over the outside network.)</p>
|
||||||
<p><em>(Updated in <a href="https://github.com/ripple/rippled/releases/tag/0.31.0">version 0.31.0</a>)</em></p>
|
<p><em>(Updated in <a href="https://github.com/ripple/rippled/releases/tag/0.31.0">version 0.31.0</a>)</em></p>
|
||||||
<h4 id="request-format-8">Request Format</h4>
|
<h4 id="request-format-8">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
@@ -3600,24 +3601,7 @@ There is also a deprecated legacy variation of the <code>account_tx</code> metho
|
|||||||
rippled wallet_propose masterpassphrase
|
rippled wallet_propose masterpassphrase
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p>There are two valid modes for this command, depending on whether the request specifies the <code>key_type</code> parameter. If you omit the <code>key_type</code>, the request takes <em>only</em> the following parameter (ignoring others):</p>
|
<p>The request can contain the following parameters:</p>
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Field</th>
|
|
||||||
<th>Type</th>
|
|
||||||
<th>Description</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>passphrase</td>
|
|
||||||
<td>String</td>
|
|
||||||
<td>(Optional) Generate a key pair and address from this seed value using the elliptic curve secp256k1. This value can be formatted in hexadecimal, base-58, RFC-1751, or as an arbitrary string. If omitted, use a random seed.</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<p>If you specify the <code>key_type</code>, you must provide at most one of the following fields: <code>passphrase</code>, <code>seed</code>, or <code>seed_hex</code>. (If you omit all three, <code>rippled</code> uses a random seed.) In this mode, the request parameters are as follows:</p>
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -3630,28 +3614,29 @@ rippled wallet_propose masterpassphrase
|
|||||||
<tr>
|
<tr>
|
||||||
<td>key_type</td>
|
<td>key_type</td>
|
||||||
<td>String</td>
|
<td>String</td>
|
||||||
<td>Which elliptic curve to use for this key pair. Valid values are <code>ed25519</code> and <code>secp256k1</code>. <strong>Caution:</strong> <a href="https://ed25519.cr.yp.to/">Ed25519</a> support is experimental.</td>
|
<td>Which elliptic curve to use for this key pair. Valid values are <code>ed25519</code> and <code>secp256k1</code> (all lower case). Defaults to <code>secp256k1</code>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>passphrase</td>
|
<td>passphrase</td>
|
||||||
<td>String</td>
|
<td>String</td>
|
||||||
<td>(Optional) Generate the key pair and address from this seed value. This is interpreted as a string only. Cannot be used with <code>seed</code> or <code>seed_hex</code>.</td>
|
<td>(Optional) Generate a key pair and address from this seed value. This value can be formatted in <a href="https://en.wikipedia.org/wiki/Hexadecimal">hexadecimal</a>, <a href="https://en.wikipedia.org/wiki/Base58">base-58</a>, <a href="https://tools.ietf.org/html/rfc1751">RFC-1751</a>, or as an arbitrary string. Cannot be used with <code>seed</code> or <code>seed_hex</code>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>seed</td>
|
<td>seed</td>
|
||||||
<td>String</td>
|
<td>String</td>
|
||||||
<td>(Optional) Generate the key pair and address from this base-58-encoded seed value. Cannot be used with <code>passphrase</code> or <code>seed_hex</code>. Ignored unless <code>key_type</code> is provided.</td>
|
<td>(Optional) Generate the key pair and address from this <a href="https://en.wikipedia.org/wiki/Base58">base-58</a>-encoded seed value. Cannot be used with <code>passphrase</code> or <code>seed_hex</code>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>seed_hex</td>
|
<td>seed_hex</td>
|
||||||
<td>String</td>
|
<td>String</td>
|
||||||
<td>(Optional) Generate the key pair and address from this seed value in hexadecimal format. Cannot be used with <code>passphrase</code> or <code>seed</code>. Ignored unless <code>key_type</code> is provided.</td>
|
<td>(Optional) Generate the key pair and address from this seed value in <a href="https://en.wikipedia.org/wiki/Hexadecimal">hexadecimal</a> format. Cannot be used with <code>passphrase</code> or <code>seed</code>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p>The commandline version of this command cannot generate Ed25519 keys.</p>
|
<p>You must provide <strong>at most one</strong> of the following fields: <code>passphrase</code>, <code>seed</code>, or <code>seed_hex</code>. If you omit all three, <code>rippled</code> uses a random seed.</p>
|
||||||
|
<p class="devportal-callout note"><strong>Note:</strong> <a href="https://ed25519.cr.yp.to/">Ed25519</a> support is experimental. The commandline version of this command cannot generate Ed25519 keys.</p>
|
||||||
<h5 id="specifying-a-seed">Specifying a Seed</h5>
|
<h5 id="specifying-a-seed">Specifying a Seed</h5>
|
||||||
<p class="devportal-callout caution"><strong>Caution:</strong> For most cases, you should use a seed value generated from a strong source of randomness. Anyone who knows the seed value for an address has full power to <a href="reference-transaction-format.html#authorizing-transactions">send transactions signed by that address</a>. Generally, running this command with no parameters is a good way to generate a random seed.</p>
|
<p>For most cases, you should use a seed value generated from a strong source of randomness. Anyone who knows the seed value for an address has full power to <a href="reference-transaction-format.html#authorizing-transactions">send transactions signed by that address</a>. Generally, running this command with no parameters is a good way to generate a random seed.</p>
|
||||||
<p>Cases where you would specify a known seed include:</p>
|
<p>Cases where you would specify a known seed include:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Re-calculating your address when you only know the seed associated with that address</li>
|
<li>Re-calculating your address when you only know the seed associated with that address</li>
|
||||||
@@ -4714,7 +4699,7 @@ rippled ledger_current
|
|||||||
<h2 id="ledger-request">ledger_request</h2>
|
<h2 id="ledger-request">ledger_request</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/e980e69eca9ea843d200773eb1f43abe3848f1a0/src/ripple/rpc/handlers/LedgerRequest.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/e980e69eca9ea843d200773eb1f43abe3848f1a0/src/ripple/rpc/handlers/LedgerRequest.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>ledger_request</code> command tells server to fetch a specific ledger version from its connected peers. This only works if one of the server's immediately-connected peers has that ledger. You may need to run the command several times to completely fetch a ledger.</p>
|
<p>The <code>ledger_request</code> command tells server to fetch a specific ledger version from its connected peers. This only works if one of the server's immediately-connected peers has that ledger. You may need to run the command several times to completely fetch a ledger.</p>
|
||||||
<p><em>The <code>ledger_request</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em></p>
|
<p><em>The <code>ledger_request</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em></p>
|
||||||
<h4 id="request-format-14">Request Format</h4>
|
<h4 id="request-format-14">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-31"><ul class="codetabs"><li><a href="#code-31-0">WebSocket</a></li><li><a href="#code-31-1">Commandline</a></li></ul>
|
<div class="multicode" id="code-31"><ul class="codetabs"><li><a href="#code-31-0">WebSocket</a></li><li><a href="#code-31-1">Commandline</a></li></ul>
|
||||||
@@ -4918,7 +4903,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="ledger-accept">ledger_accept</h2>
|
<h2 id="ledger-accept">ledger_accept</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/LedgerAccept.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/LedgerAccept.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>ledger_accept</code> method forces the server to close the current-working ledger and move to the next ledger number. This method is intended for testing purposes only, and is only available when the <code>rippled</code> server is running stand-alone mode.</p>
|
<p>The <code>ledger_accept</code> method forces the server to close the current-working ledger and move to the next ledger number. This method is intended for testing purposes only, and is only available when the <code>rippled</code> server is running stand-alone mode.</p>
|
||||||
<p><em>The <code>ledger_accept</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em></p>
|
<p><em>The <code>ledger_accept</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em></p>
|
||||||
<h4 id="request-format-15">Request Format</h4>
|
<h4 id="request-format-15">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-33"><ul class="codetabs"><li><a href="#code-33-0">WebSocket</a></li><li><a href="#code-33-1">Commandline</a></li></ul>
|
<div class="multicode" id="code-33"><ul class="codetabs"><li><a href="#code-33-0">WebSocket</a></li><li><a href="#code-33-1">Commandline</a></li></ul>
|
||||||
@@ -9000,12 +8985,12 @@ rippled book_offers 'USD/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B' 'EUR/rvYAfWj5gh67oV6
|
|||||||
<tr>
|
<tr>
|
||||||
<td><code>flags</code></td>
|
<td><code>flags</code></td>
|
||||||
<td>Number</td>
|
<td>Number</td>
|
||||||
<td>Bit-mask of flags added to this validation message. The flag 0x80000000 indicates that the validation signature is fully-canonical. The flag 0x00000001 indicates that this is a full validation; otherwise it's a partial validation. <!-- --> <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
<td>Bit-mask of flags added to this validation message. The flag 0x80000000 indicates that the validation signature is fully-canonical. The flag 0x00000001 indicates that this is a full validation; otherwise it's a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>full</code></td>
|
<td><code>full</code></td>
|
||||||
<td>Boolean</td>
|
<td>Boolean</td>
|
||||||
<td>If <code>true</code>, this is a full validation. Otherwise, this is a partial validation. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
<td>If <code>true</code>, this is a full validation. Otherwise, this is a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>ledger_hash</code></td>
|
<td><code>ledger_hash</code></td>
|
||||||
@@ -9850,7 +9835,7 @@ rippled server_info
|
|||||||
<tr>
|
<tr>
|
||||||
<td>load_factor</td>
|
<td>load_factor</td>
|
||||||
<td>Number</td>
|
<td>Number</td>
|
||||||
<td>The load factor the server is currently enforcing, as a multiplier on the base transaction cost. The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor. <strong>Note:</strong> This <code>load_factor</code> is calculated as the ratio of the <code>load_factor</code> and the <code>load_base</code> that are reported by the <a href="#server-state"><code>server_state</code> command</a></td>
|
<td>The load factor the server is currently enforcing, as a multiplier on the base transaction cost. For example, at <code>1000</code> load factor and a reference transaction cost of 10 drops of XRP, the load-scaled transaction cost is 10,000 drops (0.01 XRP). The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor. <strong>Note:</strong> This <code>load_factor</code> is calculated as the ratio of the <code>load_factor</code> and the <code>load_base</code> that are reported by the <a href="#server-state"><code>server_state</code> command</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>load_factor_local</td>
|
<td>load_factor_local</td>
|
||||||
@@ -9860,7 +9845,7 @@ rippled server_info
|
|||||||
<tr>
|
<tr>
|
||||||
<td>load_factor_net</td>
|
<td>load_factor_net</td>
|
||||||
<td>Number</td>
|
<td>Number</td>
|
||||||
<td>(May be omitted) Current multiplier to the <a href="concept-transaction-cost.html">transaction cost</a> being used by the rest of the network (estimated).</td>
|
<td>(May be omitted) Current multiplier to the <a href="concept-transaction-cost.html">transaction cost</a> being used by the rest of the network (estimated from other servers' reported load values).</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>load_factor_cluster</td>
|
<td>load_factor_cluster</td>
|
||||||
@@ -10200,7 +10185,7 @@ rippled server_state
|
|||||||
<tr>
|
<tr>
|
||||||
<td>complete_ledgers</td>
|
<td>complete_ledgers</td>
|
||||||
<td>String</td>
|
<td>String</td>
|
||||||
<td>Range expression indicating the sequence numbers of the ledger versions the local rippled has in its database. It is possible to be a disjoint sequence, e.g. "2500-5000,32570-7695432".</td>
|
<td>Range expression indicating the sequence numbers of the ledger versions the local <code>rippled</code> has in its database. It is possible to be a disjoint sequence, e.g. "2500-5000,32570-7695432".</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>io_latency_ms</td>
|
<td>io_latency_ms</td>
|
||||||
@@ -10225,27 +10210,27 @@ rippled server_state
|
|||||||
<tr>
|
<tr>
|
||||||
<td>load_base</td>
|
<td>load_base</td>
|
||||||
<td>Integer</td>
|
<td>Integer</td>
|
||||||
<td>This amount of server load is the baseline that is used to decide how much to charge in transaction fees; if the <code>load_factor</code> is equal to the <code>load_base</code> then only the base fee is enforced; if the <code>load_factor</code> is double the <code>load_base</code> then transaction costs are doubled.</td>
|
<td>This is the baseline amount of server load used in <a href="concept-transaction-cost.html">transaction cost</a> calculations. If the <code>load_factor</code> is equal to the <code>load_base</code> then only the base transaction cost is enforced. If the <code>load_factor</code> is higher than the <code>load_base</code>, then transaction costs are multiplied by the ratio between them. For example, if the <code>load_factor</code> is double the <code>load_base</code>, then transaction costs are doubled.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>load_factor</td>
|
<td>load_factor</td>
|
||||||
<td>Number</td>
|
<td>Number</td>
|
||||||
<td>The load factor the server is currently enforcing. The ratio between this value and the <code>load_base</code> determines the multiplier for transaction fees. The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor.</td>
|
<td>The load factor the server is currently enforcing. The ratio between this value and the <code>load_base</code> determines the multiplier for transaction costs. The load factor is determined by the highest of the individual server's load factor, cluster's load factor, and the overall network's load factor.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>load_factor_fee_escalation</td>
|
<td>load_factor_fee_escalation</td>
|
||||||
<td>Integer</td>
|
<td>Integer</td>
|
||||||
<td>(May be omitted) The current multiplier to the <a href="concept-transaction-cost.html">transaction cost</a> that a transaction must pay to get into the open ledger, in fee levels. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
<td>(May be omitted) The current multiplier to the <a href="concept-transaction-cost.html">transaction cost</a> to get into the open ledger, in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>load_factor_fee_queue</td>
|
<td>load_factor_fee_queue</td>
|
||||||
<td>Integer</td>
|
<td>Integer</td>
|
||||||
<td>(May be omitted) The current multiplier to the <a href="concept-transaction-cost.html">transaction cost</a> that a transaction must pay to get into the queue, if the queue is full, in fee levels. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
<td>(May be omitted) The current multiplier to the <a href="concept-transaction-cost.html">transaction cost</a> to get into the queue, if the queue is full, in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>load_factor_fee_reference</td>
|
<td>load_factor_fee_reference</td>
|
||||||
<td>Integer</td>
|
<td>Integer</td>
|
||||||
<td>(May be omitted) The <a href="concept-transaction-cost.html">transaction cost</a> with no load scaling, in fee levels. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
<td>(May be omitted) The <a href="concept-transaction-cost.html">transaction cost</a> with no load scaling, in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.32.0">version 0.32.0</a>)</em></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>peers</td>
|
<td>peers</td>
|
||||||
@@ -10336,7 +10321,7 @@ rippled server_state
|
|||||||
<h2 id="can-delete">can_delete</h2>
|
<h2 id="can-delete">can_delete</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/develop/src/ripple/rpc/handlers/CanDelete.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/develop/src/ripple/rpc/handlers/CanDelete.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>With <code>online_delete</code> and <code>advisory_delete</code> configuration options enabled, the <code>can_delete</code> method informs the rippled server of the latest ledger which may be deleted.</p>
|
<p>With <code>online_delete</code> and <code>advisory_delete</code> configuration options enabled, the <code>can_delete</code> method informs the rippled server of the latest ledger which may be deleted.</p>
|
||||||
<p><em>The <code>can_delete</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>can_delete</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-33">Request Format</h4>
|
<h4 id="request-format-33">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-66"><ul class="codetabs"><li><a href="#code-66-0">WebSocket</a></li><li><a href="#code-66-1">JSON-RPC</a></li><li><a href="#code-66-2">Commandline</a></li></ul>
|
<div class="multicode" id="code-66"><ul class="codetabs"><li><a href="#code-66-0">WebSocket</a></li><li><a href="#code-66-1">JSON-RPC</a></li><li><a href="#code-66-2">Commandline</a></li></ul>
|
||||||
@@ -10410,7 +10395,7 @@ a successful result containing the following fields:</p>
|
|||||||
<h2 id="consensus-info">consensus_info</h2>
|
<h2 id="consensus-info">consensus_info</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/ConsensusInfo.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/ConsensusInfo.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>consensus_info</code> command provides information about the consensus process for debugging purposes.</p>
|
<p>The <code>consensus_info</code> command provides information about the consensus process for debugging purposes.</p>
|
||||||
<p><em>The <code>consensus_info</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>consensus_info</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-34">Request Format</h4>
|
<h4 id="request-format-34">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-67"><ul class="codetabs"><li><a href="#code-67-0">WebSocket</a></li><li><a href="#code-67-1">JSON-RPC</a></li><li><a href="#code-67-2">Commandline</a></li></ul>
|
<div class="multicode" id="code-67"><ul class="codetabs"><li><a href="#code-67-0">WebSocket</a></li><li><a href="#code-67-1">JSON-RPC</a></li><li><a href="#code-67-2">Commandline</a></li></ul>
|
||||||
@@ -10653,7 +10638,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="fetch-info">fetch_info</h2>
|
<h2 id="fetch-info">fetch_info</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/FetchInfo.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/FetchInfo.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>fetch_info</code> command returns information about objects that this server is currently fetching from the network, and how many peers have that information. It can also be used to reset current fetches.</p>
|
<p>The <code>fetch_info</code> command returns information about objects that this server is currently fetching from the network, and how many peers have that information. It can also be used to reset current fetches.</p>
|
||||||
<p><em>The <code>fetch_info</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>fetch_info</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-35">Request Format</h4>
|
<h4 id="request-format-35">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-69"><ul class="codetabs"><li><a href="#code-69-0">WebSocket</a></li><li><a href="#code-69-1">JSON-RPC</a></li><li><a href="#code-69-2">Commandline</a></li></ul>
|
<div class="multicode" id="code-69"><ul class="codetabs"><li><a href="#code-69-0">WebSocket</a></li><li><a href="#code-69-1">JSON-RPC</a></li><li><a href="#code-69-2">Commandline</a></li></ul>
|
||||||
@@ -10840,7 +10825,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<p><a href="https://github.com/ripple/rippled/blob/develop/src/ripple/rpc/handlers/Feature1.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/develop/src/ripple/rpc/handlers/Feature1.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>feature</code> command returns information about <a href="concept-amendments.html">amendments</a> this server knows about, including whether they are enabled and whether the server is voting in favor of those amendments in the <a href="concept-amendments.html#amendment-process">amendment process</a>. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.31.0">version 0.31.0</a>)</em></p>
|
<p>The <code>feature</code> command returns information about <a href="concept-amendments.html">amendments</a> this server knows about, including whether they are enabled and whether the server is voting in favor of those amendments in the <a href="concept-amendments.html#amendment-process">amendment process</a>. <em>(New in <a href="https://github.com/ripple/rippled/releases/tag/0.31.0">version 0.31.0</a>)</em></p>
|
||||||
<p>You can use the <code>feature</code> command to temporarily configure the server to vote against or in favor of an amendment. This change does not persist if you restart the server. To make lasting changes in amendment voting, use the <code>rippled.cfg</code> file. See <a href="concept-amendments.html#configuring-amendment-voting">Configuring Amendment Voting</a> for more information.</p>
|
<p>You can use the <code>feature</code> command to temporarily configure the server to vote against or in favor of an amendment. This change does not persist if you restart the server. To make lasting changes in amendment voting, use the <code>rippled.cfg</code> file. See <a href="concept-amendments.html#configuring-amendment-voting">Configuring Amendment Voting</a> for more information.</p>
|
||||||
<p><em>The <code>feature</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>feature</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-36">Request Format</h4>
|
<h4 id="request-format-36">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-71"><ul class="codetabs"><li><a href="#code-71-0">WebSocket - list all</a></li><li><a href="#code-71-1">WebSocket - reject</a></li><li><a href="#code-71-2">JSON-RPC</a></li><li><a href="#code-71-3">Commandline</a></li></ul>
|
<div class="multicode" id="code-71"><ul class="codetabs"><li><a href="#code-71-0">WebSocket - list all</a></li><li><a href="#code-71-1">WebSocket - reject</a></li><li><a href="#code-71-2">JSON-RPC</a></li><li><a href="#code-71-3">Commandline</a></li></ul>
|
||||||
@@ -11182,27 +11167,27 @@ Connecting to 127.0.0.1:5005
|
|||||||
<tr>
|
<tr>
|
||||||
<td>levels</td>
|
<td>levels</td>
|
||||||
<td>Object</td>
|
<td>Object</td>
|
||||||
<td>Various information about the transaction cost, in <em>fee levels</em>. The ratio in fee levels applies to any transaction relative to the minimum cost of that particular transaction.</td>
|
<td>Various information about the transaction cost, in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>. The ratio in fee levels applies to any transaction relative to the minimum cost of that particular transaction.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>levels.median_level</td>
|
<td>levels.median_level</td>
|
||||||
<td>String (Integer)</td>
|
<td>String (Integer)</td>
|
||||||
<td>The median transaction cost among transactions in the previous validated ledger, represented in fee levels.</td>
|
<td>The median transaction cost among transactions in the previous validated ledger, represented in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>levels.minimum_level</td>
|
<td>levels.minimum_level</td>
|
||||||
<td>String (Integer)</td>
|
<td>String (Integer)</td>
|
||||||
<td>The minimum transaction cost required to be queued for a future ledger, represented in fee levels.</td>
|
<td>The minimum transaction cost required to be queued for a future ledger, represented in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>levels.open_ledger_level</td>
|
<td>levels.open_ledger_level</td>
|
||||||
<td>String (Integer)</td>
|
<td>String (Integer)</td>
|
||||||
<td>The minimum transaction cost required to be included in the current open ledger, represented in fee levels.</td>
|
<td>The minimum transaction cost required to be included in the current open ledger, represented in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>levels.reference_level</td>
|
<td>levels.reference_level</td>
|
||||||
<td>String (Integer)</td>
|
<td>String (Integer)</td>
|
||||||
<td>The equivalent of the minimum transaction cost, represented in fee levels.</td>
|
<td>The equivalent of the minimum transaction cost, represented in <a href="concept-transaction-cost.html#fee-levels">fee levels</a>.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>max_queue_size</td>
|
<td>max_queue_size</td>
|
||||||
@@ -11218,7 +11203,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="get-counts">get_counts</h2>
|
<h2 id="get-counts">get_counts</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/c7118a183a660648aa88a3546a6b2c5bce858440/src/ripple/rpc/handlers/GetCounts.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/c7118a183a660648aa88a3546a6b2c5bce858440/src/ripple/rpc/handlers/GetCounts.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>get_counts</code> command provides various stats about the health of the server, mostly the number of objects of different types that it currently holds in memory.</p>
|
<p>The <code>get_counts</code> command provides various stats about the health of the server, mostly the number of objects of different types that it currently holds in memory.</p>
|
||||||
<p><em>The <code>get_counts</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>get_counts</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-38">Request Format</h4>
|
<h4 id="request-format-38">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-75"><ul class="codetabs"><li><a href="#code-75-0">WebSocket</a></li><li><a href="#code-75-1">JSON-RPC</a></li><li><a href="#code-75-2">Commandline</a></li></ul>
|
<div class="multicode" id="code-75"><ul class="codetabs"><li><a href="#code-75-0">WebSocket</a></li><li><a href="#code-75-1">JSON-RPC</a></li><li><a href="#code-75-2">Commandline</a></li></ul>
|
||||||
@@ -11372,7 +11357,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="ledger-cleaner">ledger_cleaner</h2>
|
<h2 id="ledger-cleaner">ledger_cleaner</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/df54b47cd0957a31837493cd69e4d9aade0b5055/src/ripple/rpc/handlers/LedgerCleaner.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/df54b47cd0957a31837493cd69e4d9aade0b5055/src/ripple/rpc/handlers/LedgerCleaner.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>ledger_cleaner</code> command controls the <a href="https://github.com/ripple/rippled/blob/f313caaa73b0ac89e793195dcc2a5001786f916f/src/ripple/app/ledger/README.md#the-ledger-cleaner">Ledger Cleaner</a>, an asynchronous maintenance process that can find and repair corruption in rippled's database of ledgers.</p>
|
<p>The <code>ledger_cleaner</code> command controls the <a href="https://github.com/ripple/rippled/blob/f313caaa73b0ac89e793195dcc2a5001786f916f/src/ripple/app/ledger/README.md#the-ledger-cleaner">Ledger Cleaner</a>, an asynchronous maintenance process that can find and repair corruption in rippled's database of ledgers.</p>
|
||||||
<p><em>The <code>ledger_cleaner</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>ledger_cleaner</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-39">Request Format</h4>
|
<h4 id="request-format-39">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-77"><ul class="codetabs"><li><a href="#code-77-0">WebSocket</a></li></ul>
|
<div class="multicode" id="code-77"><ul class="codetabs"><li><a href="#code-77-0">WebSocket</a></li></ul>
|
||||||
@@ -11471,7 +11456,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="log-level">log_level</h2>
|
<h2 id="log-level">log_level</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/155fcdbcd0b4927152892c8c8be01d9cf62bed68/src/ripple/rpc/handlers/LogLevel.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/155fcdbcd0b4927152892c8c8be01d9cf62bed68/src/ripple/rpc/handlers/LogLevel.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>log_level</code> command changes the <code>rippled</code> server's logging verbosity, or returns the current logging level for each category (called a <em>partition</em>) of log messages.</p>
|
<p>The <code>log_level</code> command changes the <code>rippled</code> server's logging verbosity, or returns the current logging level for each category (called a <em>partition</em>) of log messages.</p>
|
||||||
<p><em>The <code>log_level</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>log_level</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-40">Request Format</h4>
|
<h4 id="request-format-40">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-79"><ul class="codetabs"><li><a href="#code-79-0">WebSocket</a></li><li><a href="#code-79-1">Commandline</a></li></ul>
|
<div class="multicode" id="code-79"><ul class="codetabs"><li><a href="#code-79-0">WebSocket</a></li><li><a href="#code-79-1">Commandline</a></li></ul>
|
||||||
@@ -11610,7 +11595,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="logrotate">logrotate</h2>
|
<h2 id="logrotate">logrotate</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/743bd6c9175c472814448ea889413be79dfd1c07/src/ripple/rpc/handlers/LogRotate.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/743bd6c9175c472814448ea889413be79dfd1c07/src/ripple/rpc/handlers/LogRotate.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>logrotate</code> command closes and reopens the log file. This is intended to help with log rotation on Linux file systems.</p>
|
<p>The <code>logrotate</code> command closes and reopens the log file. This is intended to help with log rotation on Linux file systems.</p>
|
||||||
<p><em>The <code>logrotate</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>logrotate</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-41">Request Format</h4>
|
<h4 id="request-format-41">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-81"><ul class="codetabs"><li><a href="#code-81-0">WebSocket</a></li><li><a href="#code-81-1">Commandline</a></li></ul>
|
<div class="multicode" id="code-81"><ul class="codetabs"><li><a href="#code-81-0">WebSocket</a></li><li><a href="#code-81-1">Commandline</a></li></ul>
|
||||||
@@ -11674,7 +11659,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="validation-create">validation_create</h2>
|
<h2 id="validation-create">validation_create</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/ValidationCreate.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/ValidationCreate.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>Use the <code>validation_create</code> command to generate the keys for a rippled <a href="tutorial-rippled-setup.html#validator-setup">validating node</a>. Similar to the <a href="#wallet-propose">wallet_propose</a> command, this command makes no real changes, but only generates a set of keys in the proper format.</p>
|
<p>Use the <code>validation_create</code> command to generate the keys for a rippled <a href="tutorial-rippled-setup.html#validator-setup">validating node</a>. Similar to the <a href="#wallet-propose">wallet_propose</a> command, this command makes no real changes, but only generates a set of keys in the proper format.</p>
|
||||||
<p><em>The <code>validation_create</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users.</em></p>
|
<p><em>The <code>validation_create</code> method is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users.</em></p>
|
||||||
<h4 id="request-format-42">Request Format</h4>
|
<h4 id="request-format-42">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-83"><ul class="codetabs"><li><a href="#code-83-0">WebSocket</a></li><li><a href="#code-83-1">JSON-RPC</a></li><li><a href="#code-83-2">Commandline</a></li></ul>
|
<div class="multicode" id="code-83"><ul class="codetabs"><li><a href="#code-83-0">WebSocket</a></li><li><a href="#code-83-1">JSON-RPC</a></li><li><a href="#code-83-2">Commandline</a></li></ul>
|
||||||
@@ -11779,7 +11764,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="validation-seed">validation_seed</h2>
|
<h2 id="validation-seed">validation_seed</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/ValidationSeed.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/ValidationSeed.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>validation_seed</code> command temporarily sets the secret value that rippled uses to sign validations. This value resets based on the config file when you restart the server.</p>
|
<p>The <code>validation_seed</code> command temporarily sets the secret value that rippled uses to sign validations. This value resets based on the config file when you restart the server.</p>
|
||||||
<p><em>The <code>validation_seed</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em></p>
|
<p><em>The <code>validation_seed</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em></p>
|
||||||
<h4 id="request-format-43">Request Format</h4>
|
<h4 id="request-format-43">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-85"><ul class="codetabs"><li><a href="#code-85-0">WebSocket</a></li><li><a href="#code-85-1">Commandline</a></li></ul>
|
<div class="multicode" id="code-85"><ul class="codetabs"><li><a href="#code-85-0">WebSocket</a></li><li><a href="#code-85-1">Commandline</a></li></ul>
|
||||||
@@ -11874,7 +11859,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="peers">peers</h2>
|
<h2 id="peers">peers</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/52f298f150fc1530d201d3140c80d3eaf781cb5f/src/ripple/rpc/handlers/Peers.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/52f298f150fc1530d201d3140c80d3eaf781cb5f/src/ripple/rpc/handlers/Peers.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>peers</code> command returns a list of all other <code>rippled</code> servers currently connected to this one, including information on their connection and sync status.</p>
|
<p>The <code>peers</code> command returns a list of all other <code>rippled</code> servers currently connected to this one, including information on their connection and sync status.</p>
|
||||||
<p><em>The <code>peers</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em></p>
|
<p><em>The <code>peers</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em></p>
|
||||||
<h4 id="request-format-44">Request Format</h4>
|
<h4 id="request-format-44">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-87"><ul class="codetabs"><li><a href="#code-87-0">WebSocket</a></li><li><a href="#code-87-1">Commandline</a></li></ul>
|
<div class="multicode" id="code-87"><ul class="codetabs"><li><a href="#code-87-0">WebSocket</a></li><li><a href="#code-87-1">Commandline</a></li></ul>
|
||||||
@@ -12356,7 +12341,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="print">print</h2>
|
<h2 id="print">print</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/Print.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/315a8b6b602798a4cff4d8e1911936011e12abdb/src/ripple/rpc/handlers/Print.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>print</code> command returns the current status of various internal subsystems, including peers, the ledger cleaner, and the resource manager.</p>
|
<p>The <code>print</code> command returns the current status of various internal subsystems, including peers, the ledger cleaner, and the resource manager.</p>
|
||||||
<p><em>The <code>print</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em></p>
|
<p><em>The <code>print</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em></p>
|
||||||
<h4 id="request-format-45">Request Format</h4>
|
<h4 id="request-format-45">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-89"><ul class="codetabs"><li><a href="#code-89-0">WebSocket</a></li><li><a href="#code-89-1">Commandline</a></li></ul>
|
<div class="multicode" id="code-89"><ul class="codetabs"><li><a href="#code-89-0">WebSocket</a></li><li><a href="#code-89-1">Commandline</a></li></ul>
|
||||||
@@ -12716,7 +12701,7 @@ rippled -q json ledger_closed '{}'
|
|||||||
<h2 id="connect">connect</h2>
|
<h2 id="connect">connect</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/Connect.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/a61ffab3f9010d8accfaa98aa3cacc7d38e74121/src/ripple/rpc/handlers/Connect.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>The <code>connect</code> command forces the rippled server to connect to a specific peer rippled server.</p>
|
<p>The <code>connect</code> command forces the rippled server to connect to a specific peer rippled server.</p>
|
||||||
<p><em>The <code>connect</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em></p>
|
<p><em>The <code>connect</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em></p>
|
||||||
<h4 id="request-format-49">Request Format</h4>
|
<h4 id="request-format-49">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-97"><ul class="codetabs"><li><a href="#code-97-0">WebSocket</a></li><li><a href="#code-97-1">JSON-RPC</a></li><li><a href="#code-97-2">Commandline</a></li></ul>
|
<div class="multicode" id="code-97"><ul class="codetabs"><li><a href="#code-97-0">WebSocket</a></li><li><a href="#code-97-1">JSON-RPC</a></li><li><a href="#code-97-2">Commandline</a></li></ul>
|
||||||
@@ -12814,7 +12799,7 @@ Connecting to 127.0.0.1:5005
|
|||||||
<h2 id="stop">stop</h2>
|
<h2 id="stop">stop</h2>
|
||||||
<p><a href="https://github.com/ripple/rippled/blob/develop/src/ripple/rpc/handlers/Stop.cpp" title="Source">[Source]<br/></a></p>
|
<p><a href="https://github.com/ripple/rippled/blob/develop/src/ripple/rpc/handlers/Stop.cpp" title="Source">[Source]<br/></a></p>
|
||||||
<p>Gracefully shuts down the server.</p>
|
<p>Gracefully shuts down the server.</p>
|
||||||
<p><em>The <code>stop</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unpriviledged users!</em></p>
|
<p><em>The <code>stop</code> request is an <a href="#connecting-to-rippled">admin command</a> that cannot be run by unprivileged users!</em></p>
|
||||||
<h4 id="request-format-50">Request Format</h4>
|
<h4 id="request-format-50">Request Format</h4>
|
||||||
<p>An example of the request format:</p>
|
<p>An example of the request format:</p>
|
||||||
<div class="multicode" id="code-99"><ul class="codetabs"><li><a href="#code-99-0">WebSocket</a></li><li><a href="#code-99-1">JSON-RPC</a></li><li><a href="#code-99-2">Commandline</a></li></ul>
|
<div class="multicode" id="code-99"><ul class="codetabs"><li><a href="#code-99-0">WebSocket</a></li><li><a href="#code-99-1">JSON-RPC</a></li><li><a href="#code-99-2">Commandline</a></li></ul>
|
||||||
|
|||||||
@@ -1540,7 +1540,7 @@
|
|||||||
"engine_result_code": 0,
|
"engine_result_code": 0,
|
||||||
"engine_result_message": "The transaction was applied. Only final in a validated ledger."
|
"engine_result_message": "The transaction was applied. Only final in a validated ledger."
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p class="devportal-callout note"><strong class="devportal-callout note"><em>Note:</em></strong> A successful result at this stage does not indicate that the transaction has completely succeeded; only that it was successfully applied to the provisional version of the ledger kept by the local server. See <a href="#finality-of-results">Finality of Results</a> for details.</p>
|
<p class="devportal-callout note"><strong>Note:</strong> A successful result at this stage does not indicate that the transaction has completely succeeded; only that it was successfully applied to the provisional version of the ledger kept by the local server. See <a href="#finality-of-results">Finality of Results</a> for details.</p>
|
||||||
<h2 id="looking-up-transaction-results">Looking up Transaction Results</h2>
|
<h2 id="looking-up-transaction-results">Looking up Transaction Results</h2>
|
||||||
<p>To see the final result of a transaction, use the <a href="reference-rippled.html#tx"><code>tx</code> command</a>, <a href="reference-rippled.html#account-tx"><code>account_tx</code> command</a>, or other response from <code>rippled</code>. Look for <code>"validated": true</code> to indicate that this response uses a ledger version that has been validated by consensus.</p>
|
<p>To see the final result of a transaction, use the <a href="reference-rippled.html#tx"><code>tx</code> command</a>, <a href="reference-rippled.html#account-tx"><code>account_tx</code> command</a>, or other response from <code>rippled</code>. Look for <code>"validated": true</code> to indicate that this response uses a ledger version that has been validated by consensus.</p>
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
Reference in New Issue
Block a user