Skip to content

Commit 80e3aef

Browse files
authored
feat: sync config from docker-cardano-node (#53)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent cc79d6f commit 80e3aef

15 files changed

+654
-40
lines changed

config/mainnet/config.json

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
{
22
"AlonzoGenesisFile": "alonzo-genesis.json",
33
"AlonzoGenesisHash": "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874",
4-
"ApplicationName": "cardano-sl",
5-
"ApplicationVersion": 1,
64
"ByronGenesisFile": "byron-genesis.json",
75
"ByronGenesisHash": "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb",
86
"ConwayGenesisFile": "conway-genesis.json",
9-
"ConwayGenesisHash": "f28f1c1280ea0d32f8cd3143e268650d6c1a8e221522ce4a7d20d62fc09783e1",
7+
"ConwayGenesisHash": "de609b281cb3d8ae91a9d63a00c87092975612d603aa54c0f1c6a781e33d6e1e",
8+
"EnableP2P": true,
109
"LastKnownBlockVersion-Alt": 0,
1110
"LastKnownBlockVersion-Major": 3,
1211
"LastKnownBlockVersion-Minor": 0,
1312
"MaxKnownMajorProtocolVersion": 2,
13+
"PeerSharing": false,
1414
"Protocol": "Cardano",
1515
"RequiresNetworkMagic": "RequiresNoMagic",
1616
"ShelleyGenesisFile": "shelley-genesis.json",
1717
"ShelleyGenesisHash": "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81",
18+
"TargetNumberOfActivePeers": 20,
19+
"TargetNumberOfEstablishedPeers": 50,
20+
"TargetNumberOfKnownPeers": 100,
21+
"TargetNumberOfRootPeers": 100,
1822
"TraceAcceptPolicy": true,
1923
"TraceBlockFetchClient": false,
2024
"TraceBlockFetchDecisions": false,
@@ -32,17 +36,18 @@
3236
"TraceDiffusionInitialization": true,
3337
"TraceErrorPolicy": true,
3438
"TraceForge": true,
35-
"TraceHandshake": false,
39+
"TraceHandshake": true,
3640
"TraceInboundGovernor": true,
3741
"TraceIpSubscription": true,
3842
"TraceLedgerPeers": true,
3943
"TraceLocalChainSyncProtocol": false,
44+
"TraceLocalConnectionManager": true,
4045
"TraceLocalErrorPolicy": true,
41-
"TraceLocalHandshake": false,
46+
"TraceLocalHandshake": true,
4247
"TraceLocalRootPeers": true,
4348
"TraceLocalTxSubmissionProtocol": false,
4449
"TraceLocalTxSubmissionServer": false,
45-
"TraceMempool": true,
50+
"TraceMempool": false,
4651
"TraceMux": false,
4752
"TracePeerSelection": true,
4853
"TracePeerSelectionActions": true,

config/mainnet/conway-genesis.json

+36-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
11
{
2-
"genDelegs": {}
2+
"poolVotingThresholds": {
3+
"committeeNormal": 0.51,
4+
"committeeNoConfidence": 0.51,
5+
"hardForkInitiation": 0.51,
6+
"motionNoConfidence": 0.51,
7+
"ppSecurityGroup": 0.51
8+
},
9+
"dRepVotingThresholds": {
10+
"motionNoConfidence": 0.51,
11+
"committeeNormal": 0.51,
12+
"committeeNoConfidence": 0.51,
13+
"updateToConstitution": 0.51,
14+
"hardForkInitiation": 0.51,
15+
"ppNetworkGroup": 0.51,
16+
"ppEconomicGroup": 0.51,
17+
"ppTechnicalGroup": 0.51,
18+
"ppGovGroup": 0.51,
19+
"treasuryWithdrawal": 0.51
20+
},
21+
"committeeMinSize": 0,
22+
"committeeMaxTermLength": 200,
23+
"govActionLifetime": 10,
24+
"govActionDeposit": 1000000000,
25+
"dRepDeposit": 2000000,
26+
"dRepActivity": 20,
27+
"constitution": {
28+
"anchor": {
29+
"url": "",
30+
"dataHash": "0000000000000000000000000000000000000000000000000000000000000000"
31+
}
32+
},
33+
"committee": {
34+
"members": {
35+
},
36+
"quorum": 0
37+
}
338
}

config/mainnet/topology.json

+23-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
11
{
2-
"Producers": [
2+
"bootstrapPeers": [
33
{
4-
"addr": "relays-new.cardano-mainnet.iohk.io",
5-
"port": 3001,
6-
"valency": 2
4+
"address": "backbone.cardano.iog.io",
5+
"port": 3001
6+
},
7+
{
8+
"address": "backbone.mainnet.emurgornd.com",
9+
"port": 3001
10+
}
11+
],
12+
"localRoots": [
13+
{
14+
"accessPoints": [],
15+
"advertise": false,
16+
"trustable": false,
17+
"valency": 1
18+
}
19+
],
20+
"publicRoots": [
21+
{
22+
"accessPoints": [],
23+
"advertise": false
724
}
8-
]
25+
],
26+
"useLedgerAfterSlot": 116812831
927
}

config/preprod/config.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
22
"AlonzoGenesisFile": "alonzo-genesis.json",
33
"AlonzoGenesisHash": "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874",
4-
"ApplicationName": "cardano-sl",
5-
"ApplicationVersion": 0,
64
"ByronGenesisFile": "byron-genesis.json",
75
"ByronGenesisHash": "d4b8de7a11d929a323373cbab6c1a9bdc931beffff11db111cf9d57356ee1937",
86
"ConwayGenesisFile": "conway-genesis.json",
9-
"ConwayGenesisHash": "f28f1c1280ea0d32f8cd3143e268650d6c1a8e221522ce4a7d20d62fc09783e1",
7+
"ConwayGenesisHash": "de609b281cb3d8ae91a9d63a00c87092975612d603aa54c0f1c6a781e33d6e1e",
108
"EnableP2P": true,
119
"LastKnownBlockVersion-Alt": 0,
1210
"LastKnownBlockVersion-Major": 2,
1311
"LastKnownBlockVersion-Minor": 0,
12+
"PeerSharing": false,
1413
"Protocol": "Cardano",
1514
"RequiresNetworkMagic": "RequiresMagic",
1615
"ShelleyGenesisFile": "shelley-genesis.json",
@@ -36,13 +35,14 @@
3635
"TraceDiffusionInitialization": true,
3736
"TraceErrorPolicy": true,
3837
"TraceForge": true,
39-
"TraceHandshake": false,
38+
"TraceHandshake": true,
4039
"TraceInboundGovernor": true,
4140
"TraceIpSubscription": true,
4241
"TraceLedgerPeers": true,
4342
"TraceLocalChainSyncProtocol": false,
43+
"TraceLocalConnectionManager": true,
4444
"TraceLocalErrorPolicy": true,
45-
"TraceLocalHandshake": false,
45+
"TraceLocalHandshake": true,
4646
"TraceLocalRootPeers": true,
4747
"TraceLocalTxSubmissionProtocol": false,
4848
"TraceLocalTxSubmissionServer": false,

config/preprod/conway-genesis.json

+36-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
11
{
2-
"genDelegs": {}
2+
"poolVotingThresholds": {
3+
"committeeNormal": 0.51,
4+
"committeeNoConfidence": 0.51,
5+
"hardForkInitiation": 0.51,
6+
"motionNoConfidence": 0.51,
7+
"ppSecurityGroup": 0.51
8+
},
9+
"dRepVotingThresholds": {
10+
"motionNoConfidence": 0.51,
11+
"committeeNormal": 0.51,
12+
"committeeNoConfidence": 0.51,
13+
"updateToConstitution": 0.51,
14+
"hardForkInitiation": 0.51,
15+
"ppNetworkGroup": 0.51,
16+
"ppEconomicGroup": 0.51,
17+
"ppTechnicalGroup": 0.51,
18+
"ppGovGroup": 0.51,
19+
"treasuryWithdrawal": 0.51
20+
},
21+
"committeeMinSize": 0,
22+
"committeeMaxTermLength": 200,
23+
"govActionLifetime": 10,
24+
"govActionDeposit": 1000000000,
25+
"dRepDeposit": 2000000,
26+
"dRepActivity": 20,
27+
"constitution": {
28+
"anchor": {
29+
"url": "",
30+
"dataHash": "0000000000000000000000000000000000000000000000000000000000000000"
31+
}
32+
},
33+
"committee": {
34+
"members": {
35+
},
36+
"quorum": 0
37+
}
338
}

config/preprod/topology.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
2+
"bootstrapPeers": [
3+
{
4+
"address": "preprod-node.play.dev.cardano.org",
5+
"port": 3001
6+
}
7+
],
28
"localRoots": [
39
{
410
"accessPoints": [],
511
"advertise": false,
12+
"trustable": false,
613
"valency": 1
714
}
815
],
916
"publicRoots": [
1017
{
11-
"accessPoints": [
12-
{
13-
"address": "preprod-node.world.dev.cardano.org",
14-
"port": 30000
15-
}
16-
],
18+
"accessPoints": [],
1719
"advertise": false
1820
}
1921
],
20-
"useLedgerAfterSlot": 4642000
22+
"useLedgerAfterSlot": 52358331
2123
}

config/preview/config.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
22
"AlonzoGenesisFile": "alonzo-genesis.json",
33
"AlonzoGenesisHash": "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874",
4-
"ApplicationName": "cardano-sl",
5-
"ApplicationVersion": 0,
64
"ByronGenesisFile": "byron-genesis.json",
75
"ByronGenesisHash": "83de1d7302569ad56cf9139a41e2e11346d4cb4a31c00142557b6ab3fa550761",
86
"ConwayGenesisFile": "conway-genesis.json",
9-
"ConwayGenesisHash": "f28f1c1280ea0d32f8cd3143e268650d6c1a8e221522ce4a7d20d62fc09783e1",
7+
"ConwayGenesisHash": "de609b281cb3d8ae91a9d63a00c87092975612d603aa54c0f1c6a781e33d6e1e",
108
"EnableP2P": true,
11-
"ExperimentalHardForksEnabled": true,
12-
"ExperimentalProtocolsEnabled": true,
9+
"ExperimentalHardForksEnabled": false,
10+
"ExperimentalProtocolsEnabled": false,
1311
"LastKnownBlockVersion-Alt": 0,
1412
"LastKnownBlockVersion-Major": 3,
1513
"LastKnownBlockVersion-Minor": 1,
14+
"PeerSharing": false,
1615
"Protocol": "Cardano",
1716
"RequiresNetworkMagic": "RequiresMagic",
1817
"ShelleyGenesisFile": "shelley-genesis.json",
@@ -42,13 +41,14 @@
4241
"TraceDiffusionInitialization": true,
4342
"TraceErrorPolicy": true,
4443
"TraceForge": true,
45-
"TraceHandshake": false,
44+
"TraceHandshake": true,
4645
"TraceInboundGovernor": true,
4746
"TraceIpSubscription": true,
4847
"TraceLedgerPeers": true,
4948
"TraceLocalChainSyncProtocol": false,
49+
"TraceLocalConnectionManager": true,
5050
"TraceLocalErrorPolicy": true,
51-
"TraceLocalHandshake": false,
51+
"TraceLocalHandshake": true,
5252
"TraceLocalRootPeers": true,
5353
"TraceLocalTxSubmissionProtocol": false,
5454
"TraceLocalTxSubmissionServer": false,

config/preview/conway-genesis.json

+36-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
11
{
2-
"genDelegs": {}
2+
"poolVotingThresholds": {
3+
"committeeNormal": 0.51,
4+
"committeeNoConfidence": 0.51,
5+
"hardForkInitiation": 0.51,
6+
"motionNoConfidence": 0.51,
7+
"ppSecurityGroup": 0.51
8+
},
9+
"dRepVotingThresholds": {
10+
"motionNoConfidence": 0.51,
11+
"committeeNormal": 0.51,
12+
"committeeNoConfidence": 0.51,
13+
"updateToConstitution": 0.51,
14+
"hardForkInitiation": 0.51,
15+
"ppNetworkGroup": 0.51,
16+
"ppEconomicGroup": 0.51,
17+
"ppTechnicalGroup": 0.51,
18+
"ppGovGroup": 0.51,
19+
"treasuryWithdrawal": 0.51
20+
},
21+
"committeeMinSize": 0,
22+
"committeeMaxTermLength": 200,
23+
"govActionLifetime": 10,
24+
"govActionDeposit": 1000000000,
25+
"dRepDeposit": 2000000,
26+
"dRepActivity": 20,
27+
"constitution": {
28+
"anchor": {
29+
"url": "",
30+
"dataHash": "0000000000000000000000000000000000000000000000000000000000000000"
31+
}
32+
},
33+
"committee": {
34+
"members": {
35+
},
36+
"quorum": 0
37+
}
338
}

config/preview/topology.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
2+
"bootstrapPeers": [
3+
{
4+
"address": "preview-node.play.dev.cardano.org",
5+
"port": 3001
6+
}
7+
],
28
"localRoots": [
39
{
410
"accessPoints": [],
511
"advertise": false,
12+
"trustable": false,
613
"valency": 1
714
}
815
],
916
"publicRoots": [
1017
{
11-
"accessPoints": [
12-
{
13-
"address": "preview-node.world.dev.cardano.org",
14-
"port": 30002
15-
}
16-
],
18+
"accessPoints": [],
1719
"advertise": false
1820
}
1921
],
20-
"useLedgerAfterSlot": 322000
22+
"useLedgerAfterSlot": 41385503
2123
}

0 commit comments

Comments
 (0)