mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
final edits for server_state and server_info
This commit is contained in:
@@ -339,18 +339,17 @@ Finally, if you are specifying a non-currency for a payment or path definition,
|
||||
|
||||
Depending on how the `rippled` server is configured, how long it has been running, and other factors, a server may be participating in the global Ripple Network to different degrees. This is represented as the `server_state` field in the responses to the [`server_info`](#server-info) and [`server_state`](#server-state) commands. The possible responses follow a range of ascending interaction, with each subsequent value superseding the previous one. Their definitions are as follows (in order of increasing priority):
|
||||
|
||||
<span class='draft-comment'>PLEASE CONFIRM THE CONTENTS OF THIS TABLE</span>
|
||||
|
||||
| Value | Description |
|
||||
|-------|-------------|
|
||||
| disconnected | The server is not connected to the Ripple Network whatsoever. It may be running in offline mode, or it may not be able to access the network for whatever reason. |
|
||||
| connected | The server believes it is connected to the network. |
|
||||
| syncing | The server is currently behind on ledger versions. (It is normal for a server to spend a few minutes catching up after you start it.) |
|
||||
| tracking | The server is in agreement with the network |
|
||||
| full | The server is fully caught-up with the network and could participate in validation, but is not doing so (probably because it has not been configured as a validator). |
|
||||
| validating | The server is participating in validation of the ledger |
|
||||
| proposing | The server is participating in validation of the ledger and even proposing its own versions. |
|
||||
| full | The server is fully caught-up with the network and could participate in validation, but is not doing so (possibly because it has not been configured as a validator). |
|
||||
| validating | The server is currently participating in validation of the ledger |
|
||||
| proposing | The server is participating in validation of the ledger and currently proposing its own version. |
|
||||
|
||||
*Note:* The distinction between `full`, `validating`, and `proposing` is based on synchronization with the rest of the global network, and it is normal for a server to fluctuate between these states as a course of general operation.
|
||||
|
||||
# API Methods #
|
||||
|
||||
@@ -4704,7 +4703,7 @@ 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.job_types | Array | *Admin only* Information about the rate of different types of jobs being performed by the server and how much time it spends on each. |
|
||||
| load.threads | Number | *Admin only* The number of threads in the server's main job pool, performing various Ripple Network operations. |
|
||||
| load_factor | Number | The load factor the server is currently enforcing, which affects 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, which affects 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. See [Calculating Transaction Fees](https://ripple.com/wiki/Calculating_the_Transaction_Fee) for more details. |
|
||||
| peers | Number | How many other `rippled` servers the node is currently connected to. |
|
||||
| pubkey_node | String | Public key used to verify this node for internal communications; this key is automatically generated by the server the first time it starts up. (If deleted, the node can just create a new pair of keys.) |
|
||||
| pubkey_validator | String | *Admin only* Public key used by this node to sign ledger validations; . |
|
||||
@@ -4789,7 +4788,7 @@ The `state` object may have some arrangement of the following fields:
|
||||
| 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 being performed by the server and how much time it spends on each. |
|
||||
| load.threads | Number | *Admin only* The number of threads in the server's main job pool, performing various Ripple Network operations. |
|
||||
| load_base | Number | <span class='draft-comment'>Something to do with load?</span> |
|
||||
| load_base | Number | 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 fees are doubled. See [Calculating Transaction Fees](https://ripple.com/wiki/Calculating_the_Transaction_Fee) for more details. |
|
||||
| load_factor | Number | The load factor the server is currently enforcing, which affects 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. |
|
||||
| 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. |
|
||||
|
||||
Reference in New Issue
Block a user