← /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 並刪除這三個引數。