Solana ตัวตรวจความถูกต้องของเน็ตหลัก - เรียกใช้ด่วนComment
แนะนํา
เพื่อใช้ Solana ตัวตรวจความถูกต้องของเน็ตหลัก, คุณจะใช้ SLV เครื่องมือบรรทัดคําสั่ง
มัคคุเทศก์ด่วนนี้อธิบายวิธีการเปิดตัว และใช้เครื่องตรวจความร้อนหลัก
คุณต้อง Ubuntu 24.4. ล้าง LTS ที่ติดตั้งอยู่บนเครื่องแม่ข่ายของคุณ.
กําลังเตรียมเซิร์ฟเวอร์ย่อย
ในขณะที่มันเป็นไปได้ที่จะเรียกใช้ Solana โหนดบน PDF หรือเครื่องเสมือน (VM) ที่ประสบความสําเร็จสูงสุด และปฏิบัติการได้คงที่นั้นท้าทาย Solana แนะนําอย่างเป็นทางการให้ใช้เซิร์ฟเวอร์แบบเปลือย
ควร จัด หา ผู้ ตรวจ สอบ หลัก เน็ต เพื่อ ให้ มั่นคง ระหว่าง ที่ รถ ติด.
ข้างล่างเป็นเส้นนําตามหลักทางการ Solana เอกสารเกี่ยวกับอัคร สาวกและประชาชน
ตัวตรวจสอบความถูกต้องของ Agaeve (ความต้องการและคําแนะนําในการใช้งาน)
** ความต้องการของตํารวจ*
- ไม่มีความต้องการที่เข้มงวดน้อยที่สุดของ รัชทายาท
- บัญชีผู้ใช้ที่ขาดหายต้องการ *.026864 รัชทายาท เพื่อการเช่า-การให้เช่า
- การลงซื้ออาจเสียค่า
1. sult/Day
** สิ่งที่ต้องการในหน่วยความจํา (สายด่วน) ~
| ส่วนประกอบ | ตัวตรวจสอบความถูกต้อง | RPC โหนด (ที่ควรใช้) |
|---|---|---|
| CPU | 2.8GHz+ / AMD Gen3+ / ฟิล์มน้ําแข็งเลค+/HA ส่วนขยาย / AVX2 | 16 แกนหลัก / 32 เส้นเชือก + |
| RAM | 256GB+ | 512GB+ |
| ดิสก์ | NVMEGE3 x4 หรือดีกว่า / บัญชีผู้ใช้- Ledger- Sshapts ขอแนะนําให้แยก | ขอแนะนําให้ใช้ความจุที่มาก |
| ขนาด GPU | ไม่จําเป็นต้องใช้ | ไม่จําเป็นต้องใช้ |
หมายเหตุ: การนับค่าความเร็วนาฬิกาและผ่านเข็มนาฬิกา สําคัญกว่าการนับหลัก
ไฟร์ดานเซอร์ (ผู้สนับสนุน)
Firedancer (Frandender) ปัจจุบันขึ้นอยู่กับ Agave
อย่างน้อยมันสมมุติว่า Agave แนะนําให้ตั้งค่าหรือสูงกว่านั้น
- 24 คะแนน CPU @ > 2. 8GHz
- 256GB RAM
- 2TB NVMame (TBW) พ.ศ.
~ แนะนําให้ทํา~
- 32 คะแนน CPU @ > 3GHz (AVX512)
- RAM (อีซีดี) 512GB (EC)
- การ แยก ตัว ของ ผู้ ที่ อยู่ ใน สภาพ เช่น นั้น อาจ ทํา ให้ เกิด ปัญหา ได้.
- แถบเครือข่ายแบบย่อ 1Gbps หรือสูงกว่า
สําหรับการตั้งค่าค่าใช้จ่ายสมดุล, Agaove กับ 24คอร์ CPU และ 384GB RAM เป็นสายนําทางที่ใช้งานได้จริง
เมื่อคุณเรียกใช้
slv v init คําสั่ง, คุณจะถูกสอบสวนว่าเซิร์ฟเวอร์แบบว่างของคุณ ได้ถูกตั้งค่าไว้แล้วหรือไม่:bash
➜ slv v init
? Select Solana Network (testnet) › mainnet
? 🛡️ Do you have a Solana Node Compatible Server? (no)
❯ yes
no➜ slv v init
? Select Solana Network (testnet) › mainnet
? 🛡️ Do you have a Solana Node Compatible Server? (no)
❯ yes
noส่วนเสริมนี้ สันนิษฐานว่าคุณกําลังเลือก
yes.หากคุณยังไม่ได้เตรียมเซิร์ฟเวอร์แบบว่าง โปรดอ้างอิงไปยัง คู่มือการตั้งค่าเซิร์ฟเวอร์พื้นฐาน.
นอก จาก นี้ คุณ อาจ พบ ว่า ทรัพยากร เหล่า นี้ เป็น ประโยชน์:
ดัล์ฟลิง Solana ไฟร์ดานเซอร์ของเมนเน็ต Jito ตัวตรวจสอบความถูกต้อง
สร้างการประชุมตลอดทั้งวันใหม่New SLV การใช้งานมักใช้
unstaked-keypair.json เป็นกุญแจประจําตัว
นี่ เป็น กิจ ปฏิบัติ ที่ ดี ที่ สุด เพื่อ ป้องกัน การ ลง คะแนน เสียง สอง ต่อ และ ปัญหา อื่น ๆ.ดังนั้น หลังจากดําเนินการแล้ว โปรดใช้
slv v set:identity เพื่อตั้งค่ากุญแจการแสดงตัวที่ได้รับอนุญาตในการดําเนินการตรวจสอบหลักส่วนใหญ่ของเน็ต คุณจะใช้
slv v switch เพื่อเปลี่ยนกุญแจประจําตัว
สําหรับการอพยพที่ไม่มีการลดเวลา โปรดอ้างอิงถึง ไกด์.เลือก Solana เครือข่าย
เลือก Solana เครือข่ายที่คุณต้องการใช้งาน
bash
slv v init
? Select Solana Network (mainnet)
testnet
❯ mainnetslv v init
? Select Solana Network (mainnet)
testnet
❯ mainnetชื่อผู้ใช้ปริยายของแม่ข่ายการนําเข้า
เวลาส่วนใหญ่, ชื่อผู้ใช้ปริยาย
ubuntu or root.bash
? What's the user for the server? (ubuntu) › ubuntu? What's the user for the server? (ubuntu) › ubuntuเซิร์ฟเวอร์นําเข้า IP ที่อยู่
ป้อนค่า IP ที่อยู่ของแม่ข่ายให้บริการ
bash
? What's the IP address of the server? ›? What's the IP address of the server? ›ตั้งค่ากุญแจ RSA สําหรับ SHS
○ โปรดตั้งค่าพาธไปยังกุญแจ RSA ของคุณ ซึ่งพาธปริยายคือ
~/.ssh/id_rsa.bash
? What's the path to your RSA key? (~/.ssh/id_rsa) › ~/.ssh/id_rsa
🔍 Checking SSH connection...
✔︎ SSH connection succeeded? What's the path to your RSA key? (~/.ssh/id_rsa) › ~/.ssh/id_rsa
🔍 Checking SSH connection...
✔︎ SSH connection succeededงั้น SLV จะตรวจสอบการเชื่อมต่อไปยังเซิร์ฟเวอร์ หากการเชื่อมต่อนี้
ประสบความสําเร็จในขั้นตอนต่อไปจะถูกกระตุ้น
เลือก Solana ชนิดตัวตรวจสอบ
เลือกประเภทของ Solana ผู้ตรวจสอบ
bash
? Select Validator Type (firedancer-jito)
agave
jito
jito-bam
firedancer-agave
❯ firedancer-jito? Select Validator Type (firedancer-jito)
agave
jito
jito-bam
firedancer-agave
❯ firedancer-jitoตั้งอัตราการรับมอบหมาย
ตั้งค่าอัตราการรับค่าคอมไพล์สําหรับผู้ตรวจความถูกต้องของคุณ
○ 1000 เท่ากับ 10%
bash
? Enter Commission BPS (Max 1000 = 10%) (1000)? Enter Commission BPS (Max 1000 = 10%) (1000)สร้างหรือตั้งค่า Solana กุญแจสําหรับตรวจสอบการแสดงตัว
คุณสามารถสร้างกุญแจการแสดงตัวใหม่ หรือตั้งกุญแจการแสดงตัวที่มีอยู่แล้ว
ตัวอย่างนี้แสดงวิธีตั้งค่ากุญแจการแสดงตัวที่มีอยู่ด้วยชื่อ "การแทนที่"
bash
? Do you want to create a new identity key now? (Y/n) › No
? Please Enter Your Identity Public Key › KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM
? Enter Inventory Name (KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM) › epics-sub
⚠️ Please place your identity key in
~/.slv/keys/KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM.json
.
.
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.yml
✔ Successfully created solv user on x.x.x.x? Do you want to create a new identity key now? (Y/n) › No
? Please Enter Your Identity Public Key › KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM
? Enter Inventory Name (KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM) › epics-sub
⚠️ Please place your identity key in
~/.slv/keys/KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM.json
.
.
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.yml
✔ Successfully created solv user on x.x.x.xกรุณาใส่กุญแจประจําตัวของคุณใน
~/.slv/keys/<your-pubkey>.json.ตรวจสอบขอบเขตอัตโนมัติ
ถัดไป ระบบจะส่งสัญญาณแต่ละบล็อคจากโหนดที่ปรับแต่งมาให้ตรวจสอบพื้นที่ที่อยู่ใกล้ที่สุดโดยอัตโนมัติ โดยการวัดค่าจริงของภาพ คุณสามารถเลือกขอบเขตที่เหมาะสมที่สุดได้
bash
✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
📍 Measuring latencies from x.x.x.x to mainnet regions...
Pinging Amsterdam (amsterdam.mainnet.block-engine.jito.wtf)...
Pinging Dublin (dublin.mainnet.block-engine.jito.wtf)...
Pinging Frankfurt (frankfurt.mainnet.block-engine.jito.wtf)...
Pinging London (london.mainnet.block-engine.jito.wtf)...
Pinging New York (ny.mainnet.block-engine.jito.wtf)...
Pinging Salt Lake City (slc.mainnet.block-engine.jito.wtf)...
Pinging Singapore (singapore.mainnet.block-engine.jito.wtf)...
Pinging Tokyo (tokyo.mainnet.block-engine.jito.wtf)...
✅ London: 8.801 ms
✅ Dublin: 12.946 ms
✅ Frankfurt: 5.888 ms
✅ Amsterdam: 0.169 ms
✅ New York: 74.321 ms
✅ Salt Lake City: 115.577 ms
✅ Singapore: 154.200 ms
✅ Tokyo: 229.989 ms
🎯 Nearest region: 🇳🇱 Amsterdam
Latency: 0.169 ms
Block Engine: https://amsterdam.mainnet.block-engine.jito.wtf
Shred Receiver: 74.118.140.240:1002
Relayer: http://amsterdam.mainnet.relayer.jito.wtf:8100
NTP Server: ntp.amsterdam.jito.wtf✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
📍 Measuring latencies from x.x.x.x to mainnet regions...
Pinging Amsterdam (amsterdam.mainnet.block-engine.jito.wtf)...
Pinging Dublin (dublin.mainnet.block-engine.jito.wtf)...
Pinging Frankfurt (frankfurt.mainnet.block-engine.jito.wtf)...
Pinging London (london.mainnet.block-engine.jito.wtf)...
Pinging New York (ny.mainnet.block-engine.jito.wtf)...
Pinging Salt Lake City (slc.mainnet.block-engine.jito.wtf)...
Pinging Singapore (singapore.mainnet.block-engine.jito.wtf)...
Pinging Tokyo (tokyo.mainnet.block-engine.jito.wtf)...
✅ London: 8.801 ms
✅ Dublin: 12.946 ms
✅ Frankfurt: 5.888 ms
✅ Amsterdam: 0.169 ms
✅ New York: 74.321 ms
✅ Salt Lake City: 115.577 ms
✅ Singapore: 154.200 ms
✅ Tokyo: 229.989 ms
🎯 Nearest region: 🇳🇱 Amsterdam
Latency: 0.169 ms
Block Engine: https://amsterdam.mainnet.block-engine.jito.wtf
Shred Receiver: 74.118.140.240:1002
Relayer: http://amsterdam.mainnet.relayer.jito.wtf:8100
NTP Server: ntp.amsterdam.jito.wtfสร้างหรือตั้งค่า Solana กุญแจบัญชีสําหรับตรวจสอบ
คุณสามารถสร้างกุญแจบัญชีเลือกตั้งใหม่ หรือกดปุ่มบัญชีลงคะแนนเสียงที่มีอยู่
ตัว อย่าง นี้ แสดง ให้ เห็น วิธี ตั้ง กุญแจ บัญชี ลงคะแนนเสียง ที่ มี อยู่ แล้ว.
bash
? Do you want to create a new vote account key now? (Y/n) › No
? Please Enter Your Vote Account Public Key > <your-vote-account>? Do you want to create a new vote account key now? (Y/n) › No
? Please Enter Your Vote Account Public Key > <your-vote-account>ข้อมูลโหนดตรวจสอบจะถูกบันทึกเป็น
~/.slv/inventory.mainnet.validators.yml.bash
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
✔ Successfully created solv user on epics-sub
✔︎ Validator Mainnet Config Saved To ~/.slv/inventory.mainnet.validators.yml
Now you can deploy with:
$ slv v deploy -n mainnet -p epics-sub✔︎ Success
✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
✔ Successfully created solv user on epics-sub
✔︎ Validator Mainnet Config Saved To ~/.slv/inventory.mainnet.validators.yml
Now you can deploy with:
$ slv v deploy -n mainnet -p epics-subการ ปล่อย ตัว ตัว ตรวจ สอบ
เมื่อคุณยืนยันการปรับแต่งแล้ว การใช้คําสั่งจะเริ่ม
bash
slv v deploy -n mainnet -p epics-subslv v deploy -n mainnet -p epics-subbash
Your Mainnet Validators Settings:
┌────────────────┬──────────────────────────────────────────────┐
│ Identity Key │ KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM │
├────────────────┼──────────────────────────────────────────────┤
│ Vote Key │ EpicsoqLdDP8qRn3wQRKTSKAXbjK9dUgFfNPRQS77MQD │
├────────────────┼──────────────────────────────────────────────┤
│ Authority Key │ authAccount │
├────────────────┼──────────────────────────────────────────────┤
│ IP │ x.x.x.x │
├────────────────┼──────────────────────────────────────────────┤
│ Validator Type │ firedancer-jito │
├────────────────┼──────────────────────────────────────────────┤
│ Version │ 0.712.30006 │
└────────────────┴──────────────────────────────────────────────┘
? Do you want to continue? (Y/n) › Yes
.
.
.
Successfully Deployed RPC on mainnet
⚡️⚡️⚡️ Enhanced Solana RPC Connection API Key ⚡️⚡️⚡️
We're excited to offer a free API key exclusively for the Validators DAO community 🎉
It's our way of supporting the community and empowering you with fast, reliable connections.
To get your Free API key, simply join us through the link below:
Validators DAO: `https://discord.gg/X4BgkBHavp`
Unlock fast connections and elevate your experience with your very own API key 🚀
You can monitor your Node with the following steps:
Log in to your server with SSH:
ssh [email protected]
Then, run the following command to monitor your node:
$ solv mYour Mainnet Validators Settings:
┌────────────────┬──────────────────────────────────────────────┐
│ Identity Key │ KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM │
├────────────────┼──────────────────────────────────────────────┤
│ Vote Key │ EpicsoqLdDP8qRn3wQRKTSKAXbjK9dUgFfNPRQS77MQD │
├────────────────┼──────────────────────────────────────────────┤
│ Authority Key │ authAccount │
├────────────────┼──────────────────────────────────────────────┤
│ IP │ x.x.x.x │
├────────────────┼──────────────────────────────────────────────┤
│ Validator Type │ firedancer-jito │
├────────────────┼──────────────────────────────────────────────┤
│ Version │ 0.712.30006 │
└────────────────┴──────────────────────────────────────────────┘
? Do you want to continue? (Y/n) › Yes
.
.
.
Successfully Deployed RPC on mainnet
⚡️⚡️⚡️ Enhanced Solana RPC Connection API Key ⚡️⚡️⚡️
We're excited to offer a free API key exclusively for the Validators DAO community 🎉
It's our way of supporting the community and empowering you with fast, reliable connections.
To get your Free API key, simply join us through the link below:
Validators DAO: `https://discord.gg/X4BgkBHavp`
Unlock fast connections and elevate your experience with your very own API key 🚀
You can monitor your Node with the following steps:
Log in to your server with SSH:
ssh [email protected]
Then, run the following command to monitor your node:
$ solv mเรียบร้อย! Solana ตัวตรวจความถูกต้อง เปิดใช้งานแล้ว มันต้องใช้เวลาหน่อย
ตรงกับ Solana เครือข่าย.
การดีบั๊กและติดตาม
หลังจากดําเนินการ คุณสามารถดีบั๊กและตรวจสอบภายใน Solana RPC โหนด
คุณสามารถตรวจสอบสถานะของ Solana RPC โหนดโดยใช้คําสั่งต่อไปนี้:
bash
$ solv m$ solv msolv เป็นนามแฝงสําหรับ agave-validator -l /mnt/ledger.
ค่าที่ตั้งนี้จะถูกเพิ่มเข้ากับ ~/.profile ระหว่าง RPC เชื่อมต่อเครือข่ายเปลี่ยนกุญแจการแสดงตัว
หลังจากใช้แล้ว คุณต้องเปลี่ยนกุญแจที่ไม่ได้ถอดมา เป็นกุญแจประจําตัวที่ได้รับอนุญาต
bash
slv v set:identity -n mainnet --pubkey epics-subslv v set:identity -n mainnet --pubkey epics-subคําสั่งนี้จะเปลี่ยนแปลงกุญแจการแสดงตัวเป็นกุญแจการแสดงตัว
○ สําหรับ การ อพยพ ไม่ หยุด พัก โปรด อ้าง ถึง เรื่อง นี้ นําทาง.
SLV คําสั่งตรวจสอบความถูกต้อง
bash
slv validator --help
Usage: slv validator
Version: 0.9.700
Description:
🛠️ Manage Solana Validator Nodes 🛠️
Options:
-h, --help - Show this help.
Commands:
init - 🚀 Initialize a new validator configuration
deploy - 📦 Deploy Validators
list - 📋 List validators
set:identity - 🪪 Set Validator Identity
set:unstaked - 📴 Set Validator Identity to Unstaked Key
setup:firedancer - 🔥 Setup/Update Firedancer Validator
update:firedancer - 🔄 Update Firedancer Version
build:solana-cli - 🛠️ Build Solana CLI from Source
install:solana - ➡️ Install Solana CLI Binary
update:script - ⚙️ Update Validator Startup Config
update:jinja - 🧩 Update Jinja Template
start - 🟢 Start Validator
stop - 🔴 Stop Validator
restart - ♻️ Restart Validator
cleanup - 🧹 Cleanup Validator - Remove Ledger/Snapshot Unnecessary Files
get:snapshot - 💾 Download Snapshot with aria2c
gen:vote-account - 🗳️ Generate Vote Account
switch - 🔁 Switch Validator Identity - No DownTime Migrationslv validator --help
Usage: slv validator
Version: 0.9.700
Description:
🛠️ Manage Solana Validator Nodes 🛠️
Options:
-h, --help - Show this help.
Commands:
init - 🚀 Initialize a new validator configuration
deploy - 📦 Deploy Validators
list - 📋 List validators
set:identity - 🪪 Set Validator Identity
set:unstaked - 📴 Set Validator Identity to Unstaked Key
setup:firedancer - 🔥 Setup/Update Firedancer Validator
update:firedancer - 🔄 Update Firedancer Version
build:solana-cli - 🛠️ Build Solana CLI from Source
install:solana - ➡️ Install Solana CLI Binary
update:script - ⚙️ Update Validator Startup Config
update:jinja - 🧩 Update Jinja Template
start - 🟢 Start Validator
stop - 🔴 Stop Validator
restart - ♻️ Restart Validator
cleanup - 🧹 Cleanup Validator - Remove Ledger/Snapshot Unnecessary Files
get:snapshot - 💾 Download Snapshot with aria2c
gen:vote-account - 🗳️ Generate Vote Account
switch - 🔁 Switch Validator Identity - No DownTime Migration