-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtestConfig.json
More file actions
54 lines (54 loc) · 1.24 KB
/
testConfig.json
File metadata and controls
54 lines (54 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"server": {
"transactionExpireTime": 5,
"p2p": {
"syncLimit": 180,
"cycleDuration": 30,
"maxRejoinTime": 20,
"difficulty": 2,
"queryDelay": 1,
"gossipRecipients": 8,
"gossipFactor": 4,
"gossipStartSeed": 15,
"gossipSeedFallof": 15,
"gossipTimeout": 180,
"maxSeedNodes": 10,
"minNodesToAllowTxs": 3,
"minNodes": 15,
"maxNodes": 30,
"seedNodeOffset": 4,
"nodeExpiryAge": 30,
"maxJoinedPerCycle": 1,
"maxSyncingPerCycle": 5,
"maxRotatedPerCycle": 1,
"maxPercentOfDelta": 40,
"minScaleReqsNeeded": 5,
"maxScaleReqs": 200,
"scaleConsensusRequired": 0.25,
"amountToGrow": 1,
"amountToShrink": 1,
"startInWitnessMode": false
},
"reporting": {
"report": true,
"recipient": "http://127.0.0.1:3000/api",
"interval": 2,
"console": false
},
"loadDetection": {
"queueLimit": 1000,
"desiredTxTime": 15,
"highThreshold": 0.5,
"lowThreshold": 0.2
},
"rateLimiting": {
"limitRate": true,
"loadLimit": {
"internal": 0.5,
"external": 0.4,
"txTimeInQueue": 0.2,
"queueLength": 0.2
}
}
}
}