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