Compile and Run
Download
Pull source code from git
Install Golang
Reference: https://go.dev/doc/install
Compile
The compiled geth executable file is under the /path/to/dxc/build/bin path.
Run ./build/bin/geth --help
to get instruction, or refer to command-line-options.
Run
Run Configuration
Access the working directory
/directory/of/geth
Create
config.toml
in the working directory
Default to use
SyncMode = "snap"
for the node snyc mode, for the full node sync isSyncMode = "full"
Create
start.sh
in the working directory
Run Node
Network
The node program starts as mainnet
by default, add the --testnet
command at runtime if you want to start the testnet.
Last updated