编译和运行
Last updated
Was this helpful?
Was this helpful?
[Eth]
SyncMode = "snap"
TrieCleanCacheRejournal= 300000000000
[Eth.Miner]
GasFloor = 0
GasCeil = 40000000
GasPrice = 1000000000
Recommit = 3000000000
Noverify = false
[Node]
InsecureUnlockAllowed = true
IPCPath = "geth.ipc"#!/bin/bash
set -e
# DXC_DIR 可执行程序geth所在的目录路径
DXC_DIR=/path/to/dxc/build/bin
cd $DXC_DIR
# --datadir ./data 区块链数据存储目录
nohup ./geth --datadir ./data --config ./config.toml --verbosity 3 >>./data/system.log 2>&1 &$ /bin/bash start.sh