Skip to content

Commit c4c1018

Browse files
committed
feat: mainnet p2p config/topology files
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent e195d38 commit c4c1018

File tree

3 files changed

+128
-1
lines changed

3 files changed

+128
-1
lines changed

config/mainnet-p2p-config.json

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"AlonzoGenesisFile": "/opt/cardano/config/mainnet-alonzo-genesis.json",
3+
"AlonzoGenesisHash": "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874",
4+
"ApplicationName": "cardano-sl",
5+
"ApplicationVersion": 1,
6+
"ByronGenesisFile": "/opt/cardano/config/mainnet-byron-genesis.json",
7+
"ByronGenesisHash": "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb",
8+
"EnableP2P": true,
9+
"LastKnownBlockVersion-Alt": 0,
10+
"LastKnownBlockVersion-Major": 3,
11+
"LastKnownBlockVersion-Minor": 0,
12+
"MaxKnownMajorProtocolVersion": 2,
13+
"Protocol": "Cardano",
14+
"RequiresNetworkMagic": "RequiresNoMagic",
15+
"ShelleyGenesisFile": "/opt/cardano/config/mainnet-shelley-genesis.json",
16+
"ShelleyGenesisHash": "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81",
17+
"TargetNumberOfActivePeers": 20,
18+
"TargetNumberOfEstablishedPeers": 50,
19+
"TargetNumberOfKnownPeers": 100,
20+
"TargetNumberOfRootPeers": 100,
21+
"TraceAcceptPolicy": true,
22+
"TraceBlockFetchClient": false,
23+
"TraceBlockFetchDecisions": false,
24+
"TraceBlockFetchProtocol": false,
25+
"TraceBlockFetchProtocolSerialised": false,
26+
"TraceBlockFetchServer": false,
27+
"TraceChainDb": true,
28+
"TraceChainSyncBlockServer": false,
29+
"TraceChainSyncClient": false,
30+
"TraceChainSyncHeaderServer": false,
31+
"TraceChainSyncProtocol": false,
32+
"TraceConnectionManager": true,
33+
"TraceDNSResolver": true,
34+
"TraceDNSSubscription": true,
35+
"TraceDiffusionInitialization": true,
36+
"TraceErrorPolicy": true,
37+
"TraceForge": true,
38+
"TraceHandshake": false,
39+
"TraceInboundGovernor": true,
40+
"TraceIpSubscription": true,
41+
"TraceLedgerPeers": true,
42+
"TraceLocalChainSyncProtocol": false,
43+
"TraceLocalErrorPolicy": true,
44+
"TraceLocalHandshake": false,
45+
"TraceLocalRootPeers": true,
46+
"TraceLocalTxSubmissionProtocol": false,
47+
"TraceLocalTxSubmissionServer": false,
48+
"TraceMempool": true,
49+
"TraceMux": false,
50+
"TracePeerSelection": true,
51+
"TracePeerSelectionActions": true,
52+
"TracePublicRootPeers": true,
53+
"TraceServer": true,
54+
"TraceTxInbound": false,
55+
"TraceTxOutbound": false,
56+
"TraceTxSubmissionProtocol": false,
57+
"TracingVerbosity": "NormalVerbosity",
58+
"TurnOnLogMetrics": true,
59+
"TurnOnLogging": true,
60+
"defaultBackends": [
61+
"KatipBK"
62+
],
63+
"defaultScribes": [
64+
[
65+
"StdoutSK",
66+
"stdout"
67+
]
68+
],
69+
"hasEKG": 12788,
70+
"hasPrometheus": [
71+
"0.0.0.0",
72+
12798
73+
],
74+
"minSeverity": "Info",
75+
"options": {
76+
"mapBackends": {
77+
"cardano.node.metrics": [
78+
"EKGViewBK"
79+
],
80+
"cardano.node.resources": [
81+
"EKGViewBK"
82+
]
83+
},
84+
"mapSubtrace": {
85+
"cardano.node.metrics": {
86+
"subtrace": "Neutral"
87+
}
88+
}
89+
},
90+
"rotation": {
91+
"rpKeepFilesNum": 10,
92+
"rpLogLimitBytes": 5000000,
93+
"rpMaxAgeHours": 24
94+
},
95+
"setupBackends": [
96+
"KatipBK"
97+
],
98+
"setupScribes": [
99+
{
100+
"scFormat": "ScText",
101+
"scKind": "StdoutSK",
102+
"scName": "stdout",
103+
"scRotation": null
104+
}
105+
]
106+
}

config/mainnet-p2p-topology.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"localRoots": [
3+
{
4+
"accessPoints": [],
5+
"advertise": false,
6+
"valency": 1
7+
}
8+
],
9+
"publicRoots": [
10+
{
11+
"accessPoints": [
12+
{
13+
"address": "relays-new.cardano-mainnet.iohk.io",
14+
"port": 3001
15+
}
16+
],
17+
"advertise": false
18+
}
19+
],
20+
"useLedgerAfterSlot": 79387772
21+
}

config/preview-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
],
7474
"hasEKG": 12788,
7575
"hasPrometheus": [
76-
"127.0.0.1",
76+
"0.0.0.0",
7777
12798
7878
],
7979
"minSeverity": "Info",

0 commit comments

Comments
 (0)