Skip to content

Commit

Permalink
Update IPs for shredstream (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
esemeniuc authored Nov 27, 2024
1 parent 07165d1 commit 8bd866c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 24 deletions.
23 changes: 11 additions & 12 deletions docs/source/lowlatencytxnfeed.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shreds help in fast and efficient data propagation, maintaining Solana's high th

## Jito ShredStream Proxy

The proxy client connects to the Jito Block Engine and authenticates using the provided keypair. It sends a heartbeat to keep shreds flowing. Received shreds are distributed to all DEST_IP_PORTS. We recommend running a proxy instance for each region where you have validators or RPCs.
The proxy client connects to the Jito Block Engine and authenticates using the provided keypair. It sends a heartbeat to keep shreds flowing. Received shreds are distributed to all DEST_IP_PORTS. We recommend running a proxy instance for each region where you have RPCs.

## Preparation

Expand All @@ -25,7 +25,7 @@ The proxy client connects to the Jito Block Engine and authenticates using the p

3. Find your TVU port
- Run get_tvu_port.sh to find your port
- Example on machine with solana validator:
- Example on machine with Solana RPC:
```bash
export LEDGER_DIR=MY_LEDGER_DIR; bash -c "$(curl -fsSL https://raw.githubusercontent.com/jito-labs/shredstream-proxy/master/scripts/get_tvu_port.sh)"
```
Expand All @@ -35,7 +35,7 @@ The proxy client connects to the Jito Block Engine and authenticates using the p
```

4. Run via docker or natively and set the following parameters
- `BLOCK_ENGINE_URL`: set to the closest region to your validator/RPC node
- `BLOCK_ENGINE_URL`: set to the closest region to your RPC node
- `DESIRED_REGIONS`: set to regions you want to receive shreds from. Same regions as for Block Engine
- `DEST_IP_PORTS`: IP:Port combinations to receive shreds on
- Note: these examples will receive shreds from amsterdam and ny, and directly connect to ny region
Expand Down Expand Up @@ -84,7 +84,6 @@ jitolabs/jito-shredstream-proxy shredstream

### 🦾 Running Natively


```bash
git clone https://github.com/jito-labs/shredstream-proxy.git --recurse-submodules
Expand All @@ -99,19 +98,19 @@ RUST_LOG=info cargo run --release --bin jito-shredstream-proxy -- shredstream \

If you use a firewall, allow access to the following IPs:

| Location | IP Addresses |
|-----------------|--------------------------------------------------|
| πŸ‡³πŸ‡± Amsterdam | `74.118.140.240`, `202.8.8.174`, `64.130.52.138` |
| πŸ‡©πŸ‡ͺ Frankfurt | `145.40.93.84`, `145.40.93.41`, `64.130.50.99`, `64.130.57.46` |
| πŸ‡ΊπŸ‡Έ New York | `141.98.216.96`, `64.130.48.56`, `64.130.51.137` |
| πŸ‡ΊπŸ‡Έ Salt Lake City | `64.130.53.8`, `64.130.53.57` |
| πŸ‡―πŸ‡΅ Tokyo | `202.8.9.160`, `202.8.9.19` |
| Location | IP Addresses |
|---------------------|--------------------------------------------------------------------------------|
| πŸ‡³πŸ‡± Amsterdam | `74.118.140.240`, `202.8.8.174`, `64.130.52.138` |
| πŸ‡©πŸ‡ͺ Frankfurt | `145.40.93.84`, `145.40.93.41`, `64.130.50.14`, `64.130.50.99`, `64.130.57.46` |
| πŸ‡ΊπŸ‡Έ New York | `141.98.216.96`, `64.130.48.56`, `64.130.51.137` |
| πŸ‡ΊπŸ‡Έ Salt Lake City | `64.130.53.8`, `64.130.53.57` |
| πŸ‡―πŸ‡΅ Tokyo | `202.8.9.160`, `202.8.9.19`, `202.8.9.22` |

## Troubleshooting

Ensure ShredStream is running correctly by configuring the `SOLANA_METRICS_CONFIG` in your RPC setup. Refer to [Solana Clusters Documentation](https://docs.solana.com/clusters) for details.

To verify, query the number of packets received before and after configuring ShredStream using:
To verify, query the number of packets received before and after configuring ShredStream in InfluxDB:

```sql
SELECT shred_count FROM "shred_fetch" WHERE time > now() - 1h
Expand Down
24 changes: 12 additions & 12 deletions docs/source/lowlatencytxnsend.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ Jito provides Solana MEV users with superior transaction execution through fast
## API
You can send JSON-RPC requests to any Block Engine using the following URLs. To route to a specific region, specify the desired region:

| Location | Block Engine URL | Shred Receiver | Relayer URL | NTP Server |
|----------|-----------------|----------------|-------------|------------|
| 🌍 🌎 🌏 **Mainnet** | `https://mainnet.block-engine.jito.wtf` | - | - | - |
| πŸ‡³πŸ‡± **Amsterdam** | `https://amsterdam.mainnet.block-engine.jito.wtf` | `74.118.140.240:1002` | `http://amsterdam.mainnet.relayer.jito.wtf:8100` | `ntp.amsterdam.jito.wtf` |
| πŸ‡©πŸ‡ͺ **Frankfurt** | `https://frankfurt.mainnet.block-engine.jito.wtf` | `145.40.93.84:1002` | `http://frankfurt.mainnet.relayer.jito.wtf:8100` | `ntp.frankfurt.jito.wtf` |
| πŸ‡ΊπŸ‡Έ **New York** | `https://ny.mainnet.block-engine.jito.wtf` | `141.98.216.96:1002` | `http://ny.mainnet.relayer.jito.wtf:8100` | `ntp.dallas.jito.wtf` |
| πŸ‡―πŸ‡΅ **Tokyo** | `https://tokyo.mainnet.block-engine.jito.wtf` | `202.8.9.160:1002` | `http://tokyo.mainnet.relayer.jito.wtf:8100` | `ntp.tokyo.jito.wtf` |
| πŸ‡ΊπŸ‡Έ **Salt Lake City** | `https://slc.mainnet.block-engine.jito.wtf` | `64.130.53.8:1002` | `http://slc.mainnet.relayer.jito.wtf:8100` | `ntp.slc.jito.wtf` |
| | | | | |
| 🌍 🌎 🌏 **Testnet** | `https://testnet.block-engine.jito.wtf` | - | - | - |
| πŸ‡ΊπŸ‡Έ **Dallas** | `https://dallas.testnet.block-engine.jito.wtf` | `141.98.218.45:1002` | `http://dallas.testnet.relayer.jito.wtf:8100` | `ntp.dallas.jito.wtf` |
| πŸ‡ΊπŸ‡Έ **New York** | `https://ny.testnet.block-engine.jito.wtf` | `141.98.216.132:1002` | `http://ny.testnet.relayer.jito.wtf:8100` | `ntp.dallas.jito.wtf` |
| Location | Block Engine URL | Shred Receiver | Relayer URL | NTP Server |
|-------------------------|---------------------------------------------------|-----------------------|--------------------------------------------------|--------------------------|
| 🌍 🌎 🌏 **Mainnet** | `https://mainnet.block-engine.jito.wtf` | - | - | - |
| πŸ‡³πŸ‡± **Amsterdam** | `https://amsterdam.mainnet.block-engine.jito.wtf` | `74.118.140.240:1002` | `http://amsterdam.mainnet.relayer.jito.wtf:8100` | `ntp.amsterdam.jito.wtf` |
| πŸ‡©πŸ‡ͺ **Frankfurt** | `https://frankfurt.mainnet.block-engine.jito.wtf` | `64.130.50.14:1002` | `http://frankfurt.mainnet.relayer.jito.wtf:8100` | `ntp.frankfurt.jito.wtf` |
| πŸ‡ΊπŸ‡Έ **New York** | `https://ny.mainnet.block-engine.jito.wtf` | `141.98.216.96:1002` | `http://ny.mainnet.relayer.jito.wtf:8100` | `ntp.dallas.jito.wtf` |
| πŸ‡―πŸ‡΅ **Tokyo** | `https://tokyo.mainnet.block-engine.jito.wtf` | `202.8.9.160:1002` | `http://tokyo.mainnet.relayer.jito.wtf:8100` | `ntp.tokyo.jito.wtf` |
| πŸ‡ΊπŸ‡Έ **Salt Lake City** | `https://slc.mainnet.block-engine.jito.wtf` | `64.130.53.8:1002` | `http://slc.mainnet.relayer.jito.wtf:8100` | `ntp.slc.jito.wtf` |
| | | | | |
| 🌍 🌎 🌏 **Testnet** | `https://testnet.block-engine.jito.wtf` | - | - | - |
| πŸ‡ΊπŸ‡Έ **Dallas** | `https://dallas.testnet.block-engine.jito.wtf` | `141.98.218.45:1002` | `http://dallas.testnet.relayer.jito.wtf:8100` | `ntp.dallas.jito.wtf` |
| πŸ‡ΊπŸ‡Έ **New York** | `https://ny.testnet.block-engine.jito.wtf` | `141.98.216.132:1002` | `http://ny.testnet.relayer.jito.wtf:8100` | `ntp.dallas.jito.wtf` |


### πŸ“¨ Transactions(`/api/v1/transactions`)
Expand Down

0 comments on commit 8bd866c

Please sign in to comment.