github.com/XinFinOrg/xdcchain@v1.1.0/cmd/XDC/testdata/config.toml (about) 1 StakeEnable = true # flag --miner ( true : enable staker , false : disable ) 2 Verbosity = 0 # flag --verbosity (0=Crit 1=Error 2=Warn 3=Info 4=Debug 5=Trace) 3 NAT = "" # flag --nat 4 5 [Eth] 6 NetworkId = 89 # flag --networkid 7 SyncMode = "full" # flag --syncmode 8 GasPrice = 1 # flag --gasprice 9 10 [Shh] 11 12 [Node] 13 DataDir = "node1/" # flag --datadir 14 HTTPPort = 8501 # flag --rpcport 15 HTTPHost = "localhost" # flags --rpcaddr & --rpc 16 # in 3 cases : 17 # HTTPHost is "" == --rpc & --rpcaddr is not set 18 # HTTPHost is "localhost" or "127.0.0.1" == only set --rpc 19 # HTTPHost is other IP (ex : 192.168.1.1) = set 2 flags --rpc & --rpcaddr 20 WSHost = "localhost" # flags --wsaddr & --ws . same option HTTPHost 21 WSPort = 8546 # flag --wsport 22 WSModules = ["eth","ssh"] #flag --wsapi 23 24 25 HTTPModules = ["personal","db","eth","net","web3","txpool","miner"] # flag --rpcapi 26 KeyStoreDir = "" # flag --keystore 27 UserIdent = "" # flag --identity 28 29 [Node.P2P] 30 ListenAddr = ":30311" # flag --port 31 MaxPeers = 200 # flag --maxpeers 32 33 BootstrapNodes = ["enode://a890c5762c406fe046fb93fd307577a8454d571b6bf789f7dbfbf3c559be751f5fa400bc10639691245a9b22be1cfce0bbf82b322a24d06c6dcf29bf7eeb930c@127.0.0.1:30310"] # flag --bootnodes 34 35 [Ethstats] 36 URL = "" # flag --ethstats 37 38 [Dashboard] 39 40 [Account] 41 Unlocks = ["0x12f90a417f41bedd4bbcc99d52971803fb4c3f8b"] # list account slipt in flag --unlock 42 Passwords = ["PWD_DEVNET"] # list password in environment variable (split by ',') : ex : export PWD_DEVNET=123456,123456789 43 44 45 [Bootnodes] 46 Mainnet =[] 47 Testnet =[] 48 49 50 51 52 53 54