You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vocs-docs/docs/pages/concepts/advanced/full-node-streaming/example.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[Indexer-based orderbook streaming](/interaction/data/watch-orderbook), due to the increased latency introduced by the Indexer, can cause issues like more outdated orders or a crossed orderbook.
4
4
In a full node, the orderbook available will be more up-to-date and should be preferred over the Indexer-based solution.
5
-
This requires a full node with [gRPC streaming enabled](/advanced/full-node-streaming).
5
+
This requires a full node with [gRPC streaming enabled](/concepts/advanced/full-node-streaming).
6
6
7
7
:::note
8
8
While more up-to-date than the Indexer, the orderbook state can vary slightly between nodes due to dYdX's offchain orderbook design.
Copy file name to clipboardExpand all lines: vocs-docs/docs/pages/concepts/advanced/running-node/optimize.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Optimizing your full node helps keep it online, up to date, and operating quickl
4
4
## Prerequisites
5
5
You need a running, non-validating full node that is connected to a network.
6
6
7
-
- If you created a system service for your node by following the instructions on the previous page, [Set Up a Full Node](/advanced/running-node/setup), start your node with the following command:
7
+
- If you created a system service for your node by following the instructions on the previous page, [Set Up a Full Node](/concepts/advanced/running-node/setup), start your node with the following command:
8
8
```bash
9
9
stystemctl start dydxprotocold
10
10
```
@@ -27,7 +27,7 @@ Specify a list of healthy, stable nodes that you trust. Your node prioritizes co
27
27
### Save a List of Persistent Peers
28
28
You can save a list of healthy, stable nodes in the `persistent_peers` field of your `config.toml` file.
29
29
30
-
Request a list of healthy peers for your deployment from a [Live Peer Node](/advanced/resources#live-peer-node-providers) provider.
30
+
Request a list of healthy peers for your deployment from a [Live Peer Node](/concepts/advanced/resources#live-peer-node-providers) provider.
31
31
32
32
From the list of healthy peers that you retrieve from peer node provider, choose any 5 for your node to query for the latest state. Add a comma-separated list of those peer addresses to the `persistent_peers` field in your `config.toml`, like in the following example:
As an alternative to persistent peers, you can replace your node's local address book with the latest address book from a trusted provider. The address book file contains the latest connection information for peers from that provider.
42
42
43
-
Download an up-to-date `addrbook.json` file for your deployment from an [Address Book](/advanced/resources#address-book-providers) provider.
43
+
Download an up-to-date `addrbook.json` file for your deployment from an [Address Book](/concepts/advanced/resources#address-book-providers) provider.
44
44
45
45
Save it in your `/.dydxprotocol/config` directory, replacing the existing `addrbook.json` file.
46
46
@@ -54,7 +54,7 @@ You can speed up the re-syncing process significantly by providing your node wit
54
54
### Configure Your Node's State Sync Setting
55
55
You can use state sync, a configuration setting that allows your node to retrieve a snapshot from the network, to ensure that your node can be restored quickly if it falls out of sync.
56
56
57
-
To use state sync for quick recovery in case your node falls out of sync, follow the instructions for your deployment from a [State Sync](/advanced/resources#state-sync-service) service.
57
+
To use state sync for quick recovery in case your node falls out of sync, follow the instructions for your deployment from a [State Sync](/concepts/advanced/resources#state-sync-service) service.
58
58
59
59
:::info
60
60
Cosmos SDK 0.40 release will include automatic support for state sync, and developers only need to enable it in their applications to make use of it. Replace above with a procedure.
@@ -63,7 +63,7 @@ Cosmos SDK 0.40 release will include automatic support for state sync, and devel
63
63
### Save a Snapshot on Your System
64
64
As an alternative to state sync, you can use a snapshot that you have saved on your node's system to restore your node if it falls out of sync.
65
65
66
-
To save a snapshot on your system for quick recovery in case your node falls out of sync, install a snapshot for your deployment from a [Snapshot Service](/advanced/resources#snapshot-service).
66
+
To save a snapshot on your system for quick recovery in case your node falls out of sync, install a snapshot for your deployment from a [Snapshot Service](/concepts/advanced/resources#snapshot-service).
67
67
68
68
## Configure a Pruning Strategy
69
69
To reduce the amount of storage your node requires, dYdX recommends the following pruning setting, configured in your `app.toml` file:
Copy file name to clipboardExpand all lines: vocs-docs/docs/pages/concepts/advanced/running-node/setup.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ To set up a full node, you can either:
16
16
Save the script with an `.sh` extension in your `$HOME` directory. Edit the script, replacing default values in fields such `VERSION` and `CHAIN-ID` with your own. Run the script with the following commands:
17
17
18
18
:::note
19
-
To find the current version of the [dYdX Foundation](https://www.dydx.foundation/) mainnet, see the recommended protocol version on [mintscan.io](https://www.mintscan.io/dydx/parameters). To find network constants such as chain IDs, see the [Network Configuration](/advanced/network-constants) section of the documentation.
19
+
To find the current version of the [dYdX Foundation](https://www.dydx.foundation/) mainnet, see the recommended protocol version on [mintscan.io](https://www.mintscan.io/dydx/parameters). To find network constants such as chain IDs, see the [Network Configuration](/concepts/advanced/network-constants) section of the documentation.
See the [Network Configuration](/advanced/network-constants) section of the documentation for chain IDs and other network constants.
108
+
See the [Network Configuration](/concepts/advanced/network-constants) section of the documentation for chain IDs and other network constants.
109
109
:::
110
110
111
111
When you initialize your node, `dydxprotocold` returns your default node configuration in JSON.
@@ -114,7 +114,7 @@ When you initialize your node, `dydxprotocold` returns your default node configu
114
114
A seed node acts as an address book and helps your node join the network. To update `config.toml` with a list of seed nodes, run the following command:
115
115
116
116
:::note
117
-
Check the [Resources](/advanced/resources#seed-nodes) page for an up-to-date list of seed nodes for the network to which you want to connect.
117
+
Check the [Resources](/concepts/advanced/resources#seed-nodes) page for an up-to-date list of seed nodes for the network to which you want to connect.
118
118
:::
119
119
120
120
```bash
@@ -171,7 +171,7 @@ To download and extract the snapshot contents to the default dydxprotocol home d
171
171
cd$HOME/.dydxprotocol
172
172
```
173
173
174
-
Next, find a provider for your use case on the [Snapshot Service](/advanced/resources#snapshot-service) page. Use the provider's instructions to download the snapshot into your `$HOME/.dydxprotocol` directory.
174
+
Next, find a provider for your use case on the [Snapshot Service](/concepts/advanced/resources#snapshot-service) page. Use the provider's instructions to download the snapshot into your `$HOME/.dydxprotocol` directory.
175
175
176
176
> For example, if you are connecting to `dydx-mainnet-1`, you may use the provider [Polkachu](https://polkachu.com/tendermint_snapshots/dydx). In most cases, you can run `wget <snapshot-web-address>`.
177
177
@@ -260,4 +260,4 @@ When your full node's latest block is the same as the network's latest block, yo
260
260
::::
261
261
262
262
## Next Steps
263
-
When your full node is up to date with the network, you can use it to read live data and configure additional settings. Learn more on the [Optimizing Your Full Node](/advanced/running-node/optimize) and [Full Node Streaming](/advanced/full-node-streaming) pages.
263
+
When your full node is up to date with the network, you can use it to read live data and configure additional settings. Learn more on the [Optimizing Your Full Node](/concepts/advanced/running-node/optimize) and [Full Node Streaming](/concepts/advanced/full-node-streaming) pages.
0 commit comments