Skip to content

Commit 8fa3035

Browse files
committed
Bump node to 10.7.1
1 parent 765fbfb commit 8fa3035

16 files changed

Lines changed: 373 additions & 219 deletions

File tree

docs/upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Steps for Upgrading
22

33
!!! danger "Change in config & logging starting node 10.5.x"
4-
Starting node 10.4.x, new cardano-tracer infrastructure was introduced for node , the use of this was disabled by default and thus - not as visible to users who may have missed the announcement. However, the legacy config/logging format has been said to be deprecated and could be retired in 10.6.x. Thus - we have shifted to minimum viable equivalent for newer config format.
4+
Starting node 10.4.x, new cardano-tracer infrastructure was introduced for node , the use of this was disabled by default and thus - not as visible to users who may have missed the announcement. However, the legacy config/logging format has been said to be deprecated and could be retired in 10.7.x. Thus - we have shifted to minimum viable equivalent for newer config format.
55
We are excluding setting up of cardano-tracer, as we feel it's an overkill for an average SPO. Please consult [official documentation](https://github.com/intersectmbo/cardano-node/blob/master/cardano-tracer/docs/cardano-tracer.md) if you'd like to run cardano-tracer.
66

77
What this means, as a SPO:

files/configs/guild/config.json

Lines changed: 83 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"MempoolCapacityBytesOverride": 8388608,
1717
"MinBigLedgerPeersForTrustedState": 5,
18-
"MinNodeVersion": "10.6.2",
18+
"MinNodeVersion": "10.7.1",
1919
"PeerSharing": true,
2020
"Protocol": "Cardano",
2121
"RequiresNetworkMagic": "RequiresMagic",
@@ -40,85 +40,127 @@
4040
"TraceOptions": {
4141
"": {
4242
"backends": [
43-
"Stdout HumanFormatColoured",
44-
"PrometheusSimple 127.0.0.1 12798"
43+
"PrometheusSimple suffix 127.0.0.1 12798",
44+
"Stdout MachineFormat"
4545
],
46+
"detail": "DNormal",
4647
"severity": "Notice"
4748
},
49+
"BlockFetch.Client.CompletedBlockFetch": {
50+
"severity": "Info",
51+
"maxFrequency": 4.0
52+
},
4853
"BlockFetch.Decision": {
49-
"severity": "Silence"
54+
"severity": "Info"
55+
},
56+
"BlockFetch.Client.SendFetchRequest": {
57+
"severity": "Info"
5058
},
5159
"ChainDB": {
5260
"severity": "Info"
5361
},
62+
"ChainDB.ImmDbEvent": {
63+
"severity": "Warning"
64+
},
5465
"ChainDB.AddBlockEvent.AddBlockValidation": {
5566
"severity": "Silence"
5667
},
57-
"ChainSync.Client": {
58-
"severity": "Info"
68+
"ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate": {
69+
"maxFrequency": 2.0
5970
},
60-
"Net.ConnectionManager.Remote": {
61-
"severity": "Info"
71+
"ChainDB.AddBlockEvent.AddedBlockToQueue": {
72+
"maxFrequency": 2.0
6273
},
63-
"Net.Subscription.DNS": {
64-
"severity": "Info"
74+
"ChainDB.AddBlockEvent.AddedBlockToVolatileDB": {
75+
"maxFrequency": 2.0
6576
},
66-
"Startup.DiffusionInit": {
67-
"severity": "Info"
77+
"ChainDB.AddBlockEvent.AddedToCurrentChain": {
78+
"maxFrequency": 2.0
6879
},
69-
"Net.ErrorPolicy": {
80+
"ChainDB.AddBlockEvent.SwitchedToAFork": {
7081
"severity": "Info"
7182
},
72-
"Forge.Loop": {
83+
"ChainDB.ImmDbEvent.ChunkValidation.ValidatedChunk": {
7384
"severity": "Info"
7485
},
75-
"Forge.StateInfo": {
76-
"severity": "Info"
86+
"ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB": {
87+
"maxFrequency": 2.0
7788
},
78-
"Net.InboundGovernor.Remote": {
79-
"severity": "Info"
89+
"ChainDB.LedgerEvent.Replay": {
90+
"severity": "Info",
91+
"maxFrequency": 0.0668
8092
},
81-
"Net.Subscription.IP": {
82-
"severity": "Info"
93+
"ChainDB.LedgerEvent.Forker": {
94+
"severity": "Silence"
8395
},
84-
"Net.ErrorPolicy.Local": {
85-
"severity": "Info"
96+
"ChainSync.Client": {
97+
"severity": "Warning"
8698
},
87-
"Mempool": {
88-
"severity": "Info"
99+
"ChainSync.Client.DownloadedHeader": {
100+
"severity": "Info",
101+
"maxFrequency": 14.0
89102
},
90-
"Net.Mux.Remote": {
103+
"Forge.Loop": {
91104
"severity": "Info"
92105
},
93-
"Net.InboundGovernor": {
94-
"severity": "Warning"
106+
"Forge.Loop.NodeNotLeader": {
107+
"severity": "Silence"
95108
},
96-
"Net.PeerSelection": {
109+
"Forge.Loop.StartLeadershipCheck": {
97110
"severity": "Silence"
98111
},
99-
"Net.ConnectionManager.Remote.ConnectionManagerCounters": {
112+
"Forge.StateInfo": {
113+
"severity": "Info",
114+
"maxFrequency": 0.0002783
115+
},
116+
"Mempool": {
100117
"severity": "Silence"
101118
},
102-
"LedgerMetrics": {
119+
"Mempool.AttemptAdd": {
103120
"severity": "Silence"
104121
},
105-
"Resources": {
122+
"Mempool.SyncNotNeeded": {
106123
"severity": "Silence"
107124
},
108-
"ChainDB.AddBlockEvent.AddedBlockToQueue": {
109-
"maxFrequency": 2.0
125+
"Net.AcceptPolicy.ConnectionRateLimiting": {
126+
"severity": "Info",
127+
"maxFrequency": 0.0167
110128
},
111-
"ChainDB.AddBlockEvent.AddedBlockToVolatileDB": {
112-
"maxFrequency": 2.0
129+
"Net.AcceptPolicy.ConnectionLimitResume": {
130+
"severity": "Info",
131+
"maxFrequency": 0.0167
113132
},
114-
"ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate": {
115-
"maxFrequency": 2.0
133+
"Net.ConnectionManager.Remote": {
134+
"severity": "Info"
116135
},
117-
"ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB": {
118-
"maxFrequency": 2.0
136+
"Net.ErrorPolicy": {
137+
"severity": "Info"
119138
},
120-
"BlockFetch.Client.CompletedBlockFetch": {
121-
"maxFrequency": 2.0
139+
"Net.InboundGovernor": {
140+
"severity": "Warning"
141+
},
142+
"Net.InboundGovernor.Remote.InboundGovernorCounters": {
143+
"severity": "Info",
144+
"maxFrequency": 0.0167
145+
},
146+
"Net.InboundGovernor.Remote": {
147+
"severity": "Info"
148+
},
149+
"Net.Mux.Remote": {
150+
"severity": "Info"
151+
},
152+
"Net.PeerSelection": {
153+
"severity": "Info"
154+
},
155+
"Net.PeerSelection.Actions.ConnectionError": {
156+
"severity": "Silence"
157+
},
158+
"Resources": {
159+
"severity": "Info",
160+
"maxFrequency": 0.0167
161+
},
162+
"Startup": {
163+
"severity": "Info"
122164
}
123165
},
124166
"TurnOnLogMetrics": true,

files/configs/guild/db-sync-config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@
3636
"governance": "enable",
3737
"json_type": "text",
3838
"offchain_pool_data": "enable",
39+
"offchain_vote_data": "enable",
3940
"pool_stat": "enable",
4041
"tx_cbor": "enable"
4142
},
43+
"ledger_backend": "lsm",
44+
"snapshot_interval": {
45+
"near_tip_epoch": 35000
46+
},
4247
"minSeverity": "Info",
4348
"options": {
4449
"cfokey": {

files/configs/mainnet/config.json

Lines changed: 80 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"ByronGenesisFile": "/opt/cardano/cnode/files/byron-genesis.json",
44
"ConsensusMode": "PraosMode",
55
"ConwayGenesisFile": "/opt/cardano/cnode/files/conway-genesis.json",
6-
"EnableP2P": true,
76
"LastKnownBlockVersion-Alt": 0,
87
"LastKnownBlockVersion-Major": 3,
98
"LastKnownBlockVersion-Minor": 0,
@@ -15,83 +14,81 @@
1514
},
1615
"MaxKnownMajorProtocolVersion": 2,
1716
"MempoolCapacityBytesOverride": 67108864,
18-
"MinBigLedgerPeersForTrustedState": 5,
19-
"MinNodeVersion": "10.6.2",
20-
"PeerSharing": false,
17+
"MinNodeVersion": "10.7.1",
2118
"Protocol": "Cardano",
2219
"RequiresNetworkMagic": "RequiresNoMagic",
2320
"ShelleyGenesisFile": "/opt/cardano/cnode/files/shelley-genesis.json",
24-
"SyncTargetNumberOfActiveBigLedgerPeers": 30,
25-
"SyncTargetNumberOfActivePeers": 0,
26-
"SyncTargetNumberOfEstablishedBigLedgerPeers": 50,
27-
"SyncTargetNumberOfKnownBigLedgerPeers": 100,
28-
"TargetNumberOfActivePeers": 20,
29-
"TargetNumberOfEstablishedPeers": 40,
30-
"TargetNumberOfKnownPeers": 100,
31-
"TargetNumberOfRootPeers": 60,
32-
"TraceOptionMetricsPrefix": "cardano.node.metrics.",
33-
"TraceOptionNodeName": "cnode",
34-
"TraceOptionResourceFrequency": 1000,
3521
"TraceOptionForwarder": {
3622
"connQueueSize": 64,
3723
"disconnQueueSize": 128,
3824
"maxReconnectDelay": 30
3925
},
26+
"TraceOptionMetricsPrefix": "cardano.node.metrics.",
27+
"TraceOptionNodeName": "cnode",
28+
"TraceOptionResourceFrequency": 1000,
4029
"TraceOptions": {
4130
"": {
4231
"backends": [
43-
"Stdout MachineFormat",
44-
"PrometheusSimple 127.0.0.1 12798"
32+
"PrometheusSimple suffix 127.0.0.1 12798",
33+
"Stdout MachineFormat"
4534
],
35+
"detail": "DNormal",
4636
"severity": "Notice"
4737
},
48-
"Startup": {
38+
"BlockFetch.Client.CompletedBlockFetch": {
39+
"severity": "Info",
40+
"maxFrequency": 4.0
41+
},
42+
"BlockFetch.Decision": {
4943
"severity": "Info"
5044
},
51-
"Resources": {
52-
"severity": "Info",
53-
"maxFrequency": 0.0167
45+
"BlockFetch.Client.SendFetchRequest": {
46+
"severity": "Info"
5447
},
55-
"ChainDB.LedgerEvent.Replay": {
56-
"severity": "Info",
57-
"maxFrequency": 0.0668
48+
"ChainDB": {
49+
"severity": "Info"
5850
},
5951
"ChainDB.ImmDbEvent": {
6052
"severity": "Warning"
6153
},
62-
"ChainDB.ImmDbEvent.ChunkValidation.ValidatedChunk": {
63-
"severity": "Info"
54+
"ChainDB.AddBlockEvent.AddBlockValidation": {
55+
"severity": "Silence"
6456
},
65-
"Net.ConnectionManager.Remote": {
66-
"severity": "Info"
57+
"ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate": {
58+
"maxFrequency": 2.0
6759
},
68-
"Net.PeerSelection": {
69-
"severity": "Info"
60+
"ChainDB.AddBlockEvent.AddedBlockToQueue": {
61+
"maxFrequency": 2.0
7062
},
71-
" Net.PeerSelection.Actions.ConnectionError": {
72-
"severity": "Silence"
63+
"ChainDB.AddBlockEvent.AddedBlockToVolatileDB": {
64+
"maxFrequency": 2.0
7365
},
74-
"Net.InboundGovernor.Remote": {
75-
"severity": "Info"
66+
"ChainDB.AddBlockEvent.AddedToCurrentChain": {
67+
"maxFrequency": 2.0
7668
},
77-
"Net.InboundGovernor.Remote.InboundGovernorCounters": {
78-
"severity": "Info",
79-
"maxFrequency": 0.0167
69+
"ChainDB.AddBlockEvent.SwitchedToAFork": {
70+
"severity": "Info"
8071
},
81-
"Net.ErrorPolicy": {
72+
"ChainDB.ImmDbEvent.ChunkValidation.ValidatedChunk": {
8273
"severity": "Info"
8374
},
84-
"Net.AcceptPolicy.ConnectionRateLimiting": {
85-
"severity": "Info",
86-
"maxFrequency": 0.0167
75+
"ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB": {
76+
"maxFrequency": 2.0
8777
},
88-
"Net.AcceptPolicy.ConnectionLimitResume": {
78+
"ChainDB.LedgerEvent.Replay": {
8979
"severity": "Info",
90-
"maxFrequency": 0.0167
80+
"maxFrequency": 0.0668
81+
},
82+
"ChainDB.LedgerEvent.Forker": {
83+
"severity": "Silence"
9184
},
9285
"ChainSync.Client": {
9386
"severity": "Warning"
9487
},
88+
"ChainSync.Client.DownloadedHeader": {
89+
"severity": "Info",
90+
"maxFrequency": 14.0
91+
},
9592
"Forge.Loop": {
9693
"severity": "Info"
9794
},
@@ -105,22 +102,54 @@
105102
"severity": "Info",
106103
"maxFrequency": 0.0002783
107104
},
108-
"ChainDB.AddBlockEvent.SwitchedToAFork": {
105+
"Mempool": {
106+
"severity": "Silence"
107+
},
108+
"Mempool.AttemptAdd": {
109+
"severity": "Silence"
110+
},
111+
"Mempool.SyncNotNeeded": {
112+
"severity": "Silence"
113+
},
114+
"Net.AcceptPolicy.ConnectionRateLimiting": {
115+
"severity": "Info",
116+
"maxFrequency": 0.0167
117+
},
118+
"Net.AcceptPolicy.ConnectionLimitResume": {
119+
"severity": "Info",
120+
"maxFrequency": 0.0167
121+
},
122+
"Net.ConnectionManager.Remote": {
109123
"severity": "Info"
110124
},
111-
"ChainDB.AddBlockEvent.AddedToCurrentChain": {
112-
"maxFrequency": 2.0
125+
"Net.ErrorPolicy": {
126+
"severity": "Info"
113127
},
114-
"ChainSync.Client.DownloadedHeader": {
128+
"Net.InboundGovernor": {
129+
"severity": "Warning"
130+
},
131+
"Net.InboundGovernor.Remote.InboundGovernorCounters": {
115132
"severity": "Info",
116-
"maxFrequency": 14.0
133+
"maxFrequency": 0.0167
117134
},
118-
"BlockFetch.Client.SendFetchRequest": {
135+
"Net.InboundGovernor.Remote": {
119136
"severity": "Info"
120137
},
121-
"BlockFetch.Client.CompletedBlockFetch": {
138+
"Net.Mux.Remote": {
139+
"severity": "Info"
140+
},
141+
"Net.PeerSelection": {
142+
"severity": "Info"
143+
},
144+
"Net.PeerSelection.Actions.ConnectionError": {
145+
"severity": "Silence"
146+
},
147+
"Resources": {
122148
"severity": "Info",
123-
"maxFrequency": 4.0
149+
"maxFrequency": 0.0167
150+
},
151+
"Startup": {
152+
"severity": "Info"
124153
}
125154
},
126155
"TurnOnLogMetrics": true,

0 commit comments

Comments
 (0)