Solo mining with the go-scdo node (ZPoW, CPU)使用 go-scdo 节点单机挖矿(ZPoW,CPU) Classic
This guide is for the Classic shards — SCDO Shard1 (Classic), SCDO Shard2 (Classic), SCDO Shard3 (Classic) and SCDO Shard4 (Classic) — which run go-scdo (ZPoW, CPU). For SCDO Shard0 (EVM) (chain ID 5680) see Get Started to use it with MetaMask, and Mining & Nodes for the GPU mining packages (Windows / Linux). Mining secures the network; block rewards are distributed automatically by the chain’s public, verifiable protocol rules and can be checked on this explorer.
本指南适用于运行 go-scdo(ZPoW,CPU)的 Classic 分片:SCDO Shard1 (Classic)、SCDO Shard2 (Classic)、SCDO Shard3 (Classic) 和 SCDO Shard4 (Classic)。SCDO Shard0 (EVM)(Chain ID 5680)请参阅新手入门(配合 MetaMask 使用)和挖矿与节点(GPU 挖矿包,Windows / Linux)。挖矿为网络提供安全保障;区块奖励由链上公开、可核验的协议规则自动发放,可在本浏览器上查到。
Mining runs on a PC or server (Windows / Linux; Mac: wallet only, mining coming soon), not on a phone. There is currently no mining pool or stratum server: you run your own full node, it syncs the chain of your shard, then mines. The address you enter is set as the miner (coinbase) address of blocks your node mines. The first sync downloads the whole shard history (more than 6 million blocks, roughly 25 GB of disk) and can take many hours.
挖矿需在电脑或服务器(Windows / Linux;Mac:目前仅钱包,挖矿即将支持)上运行,不能用手机。目前没有矿池或 stratum 服务器:你需要运行自己的全节点,节点同步完你所在分片的链之后再开始挖矿。你填写的地址会被设为你的节点所挖区块的矿工(coinbase)地址。首次同步需下载整个分片的历史(超过 600 万个区块,约 25 GB 磁盘),可能需要数小时。
Node software: Linux x86_64 scdo-node + scdo-client (SHA256SUMS; or run the one-command setup). Windows: go-scdo releases (contains node and client), or the Windows one-click miner package from the SCDO team. New packages: Downloads.
节点程序:Linux x86_64 scdo-node + scdo-client(SHA256SUMS;或使用一键安装)。Windows:go-scdo 发布页(包含 node 和 client),或 SCDO 团队提供的 Windows 一键挖矿包。新版程序包:下载。
Linux x86_64, no root needed. It downloads scdo-node + scdo-client from scdoscan.io/downloads (checksum-verified), asks for your address, creates a node key for your shard with client key --shard N, writes node.json with the public seed nodes and starts the node + miner. Windows: use the one-click miner package (start-miner.bat). Or set things up by hand below.
Linux x86_64,无需 root。脚本会从 scdoscan.io/downloads 下载 scdo-node + scdo-client(校验和已核对),询问你的地址,用 client key --shard N 为你的分片生成节点密钥,写入包含公共种子节点的 node.json,并启动节点和挖矿。Windows:请使用一键挖矿包(start-miner.bat)。也可以按下面的步骤手动设置。
The prefix decides your shard (1S01 = SCDO Shard1 (Classic), 2S02 = SCDO Shard2 (Classic), ...). No address yet? Run client key --shard 1 and keep the private key safe.
地址前缀决定你的分片(1S01 = SCDO Shard1 (Classic),2S02 = SCDO Shard2 (Classic)……)。还没有地址?运行 client key --shard 1,并妥善保管私钥。
Replace P2P_PRIVATE_KEY with the private key printed by client key --shard (use a separate key just for the node, not your wallet key).
把 P2P_PRIVATE_KEY 替换为 client key --shard 输出的私钥(请为节点单独生成一个密钥,不要使用钱包私钥)。
Check progress: curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"scdo_getInfo","params":[],"id":1}' http://127.0.0.1:8037 — mining becomes useful once CurrentBlockHeight matches the explorer.
查看进度:curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"scdo_getInfo","params":[],"id":1}' http://127.0.0.1:8037,当 CurrentBlockHeight 与浏览器一致后挖矿才有意义。
)