mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-01 00:55:50 +00:00
Migrate old callout syntax
This commit is contained in:
@@ -18,7 +18,7 @@ In stand-alone mode, `rippled` makes no distinction between a "closed" ledger ve
|
||||
|
||||
Whenever `rippled` closes a ledger, it reorders the transactions according to a deterministic but hard-to-game algorithm. (This is an important part of consensus, since transactions may arrive at different parts of the network in different order.) When using `rippled` in stand-alone mode, you should manually advance the ledger before submitting a transaction that depends on the result of a transaction from a different address. Otherwise, the two transactions might be executed in reverse order when the ledger is closed.
|
||||
|
||||
**Note:** You can safely submit multiple transactions from a single address to a single ledger, because `rippled` sorts transactions from the same address in ascending order by [`Sequence` number](../../references/protocol/transactions/common-fields.md).
|
||||
{% admonition type="info" name="Note" %}You can safely submit multiple transactions from a single address to a single ledger, because `rippled` sorts transactions from the same address in ascending order by [`Sequence` number](../../references/protocol/transactions/common-fields.md).{% /admonition %}
|
||||
|
||||
|
||||
## See Also
|
||||
|
||||
@@ -12,7 +12,7 @@ You can start a `rippled` server in [Stand-Alone Mode](../../concepts/networks-a
|
||||
|
||||
Loading a historical ledger version is useful for "replaying" a ledger to verify that transactions were processed according to the rules of the network, or to compare the results of processing transaction sets with different [amendments](../../concepts/networks-and-servers/amendments.md) enabled. In the unlikely event that [an attack against the XRP Ledger's consensus mechanism](../../concepts/consensus-protocol/consensus-protections.md) caused unwanted effects to the shared ledger state, a consensus of validators could "roll back" to a known-good network state starting with this process.
|
||||
|
||||
**Caution:** As `rippled` is updated to newer versions, amendments are retired and become core functions of the ledger, which can affect how transactions are processed. To produce historically accurate results, you need to replay ledgers using the version of `rippled` the transaction was processed in.
|
||||
{% admonition type="warning" name="Caution" %}As `rippled` is updated to newer versions, amendments are retired and become core functions of the ledger, which can affect how transactions are processed. To produce historically accurate results, you need to replay ledgers using the version of `rippled` the transaction was processed in.{% /admonition %}
|
||||
|
||||
## 1. Start `rippled` normally.
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ This tutorial describes how to run a private XRP Ledger network on your computer
|
||||
|
||||
While you can easily use the public XRP Testnet servers, running a private network can be useful when trying to understand how the XRP Ledger works, or when testing new features in isolation.
|
||||
|
||||
**Caution:** This tutorial is suited for development or testing purposes only, and does not involve using real money. You should **not** use this configuration for a production network.
|
||||
{% admonition type="warning" name="Caution" %}This tutorial is suited for development or testing purposes only, and does not involve using real money. You should **not** use this configuration for a production network.{% /admonition %}
|
||||
|
||||
## Learning Goals
|
||||
|
||||
@@ -44,7 +44,7 @@ Generate the keys for **each** of your validator nodes by using the `validator-k
|
||||
docker run -it --entrypoint /bin/bash xrpllabsofficial/xrpld:latest
|
||||
```
|
||||
|
||||
**Note:** For Apple M1 or M2 chips, run `docker run -it --platform linux/amd64 --entrypoint /bin/bash xrpllabsofficial/xrpld:latest` instead.
|
||||
{% admonition type="info" name="Note" %}For Apple M1 or M2 chips, run `docker run -it --platform linux/amd64 --entrypoint /bin/bash xrpllabsofficial/xrpld:latest` instead.{% /admonition %}
|
||||
|
||||
Sample output:
|
||||
|
||||
@@ -67,7 +67,7 @@ Generate the keys for **each** of your validator nodes by using the `validator-k
|
||||
This file should be stored securely and not shared.
|
||||
```
|
||||
|
||||
**Warning:** In a production or test environment you should follow best practices always and store the generated keys in a secure, offline, and recoverable location, such as an encrypted USB flash drive. However, as this tutorial is an example of a local development setup, storing the keys on your computer is sufficient.
|
||||
{% admonition type="danger" name="Warning" %}In a production or test environment you should follow best practices always and store the generated keys in a secure, offline, and recoverable location, such as an encrypted USB flash drive. However, as this tutorial is an example of a local development setup, storing the keys on your computer is sufficient.{% /admonition %}
|
||||
|
||||
3. Copy the **public_key** value from the JSON output, and store it in a text file on your computer.
|
||||
|
||||
@@ -113,7 +113,7 @@ Generate the keys for **each** of your validator nodes by using the `validator-k
|
||||
|
||||
This section describes how to configure the validator nodes in your network.
|
||||
|
||||
**Note:** The configuration in this tutorial enables the network to retain _some_ ledger history, but the amount of transaction history stored will depend on how long the network has been online.
|
||||
{% admonition type="info" name="Note" %}The configuration in this tutorial enables the network to retain _some_ ledger history, but the amount of transaction history stored will depend on how long the network has been online.{% /admonition %}
|
||||
|
||||
### Create the node directories
|
||||
|
||||
@@ -278,7 +278,7 @@ For each node, follow these steps:
|
||||
|
||||
Docker Compose lets you manage multiple containers on your computer with a simple `yaml` file configuration. This section describes how to run the network with Docker Compose, and how to verify that the network is running successfully.
|
||||
|
||||
**Note:** Docker Compose ensures the containers are part of the same Docker virtual network by default, so you don't need to take any additional steps for the `rippled` containers to communicate with each other.
|
||||
{% admonition type="info" name="Note" %} Docker Compose ensures the containers are part of the same Docker virtual network by default, so you don't need to take any additional steps for the `rippled` containers to communicate with each other.{% /admonition %}
|
||||
|
||||
To start running your private network, follow these steps:
|
||||
|
||||
@@ -352,7 +352,7 @@ Now that the private ledger network is up, you need to verify that **each** vali
|
||||
"server_state" : "proposing"
|
||||
```
|
||||
|
||||
**Note:** If the state is not updated to **proposing**, repeat step **2** after a few minutes as the ledger can take some time to update.
|
||||
{% admonition type="info" name="Note" %}If the state is not updated to **proposing**, repeat step **2** after a few minutes as the ledger can take some time to update.{% /admonition %}
|
||||
|
||||
3. Verify the number of peers connected to the validator.
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ labels:
|
||||
|
||||
You can test how `rippled` behaves before proposed amendments are fully enabled on the production network. Since other members of the consensus network won't have the feature enabled, run your server in stand-alone mode.
|
||||
|
||||
**Caution:** This is intended for development purposes only.
|
||||
{% admonition type="warning" name="Caution" %}This is intended for development purposes only.{% /admonition %}
|
||||
|
||||
To forcibly enable a feature, add a `[features]` stanza with amendment short names to your `rippled.cfg` file. Each amendment needs its own line.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user