开源推荐
morning
GitHub 热门项目: 节点
摘要
GitHub项目:node 仓库地址:https://github。
and
the
geth
node
reth
2026-05-21
1 阅读
约6分钟阅读
GitHub Trending
GitHub项目:节点
仓库地址:https://github.com/inkonchain/node
星级:36602 | 作者:inkonchain
项目描述:如何运行 Ink 节点
===================================================
自述文件内容:
# 墨水节点
> 从 https://github.com/smartcontracts/simple-optimism-node 分叉和定制
用于在存储库的当前运行 Ink 节点的 Docker Compose 设置
基于“op-geth”的堆栈,加上支持的健康检查和监控服务。
## 目前状态
该存储库当前提供了一个“op-geth”执行客户端。说明
以下是此 Compose 堆栈的当前“op-geth”运行手册,而不是
长期推荐。
根据乐观观点,“op-geth”支持将于 2026 年 5 月 31 日结束,节点仍在运行
它在 L1 Glamsterdam 硬分叉上将无法遵循规范
链。 `op-node` 并未被弃用。请参阅
[op-geth 弃用通知](https://docs.optimism.io/notices/op-geth-deprecation)
和
[op-reth 配置指南](https://docs.optimism.io/node-operators/guides/configuration/execution-clients#op-reth-configuration)。
如果您运行生产或长期节点,请开始规划“op-reth”
现在迁移。并行运行它,在有意义的窗口上验证它,并且
在硬分叉窗口之前准备一个新的快照。将其视为
运营商拥有的迁移而不是推迟到以后
定序器端客户端开关。
此存储库尚未提供 `op-reth` Compose 路径。在此之前,
回购仍然需要:
- “docker-compose.yml”中经过验证的“op-reth”服务、镜像和入口点
- 不再指向“http://op-geth:8551”的“op-node”引擎端点
- 存档初始化和快照处理可以使用“op-reth”快照,其中
可用。检查的Sepolia Ink Gelato索引已经暴露
`reth/full/datadir` 工件,但此存储库尚未使用它们,并且
检查了主网 Ink 索引仍然只公开 geth 档案
- 健康检查和监控更新,仍然针对“op-geth”和
`opgeth` InfluxDB 数据库
- 环境和端口命名不再采用“op-geth”,例如
`PORT__OP_GETH_*` 和 `envs/*/op-geth.env`
## 推荐硬件
### 主网
- 16GB+ 内存
- 2 TB SSD(推荐NVME)
- 100 Mbps+ 下载
### 测试网
- 16GB+ 内存
- 500 GB SSD(推荐 NVME)
- 100 Mbps+ 下载
## 先决条件
- Linux 上的 Docker Engine 和 Docker Compose v2,或 macOS 上的 Docker Desktop
窗户
- 适用于以太坊网络的 L1 执行 RPC 和 L1 信标 API 端点
与您的目标 Ink 网络相匹配
- 为您选择的节点类型提供足够的可用磁盘
在 Apple Silicon 上,“healthcheck”sidecar 以“linux/amd64”运行。码头工人
桌面会自动处理此问题,但首次启动可能需要更长的时间。
### Ubuntu 安装
> 如果您没有以 root 身份登录,请注销并在将自己添加到后重新登录
> `docker` 组。
````嘘
sudo apt-get 更新
sudo apt-get 升级 -y
sudo apt-get install -y curl gnupg ca-证书 lsb-release
sudo mkdir -p /etc/apt/keyrings
卷曲-fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) 签名者=/etc
相关推荐
GitHub热门项目: RedInk
GitHub项目:RedInk 仓库地址:https://github.com/HisMax/RedInk Stars:5393 | 作者:HisMax 项目描
07-06
👁 None
★ 100
GitHub热门项目: one-small-step
GitHub项目:one-small-step 仓库地址:https://github.com/karminski/one-small-step Stars:6
07-06
👁 None
★ 100
GitHub热门项目: pgai
GitHub项目:pgai 仓库地址:https://github.com/timescale/pgai Stars:5797 | 作者:timescale 项
07-06
👁 None
★ 100
GitHub 热门项目:gemma-2B-10M
GitHub项目:gemma-2B-10M 仓库地址:https://github。com/mustafaaljadery/gemma-2B-10M Stars
06-29
👁 None
★ 95
GitHub 热门项目:efflux-backend
GitHub项目:efflux-backend 仓库地址:https://github。
06-28
👁 None
★ 95