diff --git a/src/main/resources/config-test-net.conf b/src/main/resources/config-test-net.conf index 09c4fb6930f..d9a67c388c7 100644 --- a/src/main/resources/config-test-net.conf +++ b/src/main/resources/config-test-net.conf @@ -81,14 +81,23 @@ node { # Number of validate sign thread, default availableProcessors / 2 # validateSignThreadNum = 16 + connectFactor = 0.3 + activeConnectFactor = 0.1 + maxActiveNodes = 30 maxActiveNodesWithSameIp = 2 - minParticipationRate = 33 + minParticipationRate = 30 + + # check the peer data transfer ,disconnect factor + disconnectNumberFactor = 0.4 + maxConnectNumberFactor = 0.8 + receiveTcpMinDataLength = 2048 + isOpenFullTcpDisconnect = true p2p { - version = 20180622 # 11111: mainnet; 20180622: testnet + version = 0830 } active = [ @@ -319,17 +328,29 @@ genesis.block = { timestamp = "0" #2017-8-26 12:00:00 - parentHash = "0x9e524e0d6bfbbd25a9bd9cf5c5389f122e2bc2e66a29569d532739a1aa4376ae" + parentHash = "0x10000000001d13ab3ece497c7eb3ef3a0e17941f1c69c2e66088f461266ecac3" } -localwitness = [ -] - -#localwitnesskeystore = [ -# "src/main/resources/localwitnesskeystore.json" +#localwitness = [ #] +//localwitnesskeystore = [ +// "src/main/resources/localwitnesskeystore.json" +//] + block = { - needSyncCheck = true # first node : false, other : true - maintenanceTimeInterval = 21600000 // 1 day: 86400000(ms), 6 hours: 21600000(ms) + needSyncCheck = true + maintenanceTimeInterval = 600000 + proposalExpireTime = 600000 // 3 day: 259200000(ms) +} + + +vm = { + supportConstant = true + minTimeRatio = 0.6 + maxTimeRatio = 5.0 +} + +committee = { + allowCreationOfContracts = 0 //mainnet:0 (reset by committee),test:1 }