Repository navigation
Expand file tree
/
Copy pathdeeploy.conf.example
More file actions
58 lines (50 loc) · 3.75 KB
/
Copy pathdeeploy.conf.example
File metadata and controls
58 lines (50 loc) · 3.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# ============================================================================
# DeePloy example config — deeploy.conf
# ----------------------------------------------------------------------------
# Copy to deeploy.conf and edit, then: deeploy.sh install --config deeploy.conf
# (or let `deeploy install` prompt you, then `deeploy export` writes this file).
#
# THIS FILE HOLDS PATHS, PUBKEYS, AND SETTINGS ONLY — NEVER KEY MATERIAL.
# The real staked keypair is placed MANUALLY and is never stored here.
# All values below are PLACEHOLDERS — replace them for your host.
# ============================================================================
# --- Network and SSH ---
SSH_PORT="22" # a non-default port reduces noise/scans
# --- CPU tuning (PoH core is the single source of truth) ---
POH_CORE="10" # isolated core for PoH (default: auto-detect)
XDP_CORES_COUNT="2" # extra cores for XDP retransmit (0 = none)
XDP_CORES="1-2" # computed: the reserved XDP cores
ISOLATED_SET="1-2,10,25-26,34" # computed by tuning; informational
# --- NIC / retransmit (detected in preflight) ---
NIC_DRIVER="mlx5_core" # mlx5_core (XDP+ZC) | bnxt_en (XDP, no ZC)
RETRANSMIT_SUPPORTED="1" # 1 if the driver supports XDP retransmit
RETRANSMIT_ZERO_COPY="1" # 1 if it supports the zero-copy flag (mlx5)
# --- Disk (IDEAL: accounts and ledger on SEPARATE NVMe) ---
DISK_LAYOUT="two-nvme" # two-nvme | root (single disk / RAID = suboptimal)
LEDGER_DISK="/dev/nvme0n1" # data disk for the ledger (will be WIPED)
ACCOUNTS_DISK="/dev/nvme1n1" # data disk for accounts (will be WIPED)
SOLANA_HOME="/root/solana"
LEDGER_PATH="/root/solana/ledger"
ACCOUNTS_PATH="/mnt/accounts/solana/accounts"
SNAPSHOTS_PATH="/root/solana/snapshots" # rides with the LEDGER disk (I/O isolation)
# --- Build (jito-solana from source) ---
JITO_TAG="v4.3.0-jito.0" # see github.com/jito-foundation/jito-solana/releases
# # MINIMUM SUPPORTED: v4.2.0-jito (older
# # clients lack --no-xdp / --poh-pinned-cpu-core)
# --- Keys: PATHS and PUBKEYS only (no key material). ---
UNSTAKED_KEYPAIR="/root/solana/unstaked-identity.json" # the unstaked SYNC identity the node runs under until the swap
STAKED_KEY_MODE="file" # file: you place the staked keypair on this box; offbox: it never has to be here
STAKED_KEYPAIR="/root/solana/mainnet-validator-keypair.json" # file mode: PATH only; placed by YOU, manually
#STAKED_PUBKEY="YourStakedNodePubkey33333333333333333333333" # offbox mode: REQUIRED — the staked identity's PUBKEY
VOTE_ACCOUNT_PUBKEY="YourVoteAccountPubkey22222222222222222222222" # REQUIRED: replace with yours
# --- MEV (BAM by default; commission tied to mode) ---
MEV_MODE="bam" # bam (recommended)
BAM_URL="http://frankfurt.mainnet.bam.jito.wtf" # EXAMPLE region — preflight scores the closest
BLOCK_ENGINE_URL="https://frankfurt.mainnet.block-engine.jito.wtf" # EXAMPLE region
SHRED_RECEIVER_ADDRESS="203.0.113.7:1002" # EXAMPLE ip:port for your block-engine region — see docs.jito.wtf/lowlatencytxnsend
COMMISSION_BPS="0" # 0 is required by many pools (you are prompted at install)
# --- DoubleZero (optional) ---
DZ_ENABLED="false" # true = prepare DZ in Phase 7 AND add the DZ multicast shred address to validator.sh
DZ_ENV="mainnet-beta"
DZ_KEYPAIR="/root/solana/dz-keypair.json" # PATH only — your DoubleZero ID, placed manually (migration)
# NOTE: DZ connect (passport + ibrl + multicast) is a SEPARATE step after the staked-key swap: deeploy dz-connect