Compile and Run
Last updated
Was this helpful?
Last updated
Was this helpful?
Pull source code from git
Reference:
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 .
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"
Createstart.sh
in the working directory
The node program starts as mainnet
by default, add the --testnet
command at runtime if you want to start the testnet.