From 6bb1e1f2c60109599ae07f9f7fee719854f10529 Mon Sep 17 00:00:00 2001 From: Gray Choi Date: Fri, 31 Jul 2026 22:44:53 +0900 Subject: [PATCH 1/3] docs: update seeds of seed node both network and update mainnet version history --- docs/pages/en/how-to/install-node.mdx | 4 ++-- docs/pages/en/reference/mainnet-version-history.mdx | 5 +++-- docs/pages/en/reference/node-configuration.mdx | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/pages/en/how-to/install-node.mdx b/docs/pages/en/how-to/install-node.mdx index 9dfb033..b3d203e 100755 --- a/docs/pages/en/how-to/install-node.mdx +++ b/docs/pages/en/how-to/install-node.mdx @@ -215,7 +215,7 @@ max_num_inbound_peers = 50 max_num_outbound_peers = 30 # Seed nodes -seeds = "9aa181b20248e948567cb47a15eae35d58cd549d@seed1.stable.xyz:46656" +seeds = "c21897d374c480a963edcda941ac94030895f6b4@seed1.stable.xyz:46656" # Persistent peers (mainnet seed nodes) persistent_peers = "b896f6f8ca5a4d1cc40de09407df0c96e76df950@peer1.stable.xyz:26656" @@ -242,7 +242,7 @@ max_num_inbound_peers = 50 max_num_outbound_peers = 30 # Seed nodes -seeds = "6f3195823f7e5ee6f911a0a0ceb9ea689e0dc5bd@seed1.testnet.stable.xyz:56656" +seeds = "8c2ede57b763c2976253f880a27c6f85756e1f1b@seed1.testnet.stable.xyz:56656" # Persistent peers (testnet seed nodes) persistent_peers = "128accd3e8ee379bfdf54560c21345451c7048c7@peer1.testnet.stable.xyz:26656" diff --git a/docs/pages/en/reference/mainnet-version-history.mdx b/docs/pages/en/reference/mainnet-version-history.mdx index 2017906..8e3c3b5 100755 --- a/docs/pages/en/reference/mainnet-version-history.mdx +++ b/docs/pages/en/reference/mainnet-version-history.mdx @@ -10,7 +10,7 @@ Complete version history and related documentation for the Stable Mainnet. ## Current version information -- **Current Version**: `v1.3.2` +- **Current Version**: `v1.3.3` - **Next Upgrade**: `TBD` - **Upgrade Height**: `TBD` - **Expected Time**: `TBD` @@ -21,7 +21,8 @@ Complete version history and related documentation for the Stable Mainnet. | Version | Commit | Upgrade Height | Binary | Status | |---------|--------|----------------|--------|-------------------------------| -| **v1.3.2** | `5d1fb52` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-arm64-mainnet.tar.gz) | Current | +| **v1.3.3** | `ea8df7c` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.3-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.3-linux-arm64-mainnet.tar.gz) | Current | +| **v1.3.2** | `5d1fb52` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-arm64-mainnet.tar.gz) | | | **v1.3.1** | `f85d155` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.1-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.1-linux-arm64-mainnet.tar.gz) | | | **v1.3.0** | `dd103ec` | 24,077,500 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.0-linux-arm64-mainnet.tar.gz) | | | **v1.2.2** | `76da1da` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.2-linux-arm64-mainnet.tar.gz) | | diff --git a/docs/pages/en/reference/node-configuration.mdx b/docs/pages/en/reference/node-configuration.mdx index b8b008a..49a9197 100755 --- a/docs/pages/en/reference/node-configuration.mdx +++ b/docs/pages/en/reference/node-configuration.mdx @@ -55,7 +55,7 @@ laddr = "tcp://0.0.0.0:26656" external_address = "YOUR_PUBLIC_IP:26656" # Comma separated list of seed nodes -seeds = "17a539fda42863a99755547e1c9b3ec4c38a4439@seed1.stable.xyz:26656" +seeds = "c21897d374c480a963edcda941ac94030895f6b4@seed1.stable.xyz:46656" # Comma separated list of persistent peers persistent_peers = "b896f6f8ca5a4d1cc40de09407df0c96e76df950@peer1.stable.xyz:26656" @@ -69,7 +69,7 @@ laddr = "tcp://0.0.0.0:26656" external_address = "YOUR_PUBLIC_IP:26656" # Comma separated list of seed nodes -seeds = "39e061b167162f6621ddadcf1be21d6fa585a468@seed1.testnet.stable.xyz:26656" +seeds = "8c2ede57b763c2976253f880a27c6f85756e1f1b@seed1.testnet.stable.xyz:56656" # Comma separated list of persistent peers persistent_peers = "5ed0f977a26ccf290e184e364fb04e268ef16430@peer1.testnet.stable.xyz:26656" From 783c319cb8b1a7aa3f7a8c7af49aa42ba85db97e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 31 Jul 2026 14:17:25 +0000 Subject: [PATCH 2/3] i18n: auto-translate cn/ko for changed en content --- docs/pages/cn/how-to/install-node.mdx | 266 +++++++-------- .../cn/reference/mainnet-version-history.mdx | 21 +- .../pages/cn/reference/node-configuration.mdx | 226 ++++++------- docs/pages/ko/how-to/install-node.mdx | 320 +++++++++--------- .../ko/reference/mainnet-version-history.mdx | 38 +-- .../pages/ko/reference/node-configuration.mdx | 234 ++++++------- 6 files changed, 535 insertions(+), 570 deletions(-) diff --git a/docs/pages/cn/how-to/install-node.mdx b/docs/pages/cn/how-to/install-node.mdx index c12be5d..ee75d10 100755 --- a/docs/pages/cn/how-to/install-node.mdx +++ b/docs/pages/cn/how-to/install-node.mdx @@ -1,53 +1,53 @@ --- source_path: how-to/install-node.mdx -source_sha: 9dfb0333d9152dfd5083da30d4c5e7c0597f091d +source_sha: b3d203ef94d492fda0206e9c1f6797c50a09be8f title: 安装指南 -description: "在 Linux 上使用预编译版本安装 Stable 节点二进制文件的分步安装指南。" +description: "使用预编译版本在 Linux 上安装 Stable 节点二进制文件的分步指南。" diataxis: "how-to" --- -本指南提供在各种平台上安装和设置 Stable 节点的详细说明。 +本指南提供了在各种平台上安装和设置 Stable 节点的详细说明。 -## 前提条件 +## 先决条件 -在开始安装之前,请确保你已: -- 满足所有[系统要求](/cn/reference/node-system-requirements) -- 拥有服务器的 root 或 sudo 访问权限 -- 具备基本的 Linux 命令行知识 +开始安装前,请确保您已具备: +- 满足所有 [系统要求](/cn/reference/node-system-requirements) +- 服务器的 root 或 sudo 访问权限 +- Linux 命令行基础知识 ## 安装方法 -使用适用于你的平台的预编译二进制文件。Stable 目前不支持从源码构建。 +请使用适用于您平台的预编译二进制文件。Stable 目前不支持从源代码构建。 ### 主网 #### Linux AMD64 ```bash -# Download the latest binary for AMD64 architecture +# 下载适用于 AMD64 架构的最新二进制文件 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-latest-linux-amd64-mainnet.tar.gz -# Extract the archive +# 解压文件 tar -xvzf stabled-latest-linux-amd64-mainnet.tar.gz -# Move binary to system path +# 将二进制文件移动到系统路径 sudo mv stabled /usr/bin/ -# Verify installation +# 验证安装 stabled version ``` #### Linux ARM64 ```bash -# Download the binary for ARM64 architecture +# 下载适用于 ARM64 架构的二进制文件 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-latest-linux-arm64-mainnet.tar.gz -# Extract and install +# 解压并安装 tar -xvzf stabled-latest-linux-arm64-mainnet.tar.gz sudo mv stabled /usr/bin/ -# Verify installation +# 验证安装 stabled version ``` @@ -56,41 +56,41 @@ stabled version #### Linux AMD64 ```bash -# Download the latest binary for AMD64 architecture +# 下载适用于 AMD64 架构的最新二进制文件 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/binary/stabled-latest-linux-amd64-testnet.tar.gz -# Extract the archive +# 解压文件 tar -xvzf stabled-latest-linux-amd64-testnet.tar.gz -# Move binary to system path +# 将二进制文件移动到系统路径 sudo mv stabled /usr/bin/ -# Verify installation +# 验证安装 stabled version ``` #### Linux ARM64 ```bash -# Download the binary for ARM64 architecture +# 下载适用于 ARM64 架构的二进制文件 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/binary/stabled-latest-linux-arm64-testnet.tar.gz -# Extract and install +# 解压并安装 tar -xvzf stabled-latest-linux-arm64-testnet.tar.gz sudo mv stabled /usr/bin/ -# Verify installation +# 验证安装 stabled version ``` ## 节点初始化 -安装二进制文件后,初始化你的节点: +安装二进制文件后,初始化您的节点: ### 步骤 1:设置节点名称 ```bash -# Set your node's moniker (choose a unique name) +# 设置您的节点别名(选择一个唯一的名称) export MONIKER="your-node-name" ``` @@ -99,57 +99,57 @@ export MONIKER="your-node-name" ### 主网 ```bash -# Initialize with the mainnet chain ID +# 使用主网链 ID 初始化 stabled init $MONIKER --chain-id stable_988-1 -# This creates the configuration directory at ~/.stabled/ +# 这将在 ~/.stabled/ 创建配置目录 ``` -> **注意**:有关包括 chain ID 在内的当前网络参数,请参阅[主网信息](/cn/reference/mainnet-information) +> **注意**:有关当前网络参数(包括链 ID),请参阅 [主网信息](/cn/reference/mainnet-information) ### 测试网 ```bash -# Initialize with the testnet chain ID +# 使用测试网链 ID 初始化 stabled init $MONIKER --chain-id stabletestnet_2201-1 -# This creates the configuration directory at ~/.stabled/ +# 这将在 ~/.stabled/ 创建配置目录 ``` -> **注意**:有关包括 chain ID 在内的当前网络参数,请参阅[测试网信息](/cn/reference/testnet-information) +> **注意**:有关当前网络参数(包括链 ID),请参阅 [测试网信息](/cn/reference/testnet-information) ### 步骤 3:下载创世文件 :::code-group ```bash [Mainnet] -# Create backup of default genesis +# 备份默认创世文件 mv ~/.stabled/config/genesis.json ~/.stabled/config/genesis.json.backup -# Download mainnet genesis +# 下载主网创世文件 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/configuration/genesis.zip unzip genesis.zip -# Move genesis to config directory +# 将创世文件移动到配置目录 cp genesis.json ~/.stabled/config/genesis.json -# Verify genesis checksum +# 验证创世文件校验和 sha256sum ~/.stabled/config/genesis.json -# Expected: e1ceda79a3cc48a1028ca8646a2e9e2d156f610637cfb8b428ca8354277921f1 +# 预期值: e1ceda79a3cc48a1028ca8646a2e9e2d156f610637cfb8b428ca8354277921f1 ``` ```bash [Testnet] -# Create backup of default genesis +# 备份默认创世文件 mv ~/.stabled/config/genesis.json ~/.stabled/config/genesis.json.backup -# Download testnet genesis +# 下载测试网创世文件 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/configuration/genesis.zip unzip genesis.zip -# Move genesis to config directory +# 将创世文件移动到配置目录 cp genesis.json ~/.stabled/config/genesis.json -# Verify genesis checksum +# 验证创世文件校验和 sha256sum ~/.stabled/config/genesis.json -# Expected: 66afbb6e57e6faf019b3021de299125cddab61d433f28894db751252f5b8eaf2 +# 预期值: 66afbb6e57e6faf019b3021de299125cddab61d433f28894db751252f5b8eaf2 ``` ::: @@ -159,46 +159,46 @@ sha256sum ~/.stabled/config/genesis.json :::code-group ```bash [Mainnet] -# Download optimized configuration (choose one based on your node type) -# For RPC/Full nodes: +# 下载优化配置(根据您的节点类型选择一个) +# 适用于 RPC/全节点: wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/configuration/rpc_node_config.zip unzip rpc_node_config.zip -# For Archive nodes: +# 适用于归档节点: # wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/configuration/archive_node_config.zip # unzip archive_node_config.zip -# Backup original config +# 备份原始配置 cp ~/.stabled/config/config.toml ~/.stabled/config/config.toml.backup -# Apply new configuration +# 应用新配置 cp config.toml ~/.stabled/config/config.toml -# Update moniker in config +# 更新配置中的别名 sed -i "s/^moniker = \".*\"/moniker = \"$MONIKER\"/" ~/.stabled/config/config.toml ``` ```bash [Testnet] -# Download optimized configuration +# 下载优化配置 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/configuration/rpc_node_config.zip unzip rpc_node_config.zip -# Backup original config +# 备份原始配置 cp ~/.stabled/config/config.toml ~/.stabled/config/config.toml.backup -# Apply new configuration +# 应用新配置 cp config.toml ~/.stabled/config/config.toml -# Update moniker in config +# 更新配置中的别名 sed -i "s/^moniker = \".*\"/moniker = \"$MONIKER\"/" ~/.stabled/config/config.toml ``` ::: -#### 必要的配置更新 +#### 基本配置更新 编辑 `~/.stabled/config/app.toml`: ```toml -# Enable JSON-RPC for EVM compatibility +# 启用 JSON-RPC 以实现 EVM 兼容性 [json-rpc] enable = true address = "0.0.0.0:8545" @@ -210,64 +210,64 @@ allow-unprotected-txs = true :::code-group ```toml [Mainnet] -# P2P Configuration +# P2P 配置 [p2p] -# Maximum number of peers +# 最大对等节点数 max_num_inbound_peers = 50 max_num_outbound_peers = 30 -# Seed nodes -seeds = "9aa181b20248e948567cb47a15eae35d58cd549d@seed1.stable.xyz:46656" +# 种子节点 +seeds = "c21897d374c480a963edcda941ac94030895f6b4@seed1.stable.xyz:46656" -# Persistent peers (mainnet seed nodes) +# 持久对等节点 (主网种子节点) persistent_peers = "b896f6f8ca5a4d1cc40de09407df0c96e76df950@peer1.stable.xyz:26656" -# Enable peer exchange +# 启用对等节点交换 pex = true -# RPC Configuration +# RPC 配置 [rpc] -# Listen address +# 监听地址 laddr = "tcp://0.0.0.0:26657" -# Maximum number of simultaneous connections +# 同时连接的最大数量 max_open_connections = 900 -# CORS settings (adjust for production) +# CORS 设置 (生产环境请调整) cors_allowed_origins = ["*"] ``` ```toml [Testnet] -# P2P Configuration +# P2P 配置 [p2p] -# Maximum number of peers +# 最大对等节点数 max_num_inbound_peers = 50 max_num_outbound_peers = 30 -# Seed nodes -seeds = "6f3195823f7e5ee6f911a0a0ceb9ea689e0dc5bd@seed1.testnet.stable.xyz:56656" +# 种子节点 +seeds = "8c2ede57b763c2976253f880a27c6f85756e1f1b@seed1.testnet.stable.xyz:56656" -# Persistent peers (testnet seed nodes) +# 持久对等节点 (测试网种子节点) persistent_peers = "128accd3e8ee379bfdf54560c21345451c7048c7@peer1.testnet.stable.xyz:26656" -# Enable peer exchange +# 启用对等节点交换 pex = true -# RPC Configuration +# RPC 配置 [rpc] -# Listen address +# 监听地址 laddr = "tcp://0.0.0.0:26657" -# Maximum number of simultaneous connections +# 同时连接的最大数量 max_open_connections = 900 -# CORS settings (adjust for production) +# CORS 设置 (生产环境请调整) cors_allowed_origins = ["*"] ``` ::: ## Systemd 服务设置 -创建一个 systemd 服务以实现自动管理: +创建 systemd 服务以进行自动管理: ### 步骤 1:创建服务文件 @@ -317,45 +317,45 @@ EOF ### 步骤 2:启用并启动服务 ```bash -# Reload systemd configuration +# 重新加载 systemd 配置 sudo systemctl daemon-reload -# Enable service to start on boot +# 启用服务在启动时运行 sudo systemctl enable stabled -# Start the service +# 启动服务 sudo systemctl start stabled -# Check service status +# 检查服务状态 sudo systemctl status stabled -# View logs +# 查看日志 sudo journalctl -u stabled -f ``` ## Cosmovisor 设置(推荐用于自动升级) -Cosmovisor 是一个进程管理器,可自动处理链升级。这是生产节点的推荐设置。 +Cosmovisor 是一个进程管理器,可以自动处理链升级。这是生产节点的推荐设置。 ### 步骤 1:安装 Cosmovisor ```bash -# Install Cosmovisor +# 安装 Cosmovisor go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@latest -# Or download pre-built binary +# 或下载预编译二进制文件 wget https://github.com/cosmos/cosmos-sdk/releases/download/cosmovisor%2Fv1.7.0/cosmovisor-v1.7.0-linux-amd64.tar.gz tar -xvzf cosmovisor-v1.7.0-linux-amd64.tar.gz sudo mv cosmovisor /usr/bin/ -# Verify installation +# 验证安装 cosmovisor version ``` ### 步骤 2:设置环境变量 ```bash -# Add to ~/.bashrc or ~/.profile +# 添加到 ~/.bashrc 或 ~/.profile echo "# Cosmovisor Configuration" >> ~/.bashrc echo "export DAEMON_NAME=stabled" >> ~/.bashrc echo "export DAEMON_HOME=$HOME/.stabled" >> ~/.bashrc @@ -364,7 +364,7 @@ echo "export DAEMON_RESTART_AFTER_UPGRADE=true" >> ~/.bashrc echo "export DAEMON_LOG_BUFFER_SIZE=512" >> ~/.bashrc echo "export UNSAFE_SKIP_BACKUP=true" >> ~/.bashrc -# Load variables +# 加载变量 source ~/.bashrc ``` @@ -372,17 +372,17 @@ source ~/.bashrc ### 步骤 3:设置 Cosmovisor 目录结构 ```bash -# Create cosmovisor directory structure +# 创建 cosmovisor 目录结构 mkdir -p ~/.stabled/cosmovisor/genesis/bin mkdir -p ~/.stabled/cosmovisor/upgrades -# Copy current binary to genesis +# 将当前二进制文件复制到 genesis cp /usr/bin/stabled ~/.stabled/cosmovisor/genesis/bin/ -# Create current symlink +# 创建当前软链接 ln -s ~/.stabled/cosmovisor/genesis ~/.stabled/cosmovisor/current -# Verify setup +# 验证设置 ls -la ~/.stabled/cosmovisor/ cosmovisor run version ``` @@ -390,7 +390,7 @@ cosmovisor run version ### 步骤 4:设置环境变量 ```bash -# Set service name (default: stable) +# 设置服务名称(默认:stable) export SERVICE_NAME=stable ``` @@ -454,68 +454,68 @@ EOF ### 步骤 6:启用并启动服务 ```bash -# Reload systemd +# 重新加载 systemd sudo systemctl daemon-reload -# Enable service +# 启用服务 sudo systemctl enable ${SERVICE_NAME} -# Start the service +# 启动服务 sudo systemctl start ${SERVICE_NAME} -# Check status +# 检查状态 sudo systemctl status ${SERVICE_NAME} -# View logs +# 查看日志 sudo journalctl -u ${SERVICE_NAME} -f ``` ### 准备升级 -当链升级公布时: +当链升级宣布时: ```bash -# Example: Preparing for v0.8.0 upgrade +# 示例:准备 v0.8.0 升级 UPGRADE_NAME="v0.8.0" mkdir -p ~/.stabled/cosmovisor/upgrades/$UPGRADE_NAME/bin -# Download new binary +# 下载新二进制文件 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/binary/stabled-0.8.0-linux-amd64-testnet.tar.gz tar -xvzf stabled-0.8.0-linux-amd64-testnet.tar.gz -# Place in upgrade directory +# 放置在升级目录中 mv stabled ~/.stabled/cosmovisor/upgrades/$UPGRADE_NAME/bin/ -# Verify the binary +# 验证二进制文件 ~/.stabled/cosmovisor/upgrades/$UPGRADE_NAME/bin/stabled version -# Cosmovisor will automatically switch to this binary at the upgrade height +# Cosmovisor 将在升级高度自动切换到此二进制文件 ``` ### 监控 Cosmovisor ```bash -# Check current binary version +# 检查当前二进制版本 cosmovisor run version -# View upgrade info +# 查看升级信息 ls -la ~/.stabled/cosmovisor/upgrades/ -# Check service logs for upgrade status +# 检查服务日志以获取升级状态 sudo journalctl -u ${SERVICE_NAME} | grep -i upgrade -# Monitor real-time logs during upgrade +# 在升级期间监控实时日志 sudo journalctl -u ${SERVICE_NAME} -f ``` ## 手动 Systemd 服务设置(替代方案) -如果你不想使用 Cosmovisor,可以创建一个标准的 systemd 服务: +如果您不想使用 Cosmovisor,可以创建一个标准的 systemd 服务: ### 步骤 1:设置环境变量 ```bash -# Set service name (default: stable) +# 设置服务名称(默认:stable) export SERVICE_NAME=stable ``` @@ -567,85 +567,85 @@ EOF ### 步骤 3:启用并启动服务 ```bash -# Reload systemd configuration +# 重新加载 systemd 配置 sudo systemctl daemon-reload -# Enable service to start on boot +# 启用服务在启动时运行 sudo systemctl enable ${SERVICE_NAME} -# Start the service +# 启动服务 sudo systemctl start ${SERVICE_NAME} -# Check service status +# 检查服务状态 sudo systemctl status ${SERVICE_NAME} -# View logs +# 查看日志 sudo journalctl -u ${SERVICE_NAME} -f ``` ## 快速同步选项 -如需更快的同步,请参阅[快照与同步指南](/cn/how-to/use-node-snapshots),了解: +为了更快地同步,请参阅 [快照和同步指南](/cn/how-to/use-node-snapshots),了解: - 归档节点快照 -- 修剪节点快照 +- 剪枝节点快照 ## 安装后验证 ### 检查节点状态 ```bash -# Check if node is running +# 检查节点是否正在运行 sudo systemctl status stabled -# Check sync status +# 检查同步状态 curl -s localhost:26657/status | jq '.result.sync_info' -# Check connected peers +# 检查连接的对等节点 curl -s localhost:26657/net_info | jq '.result.n_peers' -# Check latest block +# 检查最新区块 curl -s localhost:26657/status | jq '.result.sync_info.latest_block_height' ``` ### 监控日志 ```bash -# Follow service logs +# 跟踪服务日志 sudo journalctl -u stabled -f -# Check for errors +# 检查错误 sudo journalctl -u stabled --since "1 hour ago" | grep -i error -# Check for peer connections +# 检查对等节点连接 sudo journalctl -u stabled --since "10 minutes ago" | grep -i "peer" ``` -## 安全加固 +## 安全强化 -安装后,保护你的节点: +安装后,请保护您的节点: ### 防火墙配置 ```bash -# Configure UFW +# 配置 UFW sudo ufw allow 22/tcp # SSH sudo ufw allow 26656/tcp # P2P -sudo ufw allow 26657/tcp # RPC (only if needed externally) +sudo ufw allow 26657/tcp # RPC (仅当外部需要时) sudo ufw enable ``` -## 后续步骤 +## 下一步 -1. **配置你的节点**:参阅[配置指南](/cn/reference/node-configuration) -2. **加速同步**:查看[快照与同步](/cn/how-to/use-node-snapshots) -3. **监控你的节点**:设置[监控](/cn/how-to/monitor-node) -4. **加入社区**:在 [Discord](https://discord.gg/stablexyz) 获取支持 +1. **配置您的节点**:参阅 [配置指南](/cn/reference/node-configuration) +2. **加速同步**:查看 [快照和同步](/cn/how-to/use-node-snapshots) +3. **监控您的节点**:设置 [监控](/cn/how-to/monitor-node) +4. **加入社区**:在 [Discord](https://discord.gg/stablexyz) 中获取支持 ## 故障排除 -如果你在安装过程中遇到问题: -- 查看[故障排除指南](/cn/how-to/troubleshoot-node) +如果您在安装过程中遇到问题: +- 查阅 [故障排除指南](/cn/how-to/troubleshoot-node) - 验证是否满足系统要求 - 确保端口未被防火墙阻止 - 检查磁盘空间和权限 -- 查看 systemd 日志中的错误 +- 检查 systemd 日志中的错误 diff --git a/docs/pages/cn/reference/mainnet-version-history.mdx b/docs/pages/cn/reference/mainnet-version-history.mdx index 8c8b53d..df8621d 100755 --- a/docs/pages/cn/reference/mainnet-version-history.mdx +++ b/docs/pages/cn/reference/mainnet-version-history.mdx @@ -1,6 +1,6 @@ --- source_path: reference/mainnet-version-history.mdx -source_sha: 2017906b5ccdd54eca64c29f6388ee04bb29f2e4 +source_sha: 8e3c3b5692d07f9d5e3126ac86c245aa52f013ef title: 版本历史 description: "Stable 主网的版本历史和升级计划。" diataxis: "reference" @@ -12,18 +12,19 @@ Stable 主网的完整版本历史和相关文档。 ## 当前版本信息 -- **当前版本**:`v1.3.2` -- **下一次升级**:`待定` -- **升级高度**:`待定` -- **预计时间**:`待定` +- **当前版本**: `v1.3.3` +- **下一次升级**: `待定` +- **升级高度**: `待定` +- **预计时间**: `待定` ## 版本历史 -### 当前和以前的版本 +### 当前及以前版本 | 版本 | 提交 | 升级高度 | 二进制文件 | 状态 | -|---------|--------|----------------|--------|---------------| -| **v1.3.2** | `5d1fb52` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-arm64-mainnet.tar.gz) | 当前 | +|---------|--------|----------------|--------|-------------------------------| +| **v1.3.3** | `ea8df7c` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.3-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.3-linux-arm64-mainnet.tar.gz) | 当前 | +| **v1.3.2** | `5d1fb52` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-arm64-mainnet.tar.gz) | | | **v1.3.1** | `f85d155` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.1-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.1-linux-arm64-mainnet.tar.gz) | | | **v1.3.0** | `dd103ec` | 24,077,500 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.0-linux-arm64-mainnet.tar.gz) | | | **v1.2.2** | `76da1da` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.2-linux-arm64-mainnet.tar.gz) | | @@ -32,9 +33,9 @@ Stable 主网的完整版本历史和相关文档。 | **v1.1.4** | `c795773` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.4-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.4-linux-arm64-mainnet.tar.gz) | | | **v1.1.2** | `3d83aa3` | 3,263,600 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.2-linux-arm64-mainnet.tar.gz) | | | **v1.1.0** | `17ceaa7` | 1,694,000 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.0-linux-arm64-mainnet.tar.gz) | | -| **v1.0.0** | `d996084` | 创世 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.0.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.0.0-linux-arm64-mainnet.tar.gz) | 创世 | +| **v1.0.0** | `d996084` | 创世块 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.0.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.0.0-linux-arm64-mainnet.tar.gz) | 创世块 | ## 相关文档 - [升级指南](/cn/how-to/upgrade-node) - 分步升级程序 -- [主网信息](/cn/reference/mainnet-information) - 当前网络详细信息 +- [主网信息](/cn/reference/mainnet-information) - 当前网络详情 diff --git a/docs/pages/cn/reference/node-configuration.mdx b/docs/pages/cn/reference/node-configuration.mdx index 58cb832..beb3db1 100755 --- a/docs/pages/cn/reference/node-configuration.mdx +++ b/docs/pages/cn/reference/node-configuration.mdx @@ -1,20 +1,20 @@ --- source_path: reference/node-configuration.mdx -source_sha: b8b008a5ecbc30001cc5c5e528092a14410f2763 +source_sha: 49a919754b40175fac45e1d6a2c5986a555e7dab title: 节点配置指南 -description: "Stable 验证者节点和全节点上 config.toml 和 app.toml 设置的配置参考。" +description: "Stable 验证器节点和全节点的 config.toml 和 app.toml 配置设置参考。" diataxis: "reference" tag: "new" --- -本指南涵盖 Stable 节点的所有配置选项,包括针对不同使用场景的优化。 +本指南涵盖 Stable 节点的所有配置选项,包括针对不同用例的优化。 ## 配置文件概述 -Stable 节点使用两个主要配置文件: +Stable 节点使用两个主要的配置文件: -- **`config.toml`**:核心 StableBFT 配置 -- **`app.toml`**:应用程序专属配置 +- **`config.toml`**: 核心 StableBFT 配置 +- **`app.toml`**: 应用程序特定配置 这两个文件都位于 `~/.stabled/config/` @@ -24,23 +24,23 @@ Stable 节点使用两个主要配置文件: :::code-group ```toml [Mainnet] -# The ID of the chain to join +# 要加入的链 ID chain_id = "stable_988-1" -# A custom human-readable name for this node +# 此节点的自定义可读名称 moniker = "your-node-name" -# Database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb +# 数据库后端: goleveldb | cleveldb | boltdb | rocksdb | badgerdb db_backend = "goleveldb" ``` ```toml [Testnet] -# The ID of the chain to join +# 要加入的链 ID chain_id = "stabletestnet_2201-1" -# A custom human-readable name for this node +# 此节点的自定义可读名称 moniker = "your-node-name" -# Database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb +# 数据库后端: goleveldb | cleveldb | boltdb | rocksdb | badgerdb db_backend = "goleveldb" ``` ::: @@ -50,64 +50,64 @@ db_backend = "goleveldb" :::code-group ```toml [Mainnet] [p2p] -# Address to listen for incoming connections +# 监听传入连接的地址 laddr = "tcp://0.0.0.0:26656" -# Address to advertise to peers for them to dial +# 向对等节点广播的地址,以便它们拨号 external_address = "YOUR_PUBLIC_IP:26656" -# Comma separated list of seed nodes -seeds = "17a539fda42863a99755547e1c9b3ec4c38a4439@seed1.stable.xyz:26656" +# 种子节点列表,逗号分隔 +seeds = "c21897d374c480a963edcda941ac94030895f6b4@seed1.stable.xyz:46656" -# Comma separated list of persistent peers +# 持久对等节点列表,逗号分隔 persistent_peers = "b896f6f8ca5a4d1cc40de09407df0c96e76df950@peer1.stable.xyz:26656" ``` ```toml [Testnet] [p2p] -# Address to listen for incoming connections +# 监听传入连接的地址 laddr = "tcp://0.0.0.0:26656" -# Address to advertise to peers for them to dial +# 向对等节点广播的地址,以便它们拨号 external_address = "YOUR_PUBLIC_IP:26656" -# Comma separated list of seed nodes -seeds = "39e061b167162f6621ddadcf1be21d6fa585a468@seed1.testnet.stable.xyz:26656" +# 种子节点列表,逗号分隔 +seeds = "8c2ede57b763c2976253f880a27c6f85756e1f1b@seed1.testnet.stable.xyz:56656" -# Comma separated list of persistent peers +# 持久对等节点列表,逗号分隔 persistent_peers = "5ed0f977a26ccf290e184e364fb04e268ef16430@peer1.testnet.stable.xyz:26656" ``` ::: -其他 P2P 设置(两个网络相同): +附加 P2P 设置(两个网络相同): ```toml -# Maximum number of inbound peers +# 入站对等节点的最大数量 max_num_inbound_peers = 50 -# Maximum number of outbound peers +# 出站对等节点的最大数量 max_num_outbound_peers = 30 -# Toggle to disable guard against peers connecting from the same ip +# 切换以禁用防止对等节点从相同 IP 连接的保护 allow_duplicate_ip = false -# Peer connection configuration +# 对等节点连接配置 handshake_timeout = "20s" dial_timeout = "3s" -# Time to wait before flushing messages out on the connection +# 在连接上刷新消息之前的等待时间 flush_throttle_timeout = "100ms" -# Maximum size of a message packet payload +# 消息包载荷的最大大小 max_packet_msg_payload_size = 1024 -# Rate limiting +# 速率限制 send_rate = 5120000 # 5 MB/s recv_rate = 5120000 # 5 MB/s -# Seed mode (for seed nodes only) +# 种子模式(仅适用于种子节点) seed_mode = false -# Enable peer exchange reactor +# 启用对等节点交换反应器 pex = true ``` @@ -115,43 +115,43 @@ pex = true ```toml [rpc] -# TCP or UNIX socket address for the RPC server +# RPC 服务器的 TCP 或 UNIX 套接字地址 laddr = "tcp://127.0.0.1:26657" -# A list of origins a cross-domain request can be executed from +# 允许执行跨域请求的来源列表 cors_allowed_origins = ["*"] -# A list of methods the client is allowed to use with cross-domain requests +# 客户端允许与跨域请求一起使用的方法列表 cors_allowed_methods = ["HEAD", "GET", "POST"] -# A list of non simple headers the client is allowed to use with cross-domain requests +# 客户端允许与跨域请求一起使用的非简单头列表 cors_allowed_headers = ["Origin", "Accept", "Content-Type", "X-Requested-With", "X-Server-Time"] -# TCP or UNIX socket address for the gRPC server +# gRPC 服务器的 TCP 或 UNIX 套接字地址 grpc_laddr = "tcp://127.0.0.1:9090" -# Maximum number of simultaneous connections +# 同时连接的最大数量 grpc_max_open_connections = 900 -# Activate unsafe RPC commands like /dial_seeds and /unsafe_flush_mempool +# 激活不安全的 RPC 命令,如 /dial_seeds 和 /unsafe_flush_mempool unsafe = false -# Maximum number of simultaneous connections (including WebSocket) +# 同时连接的最大数量(包括 WebSocket) max_open_connections = 900 -# Maximum number of unique clientIDs that can connect +# 可以连接的唯一 clientID 的最大数量 max_subscription_clients = 100 -# Maximum number of unique queries a given client can subscribe to +# 给定客户端可以订阅的唯一查询的最大数量 max_subscriptions_per_client = 5 -# How long to wait for a tx to be committed +# 等待 tx 提交的时间 timeout_broadcast_tx_commit = "10s" -# Maximum size of request body +# 请求正文的最大大小 max_body_bytes = 1000000 -# Maximum size of request header +# 请求头的最大大小 max_header_bytes = 1048576 ``` @@ -159,31 +159,31 @@ max_header_bytes = 1048576 ```toml [mempool] -# Mempool version to use +# 要使用的内存池版本 version = "v1" -# Recheck enabled +# 重新检查已启用 recheck = true -# Broadcast enabled +# 广播已启用 broadcast = true -# Maximum number of transactions in the mempool +# 内存池中的最大交易数量 size = 3000 -# Limit the total size of all txs in the mempool +# 限制内存池中所有 tx 的总大小 max_txs_bytes = 1073741824 # 1GB -# Size of the cache +# 缓存大小 cache_size = 10000 -# Do not remove invalid transactions from the cache +# 不要从缓存中删除无效交易 keep-invalid-txs-in-cache = false -# Maximum size of a single transaction +# 单笔交易的最大大小 max_tx_bytes = 1048576 # 1MB -# Maximum size of a batch of transactions to send to a peer +# 发送给对等节点的交易批次的最大大小 max_batch_bytes = 0 ``` @@ -191,35 +191,35 @@ max_batch_bytes = 0 ```toml [consensus] -# How long we wait for a proposal block before prevoting nil +# 在预投票空之前,我们等待提议区块的时间 timeout_propose = "5s" -# How much timeout_propose increases with each round +# 每个回合 timeout_propose 增加的量 timeout_propose_delta = "10ms" -# How long we wait after receiving +2/3 prevotes +# 收到 +2/3 预投票后等待的时间 timeout_prevote = "150ms" -# How much the timeout_prevote increases with each round +# 每个回合 timeout_prevote 增加的量 timeout_prevote_delta = "10ms" -# How long we wait after receiving +2/3 precommits +# 收到 +2/3 预提交后等待的时间 timeout_precommit = "150s" -# How much the timeout_precommit increases with each round +# 每个回合 timeout_precommit 增加的量 timeout_precommit_delta = "10ms" -# Make progress as soon as we have all the precommits +# 一旦我们收到所有预提交,就立即取得进展 skip_timeout_commit = false -# Enable/disable double sign check +# 启用/禁用双重签名检查 double_sign_check_height = 2 -# EmptyBlocks mode +# 空区块模式 create_empty_blocks = true create_empty_blocks_interval = "0s" -# Reactor sleep duration +# Reactor 睡眠时长 peer_gossip_sleep_duration = "100ms" peer_query_maj23_sleep_duration = "2s" ``` @@ -229,25 +229,25 @@ peer_query_maj23_sleep_duration = "2s" ### 基本应用程序设置 ```toml -# Pruning strategy +# 修剪策略 pruning = "default" -# HaltHeight contains a non-zero block height at which a node will halt +# HaltHeight 包含一个非零区块高度,在该高度节点将停止 halt-height = 0 -# HaltTime contains a non-zero time at which a node will halt +# HaltTime 包含一个非零时间,在该时间节点将停止 halt-time = 0 -# MinRetainBlocks defines the number of blocks for which a node will retain +# MinRetainBlocks 定义了节点将保留的区块数量 min-retain-blocks = 0 -# InterBlockCache enables inter-block caching +# InterBlockCache 启用区块间缓存 inter-block-cache = true -# IndexEvents defines the set of events in the form {eventType}.{attributeKey} +# IndexEvents 定义了以 {eventType}.{attributeKey} 形式的事件集 index-events = [] -# IavlCacheSize set the size of the iavl tree cache +# IavlCacheSize 设置 iavl 树缓存的大小 iavl-cache-size = 781250 ``` @@ -255,19 +255,19 @@ iavl-cache-size = 781250 ```toml [api] -# Enable defines if the API server should be enabled +# Enable 定义是否应启用 API 服务器 enable = true -# Swagger defines if swagger documentation should automatically be registered +# Swagger 定义是否应自动注册 swagger 文档 swagger = true -# Address defines the API server to listen on +# Address 定义 API 服务器监听的地址 address = "tcp://0.0.0.0:1317" -# MaxOpenConnections defines the number of maximum open connections +# MaxOpenConnections 定义最大打开连接数 max-open-connections = 1000 -# EnabledUnsafeCORS defines if CORS should be enabled +# EnabledUnsafeCORS 定义是否应启用 CORS enabled-unsafe-cors = true ``` @@ -275,10 +275,10 @@ enabled-unsafe-cors = true ```toml [grpc] -# Enable defines if the gRPC server should be enabled +# Enable 定义是否应启用 gRPC 服务器 enable = true -# Address defines the gRPC server address to bind to +# Address 定义 gRPC 服务器绑定的地址 address = "0.0.0.0:9090" ``` @@ -287,84 +287,84 @@ address = "0.0.0.0:9090" ```toml [json-rpc] -# Enable the JSON-RPC server +# 启用 JSON-RPC 服务器 enable = true -# Address to bind the JSON-RPC server +# 绑定 JSON-RPC 服务器的地址 address = "0.0.0.0:8545" -# Address to bind the WebSocket server +# 绑定 WebSocket 服务器的地址 ws-address = "0.0.0.0:8546" -# APIs to enable +# 启用的 API api = "eth,net,web3,txpool,personal,debug" -# Gas cap for eth_call/estimateGas +# eth_call/estimateGas 的 gas 上限 gas-cap = 25000000 -# EVM timeout for eth_call/estimateGas +# eth_call/estimateGas 的 EVM 超时 evm-timeout = "5s" -# Tx fee cap for transactions +# 交易的 Tx 费用上限 txfee-cap = 1 -# Filter cap for eth_getLogs +# eth_getLogs 的过滤器上限 filter-cap = 200 -# FeeHistory cap +# FeeHistory 上限 feehistory-cap = 100 -# Block range cap for eth_getLogs +# eth_getLogs 的区块范围上限 logs-cap = 10000 -# Block range cap +# 区块范围上限 block-range-cap = 10000 -# HTTP timeout +# HTTP 超时 http-timeout = "30s" -# HTTP idle timeout +# HTTP 空闲超时 http-idle-timeout = "120s" -# Allow unprotected transactions +# 允许未受保护的交易 allow-unprotected-txs = true -# Maximum number of transactions in the pool +# 内存池中交易的最大数量 max-tx-in-pool = 3000 -# Enable indexer +# 启用索引器 enable-indexer = false -# Enable metrics +# 启用指标 metrics = true ``` -## 配置方案 +## 配置配置文件 ### 全节点(默认) -适用于全节点的均衡配置: +全节点的平衡配置: ```bash -# config.toml adjustments +# config.toml 调整 sed -i 's/^indexer = ".*"/indexer = "kv"/' ~/.stabled/config/config.toml sed -i 's/^max_num_inbound_peers = .*/max_num_inbound_peers = 50/' ~/.stabled/config/config.toml sed -i 's/^max_num_outbound_peers = .*/max_num_outbound_peers = 30/' ~/.stabled/config/config.toml -# app.toml adjustments +# app.toml 调整 sed -i 's/^pruning = ".*"/pruning = "default"/' ~/.stabled/config/app.toml sed -i 's/^snapshot-interval = .*/snapshot-interval = 1000/' ~/.stabled/config/app.toml ``` ### 归档节点 -不进行修剪,保留完整历史记录: +不修剪,完整历史记录: ```bash -# config.toml adjustments +# config.toml 调整 sed -i 's/^indexer = ".*"/indexer = "kv"/' ~/.stabled/config/config.toml -# app.toml adjustments +# app.toml 调整 sed -i 's/^pruning = ".*"/pruning = "nothing"/' ~/.stabled/config/app.toml ``` @@ -373,12 +373,12 @@ sed -i 's/^pruning = ".*"/pruning = "nothing"/' ~/.stabled/config/app.toml 公共 RPC 端点配置: ```bash -# config.toml adjustments +# config.toml 调整 sed -i 's/^max_num_inbound_peers = .*/max_num_inbound_peers = 30/' ~/.stabled/config/config.toml sed -i 's/^max_open_connections = .*/max_open_connections = 30/' ~/.stabled/config/config.toml sed -i 's/^cors_allowed_origins = .*/cors_allowed_origins = ["*"]/' ~/.stabled/config/config.toml -# app.toml adjustments +# app.toml 调整 sed -i 's/^enable = .*/enable = true/' ~/.stabled/config/app.toml sed -i 's/^swagger = .*/swagger = true/' ~/.stabled/config/app.toml sed -i 's/^enabled-unsafe-cors = .*/enabled-unsafe-cors = true/' ~/.stabled/config/app.toml @@ -392,13 +392,13 @@ sed -i 's/^enabled-unsafe-cors = .*/enabled-unsafe-cors = true/' ~/.stabled/conf ```toml # config.toml [instrumentation] -# Enable Prometheus metrics +# 启用 Prometheus 指标 prometheus = true -# Metrics listen address +# 指标监听地址 prometheus_listen_addr = ":26660" -# Namespace for metrics +# 指标命名空间 namespace = "stablebft" ``` @@ -407,10 +407,10 @@ namespace = "stablebft" ```toml # config.toml [log] -# Log level (trace|debug|info|warn|error|fatal|panic) +# 日志级别 (trace|debug|info|warn|error|fatal|panic) level = "info" -# Log format (plain|json) +# 日志格式 (plain|json) format = "plain" ``` @@ -419,17 +419,17 @@ format = "plain" 进行配置更改后: ```bash -# Restart the node +# 重启节点 sudo systemctl restart ${SERVICE_NAME} -# Check logs for errors +# 检查日志中的错误 sudo journalctl -u ${SERVICE_NAME} -f -# Verify configuration loaded +# 验证加载的配置 curl localhost:26657/status | jq '.result.node_info' ``` ## 后续步骤 - 为您的节点[设置监控](/cn/how-to/monitor-node) -- 查阅[故障排除指南](/cn/how-to/troubleshoot-node)以了解常见问题 +- 查看[故障排除指南](/cn/how-to/troubleshoot-node)以解决常见问题 diff --git a/docs/pages/ko/how-to/install-node.mdx b/docs/pages/ko/how-to/install-node.mdx index 9ddd47f..37b8c2a 100755 --- a/docs/pages/ko/how-to/install-node.mdx +++ b/docs/pages/ko/how-to/install-node.mdx @@ -1,53 +1,53 @@ --- source_path: how-to/install-node.mdx -source_sha: 9dfb0333d9152dfd5083da30d4c5e7c0597f091d +source_sha: b3d203ef94d492fda0206e9c1f6797c50a09be8f title: 설치 가이드 -description: "사전 컴파일된 릴리스를 사용하여 Linux에서 Stable 노드 바이너리를 설치하는 단계별 가이드입니다." +description: "사전 컴파일된 릴리스를 사용하여 Linux에 Stable 노드 바이너리를 설치하기 위한 단계별 가이드입니다." diataxis: "how-to" --- -이 가이드는 다양한 플랫폼에서 Stable 노드를 설치하고 설정하기 위한 자세한 지침을 제공합니다. +이 가이드에서는 다양한 플랫폼에 Stable 노드를 설치하고 설정하는 방법에 대한 자세한 지침을 제공합니다. -## 사전 요구 사항 +## 전제 조건 -설치를 시작하기 전에 다음 사항을 확인하세요: -- 모든 [시스템 요구 사항](/ko/reference/node-system-requirements)을 충족함 -- 서버에 대한 root 또는 sudo 액세스 권한 +설치를 시작하기 전에 다음 사항을 확인하십시오. +- 모든 [시스템 요구 사항](/ko/reference/node-system-requirements) 충족 +- 서버에 대한 루트 또는 sudo 접근 권한 - Linux 명령줄에 대한 기본 지식 ## 설치 방법 -플랫폼에 맞는 사전 컴파일된 바이너리를 사용하세요. Stable은 현재 소스에서 빌드하는 것을 지원하지 않습니다. +플랫폼에 맞는 사전 컴파일된 바이너리를 사용하십시오. Stable은 현재 소스 빌드를 지원하지 않습니다. ### 메인넷 #### Linux AMD64 ```bash -# Download the latest binary for AMD64 architecture +# AMD64 아키텍처용 최신 바이너리 다운로드 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-latest-linux-amd64-mainnet.tar.gz -# Extract the archive +# 아카이브 압축 해제 tar -xvzf stabled-latest-linux-amd64-mainnet.tar.gz -# Move binary to system path +# 바이너리를 시스템 경로로 이동 sudo mv stabled /usr/bin/ -# Verify installation +# 설치 확인 stabled version ``` #### Linux ARM64 ```bash -# Download the binary for ARM64 architecture +# ARM64 아키텍처용 바이너리 다운로드 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-latest-linux-arm64-mainnet.tar.gz -# Extract and install +# 압축 해제 및 설치 tar -xvzf stabled-latest-linux-arm64-mainnet.tar.gz sudo mv stabled /usr/bin/ -# Verify installation +# 설치 확인 stabled version ``` @@ -56,41 +56,41 @@ stabled version #### Linux AMD64 ```bash -# Download the latest binary for AMD64 architecture +# AMD64 아키텍처용 최신 바이너리 다운로드 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/binary/stabled-latest-linux-amd64-testnet.tar.gz -# Extract the archive +# 아카이브 압축 해제 tar -xvzf stabled-latest-linux-amd64-testnet.tar.gz -# Move binary to system path +# 바이너리를 시스템 경로로 이동 sudo mv stabled /usr/bin/ -# Verify installation +# 설치 확인 stabled version ``` #### Linux ARM64 ```bash -# Download the binary for ARM64 architecture +# ARM64 아키텍처용 바이너리 다운로드 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/binary/stabled-latest-linux-arm64-testnet.tar.gz -# Extract and install +# 압축 해제 및 설치 tar -xvzf stabled-latest-linux-arm64-testnet.tar.gz sudo mv stabled /usr/bin/ -# Verify installation +# 설치 확인 stabled version ``` ## 노드 초기화 -바이너리를 설치한 후 노드를 초기화하세요: +바이너리를 설치한 후 노드를 초기화합니다. ### 1단계: 노드 이름 설정 ```bash -# Set your node's moniker (choose a unique name) +# 노드의 모니커 설정 (고유한 이름 선택) export MONIKER="your-node-name" ``` @@ -99,57 +99,57 @@ export MONIKER="your-node-name" ### 메인넷 ```bash -# Initialize with the mainnet chain ID +# 메인넷 체인 ID로 초기화 stabled init $MONIKER --chain-id stable_988-1 -# This creates the configuration directory at ~/.stabled/ +# 이렇게 하면 ~/.stabled/에 구성 디렉토리가 생성됩니다. ``` -> **참고**: chain ID를 포함한 현재 네트워크 매개변수는 [메인넷 정보](/ko/reference/mainnet-information)를 참조하세요 +> **참고**: 체인 ID를 포함한 현재 네트워크 매개변수는 [메인넷 정보](/ko/reference/mainnet-information)를 참조하십시오. ### 테스트넷 ```bash -# Initialize with the testnet chain ID +# 테스트넷 체인 ID로 초기화 stabled init $MONIKER --chain-id stabletestnet_2201-1 -# This creates the configuration directory at ~/.stabled/ +# 이렇게 하면 ~/.stabled/에 구성 디렉토리가 생성됩니다. ``` -> **참고**: chain ID를 포함한 현재 네트워크 매개변수는 [테스트넷 정보](/ko/reference/testnet-information)를 참조하세요 +> **참고**: 체인 ID를 포함한 현재 네트워크 매개변수는 [테스트넷 정보](/ko/reference/testnet-information)를 참조하십시오. -### 3단계: genesis 파일 다운로드 +### 3단계: 제네시스 파일 다운로드 :::code-group -```bash [Mainnet] -# Create backup of default genesis +```bash [메인넷] +# 기본 제네시스 백업 생성 mv ~/.stabled/config/genesis.json ~/.stabled/config/genesis.json.backup -# Download mainnet genesis +# 메인넷 제네시스 다운로드 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/configuration/genesis.zip unzip genesis.zip -# Move genesis to config directory +# 제네시스를 구성 디렉토리로 이동 cp genesis.json ~/.stabled/config/genesis.json -# Verify genesis checksum +# 제네시스 체크섬 확인 sha256sum ~/.stabled/config/genesis.json -# Expected: e1ceda79a3cc48a1028ca8646a2e9e2d156f610637cfb8b428ca8354277921f1 +# 예상: e1ceda79a3cc48a1028ca8646a2e9e2d156f610637cfb8b428ca8354277921f1 ``` -```bash [Testnet] -# Create backup of default genesis +```bash [테스트넷] +# 기본 제네시스 백업 생성 mv ~/.stabled/config/genesis.json ~/.stabled/config/genesis.json.backup -# Download testnet genesis +# 테스트넷 제네시스 다운로드 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/configuration/genesis.zip unzip genesis.zip -# Move genesis to config directory +# 제네시스를 구성 디렉토리로 이동 cp genesis.json ~/.stabled/config/genesis.json -# Verify genesis checksum +# 제네시스 체크섬 확인 sha256sum ~/.stabled/config/genesis.json -# Expected: 66afbb6e57e6faf019b3021de299125cddab61d433f28894db751252f5b8eaf2 +# 예상: 66afbb6e57e6faf019b3021de299125cddab61d433f28894db751252f5b8eaf2 ``` ::: @@ -158,47 +158,47 @@ sha256sum ~/.stabled/config/genesis.json #### 구성 파일 다운로드 :::code-group -```bash [Mainnet] -# Download optimized configuration (choose one based on your node type) -# For RPC/Full nodes: +```bash [메인넷] +# 최적화된 구성 다운로드 (노드 유형에 따라 하나 선택) +# RPC/풀 노드의 경우: wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/configuration/rpc_node_config.zip unzip rpc_node_config.zip -# For Archive nodes: +# 아카이브 노드의 경우: # wget https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/configuration/archive_node_config.zip # unzip archive_node_config.zip -# Backup original config +# 원래 구성 백업 cp ~/.stabled/config/config.toml ~/.stabled/config/config.toml.backup -# Apply new configuration +# 새 구성 적용 cp config.toml ~/.stabled/config/config.toml -# Update moniker in config +# 구성에서 모니커 업데이트 sed -i "s/^moniker = \".*\"/moniker = \"$MONIKER\"/" ~/.stabled/config/config.toml ``` -```bash [Testnet] -# Download optimized configuration +```bash [테스트넷] +# 최적화된 구성 다운로드 wget https://stable-data-dist.s3.us-east-1.amazonaws.com/testnet/configuration/rpc_node_config.zip unzip rpc_node_config.zip -# Backup original config +# 원래 구성 백업 cp ~/.stabled/config/config.toml ~/.stabled/config/config.toml.backup -# Apply new configuration +# 새 구성 적용 cp config.toml ~/.stabled/config/config.toml -# Update moniker in config +# 구성에서 모니커 업데이트 sed -i "s/^moniker = \".*\"/moniker = \"$MONIKER\"/" ~/.stabled/config/config.toml ``` ::: #### 필수 구성 업데이트 -`~/.stabled/config/app.toml` 편집: +`~/.stabled/config/app.toml`을 편집합니다. ```toml -# Enable JSON-RPC for EVM compatibility +# EVM 호환성을 위한 JSON-RPC 활성화 [json-rpc] enable = true address = "0.0.0.0:8545" @@ -206,76 +206,76 @@ ws-address = "0.0.0.0:8546" allow-unprotected-txs = true ``` -`~/.stabled/config/config.toml` 편집: +`~/.stabled/config/config.toml`을 편집합니다. :::code-group -```toml [Mainnet] -# P2P Configuration +```toml [메인넷] +# P2P 구성 [p2p] -# Maximum number of peers +# 최대 피어 수 max_num_inbound_peers = 50 max_num_outbound_peers = 30 -# Seed nodes -seeds = "9aa181b20248e948567cb47a15eae35d58cd549d@seed1.stable.xyz:46656" +# 시드 노드 +seeds = "c21897d374c480a963edcda941ac94030895f6b4@seed1.stable.xyz:46656" -# Persistent peers (mainnet seed nodes) +# 영구 피어 (메인넷 시드 노드) persistent_peers = "b896f6f8ca5a4d1cc40de09407df0c96e76df950@peer1.stable.xyz:26656" -# Enable peer exchange +# 피어 교환 활성화 pex = true -# RPC Configuration +# RPC 구성 [rpc] -# Listen address +# 수신 주소 laddr = "tcp://0.0.0.0:26657" -# Maximum number of simultaneous connections +# 동시에 열 수 있는 최대 연결 수 max_open_connections = 900 -# CORS settings (adjust for production) +# CORS 설정 (프로덕션에 맞게 조정) cors_allowed_origins = ["*"] ``` -```toml [Testnet] -# P2P Configuration +```toml [테스트넷] +# P2P 구성 [p2p] -# Maximum number of peers +# 최대 피어 수 max_num_inbound_peers = 50 max_num_outbound_peers = 30 -# Seed nodes -seeds = "6f3195823f7e5ee6f911a0a0ceb9ea689e0dc5bd@seed1.testnet.stable.xyz:56656" +# 시드 노드 +seeds = "8c2ede57b763c2976253f880a27c6f85756e1f1b@seed1.testnet.stable.xyz:56656" -# Persistent peers (testnet seed nodes) +# 영구 피어 (테스트넷 시드 노드) persistent_peers = "128accd3e8ee379bfdf54560c21345451c7048c7@peer1.testnet.stable.xyz:26656" -# Enable peer exchange +# 피어 교환 활성화 pex = true -# RPC Configuration +# RPC 구성 [rpc] -# Listen address +# 수신 주소 laddr = "tcp://0.0.0.0:26657" -# Maximum number of simultaneous connections +# 동시에 열 수 있는 최대 연결 수 max_open_connections = 900 -# CORS settings (adjust for production) +# CORS 설정 (프로덕션에 맞게 조정) cors_allowed_origins = ["*"] ``` ::: ## Systemd 서비스 설정 -자동 관리를 위해 systemd 서비스를 생성하세요: +자동 관리를 위한 systemd 서비스를 생성합니다. ### 1단계: 서비스 파일 생성 :::code-group -```bash [Mainnet] +```bash [메인넷] sudo tee /etc/systemd/system/stabled.service > /dev/null < /dev/null <> ~/.bashrc +# ~/.bashrc 또는 ~/.profile에 추가 +echo "# 코스모바이저 구성" >> ~/.bashrc echo "export DAEMON_NAME=stabled" >> ~/.bashrc echo "export DAEMON_HOME=$HOME/.stabled" >> ~/.bashrc echo "export DAEMON_ALLOW_DOWNLOAD_BINARIES=true" >> ~/.bashrc @@ -364,25 +364,25 @@ echo "export DAEMON_RESTART_AFTER_UPGRADE=true" >> ~/.bashrc echo "export DAEMON_LOG_BUFFER_SIZE=512" >> ~/.bashrc echo "export UNSAFE_SKIP_BACKUP=true" >> ~/.bashrc -# Load variables +# 변수 로드 source ~/.bashrc ``` -### 3단계: Cosmovisor 디렉터리 구조 설정 +### 3단계: 코스모바이저 디렉토리 구조 설정 ```bash -# Create cosmovisor directory structure +# 코스모바이저 디렉토리 구조 생성 mkdir -p ~/.stabled/cosmovisor/genesis/bin mkdir -p ~/.stabled/cosmovisor/upgrades -# Copy current binary to genesis +# 현재 바이너리를 genesis로 복사 cp /usr/bin/stabled ~/.stabled/cosmovisor/genesis/bin/ -# Create current symlink +# 현재 심볼릭 링크 생성 ln -s ~/.stabled/cosmovisor/genesis ~/.stabled/cosmovisor/current -# Verify setup +# 설정 확인 ls -la ~/.stabled/cosmovisor/ cosmovisor run version ``` @@ -390,17 +390,17 @@ cosmovisor run version ### 4단계: 환경 변수 설정 ```bash -# Set service name (default: stable) +# 서비스 이름 설정 (기본값: stable) export SERVICE_NAME=stable ``` ### 5단계: 서비스 파일 생성 :::code-group -```bash [Mainnet] +```bash [메인넷] sudo tee /etc/systemd/system/${SERVICE_NAME}.service > /dev/null < /dev/null < /dev/null < /dev/null < Date: Fri, 31 Jul 2026 23:34:38 +0900 Subject: [PATCH 3/3] Update mainnet-version-history.mdx --- .../ko/reference/mainnet-version-history.mdx | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/docs/pages/ko/reference/mainnet-version-history.mdx b/docs/pages/ko/reference/mainnet-version-history.mdx index 28fb2c0..8f93fd1 100755 --- a/docs/pages/ko/reference/mainnet-version-history.mdx +++ b/docs/pages/ko/reference/mainnet-version-history.mdx @@ -2,3 +2,40 @@ source_path: reference/mainnet-version-history.mdx source_sha: 8e3c3b5692d07f9d5e3126ac86c245aa52f013ef title: 버전 기록 +description: "스테이블(Stable) 메인넷 네트워크의 버전 기록 및 업그레이드 일정입니다." +diataxis: "reference" +--- + +# 버전 기록 + +스테이블(Stable) 메인넷의 전체 버전 기록 및 관련 문서를 확인하세요. + +## 현재 버전 정보 + +- **현재 버전**: `v1.3.3` +- **다음 업그레이드**: `TBD` +- **업그레이드 높이**: `TBD` +- **예상 시간**: `TBD` + +## 버전 기록 + +### 현재 및 이전 버전 + +| 버전 | 커밋 | 업그레이드 높이 | 바이너리 | 상태 | +|---------|--------|----------------|--------|-------------------------------| +| **v1.3.3** | `ea8df7c` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.3-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.3-linux-arm64-mainnet.tar.gz) | 현재 | +| **v1.3.2** | `5d1fb52` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.2-linux-arm64-mainnet.tar.gz) | | +| **v1.3.1** | `f85d155` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.1-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.1-linux-arm64-mainnet.tar.gz) | | +| **v1.3.0** | `dd103ec` | 24,077,500 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.3.0-linux-arm64-mainnet.tar.gz) | | +| **v1.2.2** | `76da1da` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.2-linux-arm64-mainnet.tar.gz) | | +| **v1.2.1** | `7955bb7` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.1-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.1-linux-arm64-mainnet.tar.gz) | | +| **v1.2.0** | `47e355b` | 12,004,000 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.2.0-linux-arm64-mainnet.tar.gz) | | +| **v1.1.4** | `c795773` | - | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.4-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.4-linux-arm64-mainnet.tar.gz) | | +| **v1.1.2** | `3d83aa3` | 3,263,600 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.2-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.2-linux-arm64-mainnet.tar.gz) | | +| **v1.1.0** | `17ceaa7` | 1,694,000 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.1.0-linux-arm64-mainnet.tar.gz) | | +| **v1.0.0** | `d996084` | 제네시스 | [AMD64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.0.0-linux-amd64-mainnet.tar.gz) / [ARM64](https://stable-data-dist.s3.us-east-1.amazonaws.com/mainnet/binary/stabled-1.0.0-linux-arm64-mainnet.tar.gz) | 제네시스 | + +## 관련 문서 + +- [업그레이드 가이드](/ko/how-to/upgrade-node) - 단계별 업그레이드 절차 +- [메인넷 정보](/ko/reference/mainnet-information) - 현재 네트워크 세부 정보