← /downloads/shard0/ · Transparency center透明中心

SCDO Shard0 (EVM) node with signed checkpointsSCDO Shard0 (EVM) 签名检查点节点程序

core-geth v1.12.23 + SCDO DAG-cleanup fix + signed checkpoints + temporary ban of peers that send checkpoint-conflicting chains. Source commit 58c2f3e (SCDOLAB/scdo-shard0, branch scdo-checkpoint). Consensus rules for valid blocks are unchanged; the node only refuses chains that do not contain the latest signed checkpoint.

core-geth v1.12.23 + SCDO DAG 清理修复 + 签名检查点 + 对发送与检查点冲突链的节点临时封禁。源码 commit 58c2f3e(SCDOLAB/scdo-shard0,scdo-checkpoint 分支)。区块有效性规则不变;节点只拒绝不包含最新签名检查点的链。

Files文件

scdo-shard0-geth-checkpoint-linux-amd64Linux x86-64 node, staticLinux x86-64 节点(静态编译)
scdo-shard0-geth-checkpoint-windows-amd64.exeWindows x86-64 node (replaces bin\geth.exe of the GPU miner package)Windows x86-64 节点(替换 GPU 挖矿包中的 bin\geth.exe)
scdocheckpoint-linux-amd64Checkpoint verify tool检查点核验工具
scdo-shard0-checkpoint.patchSource patch against branch scdo相对 scdo 分支的源码补丁
SHA256SUMSCheck with sha256sum -c SHA256SUMS用 sha256sum -c SHA256SUMS 校验

Checkpoint settings检查点参数

--scdo.checkpoint.signers 0xee028b0fD3e852aa7126A2b66Ada01d578F40f57 --scdo.checkpoint.url https://scdoscan.io/checkpoint/shard0/latest.json --scdo.checkpoint.poll 15s

Signer:签名地址: 0xee028b0fD3e852aa7126A2b66Ada01d578F40f57 · latest checkpoint:最新检查点: https://scdoscan.io/checkpoint/shard0/latest.json (every 20 blocks, 12 confirmations)(每 20 块,12 个确认)

Upgrade: Linux nodeLinux 节点升级

sha256sum -c SHA256SUMS --ignore-missing
sudo systemctl stop <your-geth-service>
sudo cp /path/to/geth /path/to/geth.backup
sudo install -m 755 scdo-shard0-geth-checkpoint-linux-amd64 /path/to/geth
# add the three --scdo.checkpoint.* flags above to ExecStart, then:
sudo systemctl daemon-reload && sudo systemctl start <your-geth-service>

Verify, stop the service, back up the old geth, install the new binary, add the three --scdo.checkpoint.* flags above to ExecStart, then daemon-reload and start. Chain data does not need to change.

校验后停止服务,备份原 geth,替换为新程序,在 ExecStart 中加入上面三个 --scdo.checkpoint.* 参数,然后 daemon-reload 并启动。链数据无需改动。

Upgrade: Windows GPU miner packageWindows GPU 挖矿包升级

  1. Run stop-mining.bat and wait until the node has stopped.
  2. Rename bin\geth.exe to bin\geth.exe.old, save scdo-shard0-geth-checkpoint-windows-amd64.exe as bin\geth.exe.
  3. In tools\run-node.bat, add to the geth line (e.g. after --ipcdisable):
    --scdo.checkpoint.signers 0xee028b0fD3e852aa7126A2b66Ada01d578F40f57 --scdo.checkpoint.url https://scdoscan.io/checkpoint/shard0/latest.json --scdo.checkpoint.poll 15s
  4. Run start-mining.bat. Your wallet, chain data and miner settings stay as they are.
  1. 运行 stop-mining.bat,等待节点停止。
  2. 把 bin\geth.exe 改名为 bin\geth.exe.old,把 scdo-shard0-geth-checkpoint-windows-amd64.exe 保存为 bin\geth.exe。
  3. 在 tools\run-node.bat 的 geth 命令行中(例如 --ipcdisable 之后)加入:
    --scdo.checkpoint.signers 0xee028b0fD3e852aa7126A2b66Ada01d578F40f57 --scdo.checkpoint.url https://scdoscan.io/checkpoint/shard0/latest.json --scdo.checkpoint.poll 15s
  4. 运行 start-mining.bat。钱包、链数据和挖矿设置保持不变。

Check it works检查是否生效

curl -s -X POST -H 'content-type: application/json' --data '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["finalized",false]}' http://127.0.0.1:18545

The result should be the block in latest.json and move forward every 20 blocks. Rolling back = put the old geth back and remove the three flags.

返回的区块应与 latest.json 一致,并每 20 块前进一次。回退方法:换回旧 geth 并删除这三个参数。