github.com/aergoio/aergo@v1.3.1/consensus/impl/raftv2/test/config/BP11002.toml (about) 1 # aergo TOML Configration File (https://github.com/toml-lang/toml) 2 # base configurations 3 datadir = "_data_" 4 enableprofile = true 5 profileport = 10102 6 #loglevel = "info" 7 #loglevel = "debug,CHAINSVC=debug,MEMPOOLSVC=error" 8 enablerest = true 9 [rest] 10 restport = 10202 11 12 13 [rpc] 14 netserviceaddr = "0.0.0.0" 15 netserviceport = 10002 16 nstls = false 17 nscert = "" 18 nskey = "" 19 nsallowcors = false 20 21 [p2p] 22 netprotocoladdr = "127.0.0.1" 23 netprotocolport = 11002 24 nptls = false 25 npcert = "" 26 npkey = "11002.key" 27 npaddpeers = [ 28 #"/ip4/127.0.0.1/tcp/11001/p2p/16Uiu2HAkvaAMCHkd9hZ6hQkdDLKoXP4eLJSqkMF1YqkSNy5v9SVn","/ip4/127.0.0.1/tcp/11003/p2p/16Uiu2HAmA2ysmFxoQ37sk1Zk2sMrPysqTmwYAFrACyf3LtP3gxpJ","/ip4/127.0.0.1/tcp/11004/p2p/16Uiu2HAmQti7HLHC9rXqkeABtauv2YsCPG3Uo1WLqbXmbuxpbjmF","/ip4/127.0.0.1/tcp/11005/p2p/16Uiu2HAmRm9iKQdfLpeTZUW1YA2TDWabLskzNpizSiFd9nLo6mPy" 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="aergo2" 48 snapfrequency=10 49 stopdupcommit=true 50 #