github.com/aergoio/aergo@v1.3.1/consensus/impl/raftv2/test/config/BP11001.toml (about) 1 # aergo TOML Configration File (https://github.com/toml-lang/toml) 2 # base configurations 3 datadir = "_data_" 4 enableprofile = true 5 profileport = 10101 6 #loglevel = "info" 7 #loglevel = "debug,CHAINSVC=debug,MEMPOOLSVC=error" 8 enablerest = true 9 [rest] 10 restport = 10201 11 12 13 [rpc] 14 netserviceaddr = "0.0.0.0" 15 netserviceport = 10001 16 nstls = false 17 nscert = "" 18 nskey = "" 19 nsallowcors = false 20 21 [p2p] 22 netprotocoladdr = "127.0.0.1" 23 netprotocolport = 11001 24 nptls = false 25 npcert = "" 26 npkey = "11001.key" 27 npaddpeers = [ 28 #"/ip4/127.0.0.1/tcp/11002/p2p/16Uiu2HAmJqEp9f9WAbzFxkLrnHnW4EuUDM69xkCDPF26HmNCsib6","/ip4/127.0.0.1/tcp/11003/p2p/16Uiu2HAmA2ysmFxoQ37sk1Zk2sMrPysqTmwYAFrACyf3LtP3gxpJ" 29 ] 30 31 [blockchain] 32 # blockchain configurations 33 blockchainplaceholder = false 34 maxblocksize = 1000000 35 usefastsyncer= true 36 [mempool] 37 showmetrics = true 38 [consensus] 39 enablebp = true 40 blockinterval = 1 41 42 [consensus.raft] 43 newcluster=true 44 usebackup=false 45 blockintervalms = 1000 46 blockfactorytickms=30 47 name="aergo1" 48 snapfrequency=10 49 stopdupcommit=true 50 recoverbp={name="aergo1",address="/ip4/127.0.0.1/tcp/11001",peerid="16Uiu2HAkvaAMCHkd9hZ6hQkdDLKoXP4eLJSqkMF1YqkSNy5v9SVn"}