编译和运行
下载
git clone https://github.com/DxChainNetwork/dxc.git安装 Golang
// or in linux:
$ sudo snap install go --classic编译
$ cd /path/to/dxc
$ make geth运行
运行配置
节点运行
网络
Last updated
Was this helpful?
git clone https://github.com/DxChainNetwork/dxc.git// or in linux:
$ sudo snap install go --classic$ cd /path/to/dxc
$ make gethLast 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