forked from IntersectMBO/cardano-node
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-0.yaml
163 lines (118 loc) · 3.57 KB
/
config-0.yaml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# global filter; messages must have at least this severity to pass:
minSeverity: Debug
# global file rotation settings:
rotation:
rpLogLimitBytes: 5000000
rpKeepFilesNum: 10
rpMaxAgeHours: 24
# these backends are initialized:
setupBackends:
- KatipBK
# if not indicated otherwise, then messages are passed to these backends:
defaultBackends:
- KatipBK
# if wanted, the EKG interface is listening on this port:
#hasEKG: 12781
#hasPrometheus:
# - "127.0.0.1"
# - 13788
# here we set up outputs of logging in 'katip':
setupScribes:
- scKind: FileSK
scName: "logs/node-0.log"
scFormat: ScText
- scKind: StdoutSK
scName: stdout
scFormat: ScText
scRotation: null
# if not indicated otherwise, then log output is directed to this:
defaultScribes:
- - FileSK
- "logs/node-0.log"
- - StdoutSK
- stdout
# more options which can be passed as key-value pairs:
options:
mapBackends:
cardano.node.metrics:
- EKGViewBK
# Uncomment it to forward node's metrics to remote socket '127.0.0.1:2997'.
# traceForwardTo:
# tag: RemoteSocket
# contents:
# - "127.0.0.1"
# - "2997"
##########################################################
############### Cardano Node Configuration ###############
##########################################################
Protocol: RealPBFT
GenesisFile: genesis/genesis.json
NumCoreNodes: 1
RequiresNetworkMagic: RequiresMagic
PBftSignatureThreshold:
TurnOnLogging: True
TurnOnLogMetrics: True
SocketPath:
##### Update Parameters #####
LastKnownBlockVersion-Major: 0
LastKnownBlockVersion-Minor: 2
LastKnownBlockVersion-Alt: 0
##### Tracing #####
# MinimalVerbosity: Minimal level of the rendering of captured items
# MaximalVerbosity: Maximal level of the rendering of captured items
# NormalVerbosity: the default level of the rendering of captured items
TracingVerbosity: NormalVerbosity
# Trace BlockFetch client.
TraceBlockFetchClient: True
# Trace BlockFetch decisions made by the BlockFetch client.
TraceBlockFetchDecisions: True
# Trace BlockFetch protocol messages.
TraceBlockFetchProtocol: True
# Serialised Trace BlockFetch protocol messages.
TraceBlockFetchProtocolSerialised: False
# Trace BlockFetch server.
TraceBlockFetchServer: True
# Trace BlockchainTime.
TraceBlockchainTime: True
# Verbose tracer of ChainDB
TraceChainDb: False
# Trace ChainSync client.
TraceChainSyncClient: False
# Trace ChainSync server (blocks).
TraceChainSyncBlockServer: False
# Trace ChainSync server (headers).
TraceChainSyncHeaderServer: False
# Trace ChainSync protocol messages.
TraceChainSyncProtocol: True
# Trace DNS Resolver messages.
TraceDNSResolver: False
# Trace DNS Subscription messages.
TraceDNSSubscription: False
# Trace error policy resolution.
TraceErrorPolicy: False
# Trace local error policy resolution.
TraceLocalErrorPolicy: True
# Trace block forging.
TraceForge: True
# Trace Handshake protocol messages.
TraceHandshake: False
# Trace IP Subscription messages.
TraceIpSubscription: False
# Trace local ChainSync protocol messages.
TraceLocalChainSyncProtocol: True
# Trace local Handshake protocol messages.
TraceLocalHandshake: False
# Trace local TxSubmission protocol messages.
TraceLocalTxSubmissionProtocol: True
# Trace local TxSubmission server.
TraceLocalTxSubmissionServer: True
# Trace mempool.
TraceMempool: True
# Trace Mux Events.
TraceMux: False
# Trace TxSubmission server (inbound transactions).
TraceTxInbound: True
# Trace TxSubmission client (outbound transactions).
TraceTxOutbound: True
# Trace TxSubmission protocol messages.
TraceTxSubmissionProtocol: True