Skip to content

services.cardano-db-sync

services.cardano-db-sync.enable

Whether to enable enable the cardano-db-sync service.

Type: boolean

Default: false

Example: true

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.package

Type: package

Default: <derivation cardano-db-sync-exe-cardano-db-sync-13.6.0.1>

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.cluster

cluster name

Type: null or string

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.dbSyncPkgs

The cardano-db-sync packages and library that should be used. Main usage is sharing optimization: reduce eval time when service is instantiated multiple times.

Type: attribute set

Default: "cardano-db-sync pkgs"

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.disableLedger

Disables the leger state. Drastically reduces memory usage and it syncs faster, but some data are missing.

Type: boolean

Default: false

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.environment

Type: null or (attribute set)

Default:

This value is long. Click to expand.
  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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
{
  confKey = "mainnet_full";
  consensusProtocol = "Cardano";
  dbSyncConfig = {
    EnableFutureGenesis = true;
    EnableLogMetrics = false;
    EnableLogging = true;
    NetworkName = "mainnet";
    NodeConfigFile = "/nix/store/kcl7gc0q0w70c51lnfh1cdk70niylshd-config-mainnet.json";
    PrometheusPort = 8080;
    RequiresNetworkMagic = "RequiresNoMagic";
    defaultBackends = [
      "KatipBK"
    ];
    defaultScribes = [
      [
        "StdoutSK"
        "stdout"
      ]
    ];
    minSeverity = "Info";
    options = {
      cfokey = {
        value = "Release-1.0.0";
      };
      mapBackends = { };
      mapSeverity = {
        db-sync-node = "Info";
        "db-sync-node.Mux" = "Error";
        "db-sync-node.Subscription" = "Error";
      };
      mapSubtrace = {
        "#ekgview" = {
          contents = [
            [
              {
                contents = "cardano.epoch-validation.benchmark";
                tag = "Contains";
              }
              [
                {
                  contents = ".monoclock.basic.";
                  tag = "Contains";
                }
              ]
            ]
            [
              {
                contents = "cardano.epoch-validation.benchmark";
                tag = "Contains";
              }
              [
                {
                  contents = "diff.RTS.cpuNs.timed.";
                  tag = "Contains";
                }
              ]
            ]
            [
              {
                contents = "#ekgview.#aggregation.cardano.epoch-validation.benchmark";
                tag = "StartsWith";
              }
              [
                {
                  contents = "diff.RTS.gcNum.timed.";
                  tag = "Contains";
                }
              ]
            ]
          ];
          subtrace = "FilterTrace";
        };
        "#messagecounters.aggregation" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.ekgview" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.katip" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.monitoring" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.switchboard" = {
          subtrace = "NoTrace";
        };
        benchmark = {
          contents = [
            "GhcRtsStats"
            "MonotonicClock"
          ];
          subtrace = "ObservableTrace";
        };
        "cardano.epoch-validation.utxo-stats" = {
          subtrace = "NoTrace";
        };
      };
    };
    rotation = {
      rpKeepFilesNum = 10;
      rpLogLimitBytes = 5000000;
      rpMaxAgeHours = 24;
    };
    setupBackends = [
      "AggregationBK"
      "KatipBK"
    ];
    setupScribes = [
      {
        scFormat = "ScText";
        scKind = "StdoutSK";
        scName = "stdout";
        scRotation = null;
      }
    ];
  };
  domain = "cardano-mainnet.iohk.io";
  edgeNodes = [
    {
      addr = "backbone.cardano.iog.io";
      port = 3001;
    }
    {
      addr = "backbone.mainnet.cardanofoundation.org";
      port = 3001;
    }
    {
      addr = "backbone.mainnet.emurgornd.com";
      port = 3001;
    }
  ];
  edgePort = 3001;
  explorerConfig = {
    NetworkName = "mainnet";
    NodeConfigFile = "/nix/store/kcl7gc0q0w70c51lnfh1cdk70niylshd-config-mainnet.json";
    RequiresNetworkMagic = "RequiresNoMagic";
  };
  explorerUrl = "https://explorer.cardano.org";
  extraDbSyncConfig = {
    enableFutureGenesis = true;
  };
  metadataUrl = "https://tokens.cardano.org";
  mithrilAggregatorEndpointUrl = "https://aggregator.release-mainnet.api.mithril.network/aggregator";
  mithrilEraReaderParams = {
    address = "addr1qy72kwgm6kypyc5maw0h8mfagwag8wjnx6emgfnsnhqaml6gx7gg4tzplw9l32nsgclqax7stc4u6c5dn0ctljwscm2sqv0teg";
    verification_key = "5b31312c3133342c3231352c37362c3134312c3232302c3131312c3135342c36332c3233302c3131342c31322c38372c37342c39342c3137322c3133322c32372c39362c3138362c3132362c3137382c31392c3131342c33302c3234332c36342c3134312c3131302c38332c38362c31395d";
  };
  mithrilGenesisVerificationKey = "5b3139312c36362c3134302c3138352c3133382c31312c3233372c3230372c3235302c3134342c32372c322c3138382c33302c31322c38312c3135352c3230342c31302c3137392c37352c32332c3133382c3139362c3231372c352c31342c32302c35372c37392c33392c3137365d";
  mithrilSignerConfig = {
    aggregator_endpoint = "https://aggregator.release-mainnet.api.mithril.network/aggregator";
    era_reader_adapter_params = "{\"address\":\"addr1qy72kwgm6kypyc5maw0h8mfagwag8wjnx6emgfnsnhqaml6gx7gg4tzplw9l32nsgclqax7stc4u6c5dn0ctljwscm2sqv0teg\",\"verification_key\":\"5b31312c3133342c3231352c37362c3134312c3232302c3131312c3135342c36332c3233302c3131342c31322c38372c37342c39342c3137322c3133322c32372c39362c3138362c3132362c3137382c31392c3131342c33302c3234332c36342c3134312c3131302c38332c38362c31395d\"}";
    era_reader_adapter_type = "cardano-chain";
    network = "mainnet";
    network_magic = 764824073;
    run_interval = 60000;
    store_retention_limit = 5;
  };
  name = "mainnet";
  networkConfig = {
    AlonzoGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/alonzo-genesis.json;
    AlonzoGenesisHash = "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874";
    ByronGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/byron-genesis.json;
    ByronGenesisHash = "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb";
    ConwayGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/conway-genesis.json;
    ConwayGenesisHash = "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62";
    EnableP2P = true;
    LastKnownBlockVersion-Alt = 0;
    LastKnownBlockVersion-Major = 3;
    LastKnownBlockVersion-Minor = 0;
    MaxKnownMajorProtocolVersion = 2;
    MinNodeVersion = "8.12.0";
    PeerSharing = true;
    Protocol = "Cardano";
    RequiresNetworkMagic = "RequiresNoMagic";
    ShelleyGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/shelley-genesis.json;
    ShelleyGenesisHash = "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81";
    TargetNumberOfActivePeers = 20;
    TargetNumberOfEstablishedPeers = 50;
    TargetNumberOfKnownPeers = 150;
    TargetNumberOfRootPeers = 60;
    TraceMempool = false;
  };
  networkConfigBp = {
    AlonzoGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/alonzo-genesis.json;
    AlonzoGenesisHash = "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874";
    ByronGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/byron-genesis.json;
    ByronGenesisHash = "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb";
    ConwayGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/conway-genesis.json;
    ConwayGenesisHash = "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62";
    EnableP2P = true;
    LastKnownBlockVersion-Alt = 0;
    LastKnownBlockVersion-Major = 3;
    LastKnownBlockVersion-Minor = 0;
    MaxKnownMajorProtocolVersion = 2;
    MinNodeVersion = "8.12.0";
    PeerSharing = false;
    Protocol = "Cardano";
    RequiresNetworkMagic = "RequiresNoMagic";
    ShelleyGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/shelley-genesis.json;
    ShelleyGenesisHash = "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81";
    TargetNumberOfActivePeers = 20;
    TargetNumberOfEstablishedPeers = 50;
    TargetNumberOfKnownPeers = 100;
    TargetNumberOfRootPeers = 100;
    TraceMempool = false;
  };
  nodeConfig = {
    AlonzoGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/alonzo-genesis.json;
    AlonzoGenesisHash = "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874";
    ByronGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/byron-genesis.json;
    ByronGenesisHash = "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb";
    ConwayGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/conway-genesis.json;
    ConwayGenesisHash = "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62";
    EnableP2P = true;
    LastKnownBlockVersion-Alt = 0;
    LastKnownBlockVersion-Major = 3;
    LastKnownBlockVersion-Minor = 0;
    MaxKnownMajorProtocolVersion = 2;
    MinNodeVersion = "8.12.0";
    PeerSharing = true;
    Protocol = "Cardano";
    RequiresNetworkMagic = "RequiresNoMagic";
    ShelleyGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/shelley-genesis.json;
    ShelleyGenesisHash = "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81";
    TargetNumberOfActivePeers = 20;
    TargetNumberOfEstablishedPeers = 50;
    TargetNumberOfKnownPeers = 150;
    TargetNumberOfRootPeers = 60;
    TraceAcceptPolicy = true;
    TraceBlockFetchClient = false;
    TraceBlockFetchDecisions = false;
    TraceBlockFetchProtocol = false;
    TraceBlockFetchProtocolSerialised = false;
    TraceBlockFetchServer = false;
    TraceChainDb = true;
    TraceChainSyncBlockServer = false;
    TraceChainSyncClient = false;
    TraceChainSyncHeaderServer = false;
    TraceChainSyncProtocol = false;
    TraceConnectionManager = true;
    TraceDNSResolver = true;
    TraceDNSSubscription = true;
    TraceDiffusionInitialization = true;
    TraceErrorPolicy = true;
    TraceForge = true;
    TraceHandshake = true;
    TraceInboundGovernor = true;
    TraceIpSubscription = true;
    TraceLedgerPeers = true;
    TraceLocalChainSyncProtocol = false;
    TraceLocalConnectionManager = true;
    TraceLocalErrorPolicy = true;
    TraceLocalHandshake = true;
    TraceLocalRootPeers = true;
    TraceLocalTxSubmissionProtocol = false;
    TraceLocalTxSubmissionServer = false;
    TraceMempool = false;
    TraceMux = false;
    TracePeerSelection = true;
    TracePeerSelectionActions = true;
    TracePublicRootPeers = true;
    TraceServer = true;
    TraceTxInbound = false;
    TraceTxOutbound = false;
    TraceTxSubmissionProtocol = false;
    TracingVerbosity = "NormalVerbosity";
    TurnOnLogMetrics = true;
    TurnOnLogging = true;
    defaultBackends = [
      "KatipBK"
    ];
    defaultScribes = [
      [
        "StdoutSK"
        "stdout"
      ]
    ];
    hasEKG = 12788;
    hasPrometheus = [
      "127.0.0.1"
      12798
    ];
    minSeverity = "Info";
    options = {
      mapBackends = {
        "cardano.node.metrics" = [
          "EKGViewBK"
        ];
        "cardano.node.resources" = [
          "EKGViewBK"
        ];
      };
      mapSubtrace = {
        "cardano.node.metrics" = {
          subtrace = "Neutral";
        };
      };
    };
    rotation = {
      rpKeepFilesNum = 10;
      rpLogLimitBytes = 5000000;
      rpMaxAgeHours = 24;
    };
    setupBackends = [
      "KatipBK"
    ];
    setupScribes = [
      {
        scFormat = "ScText";
        scKind = "StdoutSK";
        scName = "stdout";
        scRotation = null;
      }
    ];
  };
  nodeConfigBp = {
    AlonzoGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/alonzo-genesis.json;
    AlonzoGenesisHash = "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874";
    ByronGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/byron-genesis.json;
    ByronGenesisHash = "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb";
    ConwayGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/conway-genesis.json;
    ConwayGenesisHash = "15a199f895e461ec0ffc6dd4e4028af28a492ab4e806d39cb674c88f7643ef62";
    EnableP2P = true;
    LastKnownBlockVersion-Alt = 0;
    LastKnownBlockVersion-Major = 3;
    LastKnownBlockVersion-Minor = 0;
    MaxKnownMajorProtocolVersion = 2;
    MinNodeVersion = "8.12.0";
    PeerSharing = false;
    Protocol = "Cardano";
    RequiresNetworkMagic = "RequiresNoMagic";
    ShelleyGenesisFile = /nix/store/nbcfi227xls2zyic9gcrspnlwlgr5dln-source/cardano-lib/mainnet/shelley-genesis.json;
    ShelleyGenesisHash = "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81";
    TargetNumberOfActivePeers = 20;
    TargetNumberOfEstablishedPeers = 50;
    TargetNumberOfKnownPeers = 100;
    TargetNumberOfRootPeers = 100;
    TraceAcceptPolicy = true;
    TraceBlockFetchClient = false;
    TraceBlockFetchDecisions = false;
    TraceBlockFetchProtocol = false;
    TraceBlockFetchProtocolSerialised = false;
    TraceBlockFetchServer = false;
    TraceChainDb = true;
    TraceChainSyncBlockServer = false;
    TraceChainSyncClient = false;
    TraceChainSyncHeaderServer = false;
    TraceChainSyncProtocol = false;
    TraceConnectionManager = true;
    TraceDNSResolver = true;
    TraceDNSSubscription = true;
    TraceDiffusionInitialization = true;
    TraceErrorPolicy = true;
    TraceForge = true;
    TraceHandshake = true;
    TraceInboundGovernor = true;
    TraceIpSubscription = true;
    TraceLedgerPeers = true;
    TraceLocalChainSyncProtocol = false;
    TraceLocalConnectionManager = true;
    TraceLocalErrorPolicy = true;
    TraceLocalHandshake = true;
    TraceLocalRootPeers = true;
    TraceLocalTxSubmissionProtocol = false;
    TraceLocalTxSubmissionServer = false;
    TraceMempool = false;
    TraceMux = false;
    TracePeerSelection = true;
    TracePeerSelectionActions = true;
    TracePublicRootPeers = true;
    TraceServer = true;
    TraceTxInbound = false;
    TraceTxOutbound = false;
    TraceTxSubmissionProtocol = false;
    TracingVerbosity = "NormalVerbosity";
    TurnOnLogMetrics = true;
    TurnOnLogging = true;
    defaultBackends = [
      "KatipBK"
    ];
    defaultScribes = [
      [
        "StdoutSK"
        "stdout"
      ]
    ];
    hasEKG = 12788;
    hasPrometheus = [
      "127.0.0.1"
      12798
    ];
    minSeverity = "Info";
    options = {
      mapBackends = {
        "cardano.node.metrics" = [
          "EKGViewBK"
        ];
        "cardano.node.resources" = [
          "EKGViewBK"
        ];
      };
      mapSubtrace = {
        "cardano.node.metrics" = {
          subtrace = "Neutral";
        };
      };
    };
    rotation = {
      rpKeepFilesNum = 10;
      rpLogLimitBytes = 5000000;
      rpMaxAgeHours = 24;
    };
    setupBackends = [
      "KatipBK"
    ];
    setupScribes = [
      {
        scFormat = "ScText";
        scKind = "StdoutSK";
        scName = "stdout";
        scRotation = null;
      }
    ];
  };
  private = false;
  relaysNew = "backbone.cardano.iog.io";
  smashUrl = "https://smash.cardano-mainnet.iohk.io";
  submitApiConfig = {
    EnableLogMetrics = false;
    EnableLogging = true;
    GenesisHash = "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb";
    PrometheusPort = 8080;
    RequiresNetworkMagic = "RequiresNoMagic";
    defaultBackends = [
      "KatipBK"
    ];
    defaultScribes = [
      [
        "StdoutSK"
        "stdout"
      ]
    ];
    minSeverity = "Info";
    options = {
      cfokey = {
        value = "Release-1.0.0";
      };
      mapBackends = { };
      mapSeverity = {
        db-sync-node = "Info";
        "db-sync-node.Mux" = "Error";
        "db-sync-node.Subscription" = "Error";
      };
      mapSubtrace = {
        "#ekgview" = {
          contents = [
            [
              {
                contents = "cardano.epoch-validation.benchmark";
                tag = "Contains";
              }
              [
                {
                  contents = ".monoclock.basic.";
                  tag = "Contains";
                }
              ]
            ]
            [
              {
                contents = "cardano.epoch-validation.benchmark";
                tag = "Contains";
              }
              [
                {
                  contents = "diff.RTS.cpuNs.timed.";
                  tag = "Contains";
                }
              ]
            ]
            [
              {
                contents = "#ekgview.#aggregation.cardano.epoch-validation.benchmark";
                tag = "StartsWith";
              }
              [
                {
                  contents = "diff.RTS.gcNum.timed.";
                  tag = "Contains";
                }
              ]
            ]
          ];
          subtrace = "FilterTrace";
        };
        "#messagecounters.aggregation" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.ekgview" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.katip" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.monitoring" = {
          subtrace = "NoTrace";
        };
        "#messagecounters.switchboard" = {
          subtrace = "NoTrace";
        };
        benchmark = {
          contents = [
            "GhcRtsStats"
            "MonotonicClock"
          ];
          subtrace = "ObservableTrace";
        };
        "cardano.epoch-validation.utxo-stats" = {
          subtrace = "NoTrace";
        };
      };
    };
    rotation = {
      rpKeepFilesNum = 10;
      rpLogLimitBytes = 5000000;
      rpMaxAgeHours = 24;
    };
    setupBackends = [
      "AggregationBK"
      "KatipBK"
    ];
    setupScribes = [
      {
        scFormat = "ScText";
        scKind = "StdoutSK";
        scName = "stdout";
        scRotation = null;
      }
    ];
  };
  useByronWallet = true;
  usePeersFromLedgerAfterSlot = 128908821;
}

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.explorerConfig

Type: attribute set

Default:

This value is long. Click to expand.
{
  EnableFutureGenesis = true;
  EnableLogMetrics = false;
  EnableLogging = true;
  NetworkName = "mainnet";
  NodeConfigFile = "/nix/store/kcl7gc0q0w70c51lnfh1cdk70niylshd-config-mainnet.json";
  PrometheusPort = 8080;
  RequiresNetworkMagic = "RequiresNoMagic";
  defaultBackends = [
    "KatipBK"
  ];
  defaultScribes = [
    [
      "StdoutSK"
      "stdout"
    ]
  ];
  minSeverity = "Info";
  options = {
    cfokey = {
      value = "Release-1.0.0";
    };
    mapBackends = { };
    mapSeverity = {
      db-sync-node = "Info";
      "db-sync-node.Mux" = "Error";
      "db-sync-node.Subscription" = "Error";
    };
    mapSubtrace = {
      "#ekgview" = {
        contents = [
          [
            {
              contents = "cardano.epoch-validation.benchmark";
              tag = "Contains";
            }
            [
              {
                contents = ".monoclock.basic.";
                tag = "Contains";
              }
            ]
          ]
          [
            {
              contents = "cardano.epoch-validation.benchmark";
              tag = "Contains";
            }
            [
              {
                contents = "diff.RTS.cpuNs.timed.";
                tag = "Contains";
              }
            ]
          ]
          [
            {
              contents = "#ekgview.#aggregation.cardano.epoch-validation.benchmark";
              tag = "StartsWith";
            }
            [
              {
                contents = "diff.RTS.gcNum.timed.";
                tag = "Contains";
              }
            ]
          ]
        ];
        subtrace = "FilterTrace";
      };
      "#messagecounters.aggregation" = {
        subtrace = "NoTrace";
      };
      "#messagecounters.ekgview" = {
        subtrace = "NoTrace";
      };
      "#messagecounters.katip" = {
        subtrace = "NoTrace";
      };
      "#messagecounters.monitoring" = {
        subtrace = "NoTrace";
      };
      "#messagecounters.switchboard" = {
        subtrace = "NoTrace";
      };
      benchmark = {
        contents = [
          "GhcRtsStats"
          "MonotonicClock"
        ];
        subtrace = "ObservableTrace";
      };
      "cardano.epoch-validation.utxo-stats" = {
        subtrace = "NoTrace";
      };
    };
  };
  rotation = {
    rpKeepFilesNum = 10;
    rpLogLimitBytes = 5000000;
    rpMaxAgeHours = 24;
  };
  setupBackends = [
    "AggregationBK"
    "KatipBK"
  ];
  setupScribes = [
    {
      scFormat = "ScText";
      scKind = "StdoutSK";
      scName = "stdout";
      scRotation = null;
    }
  ];
}

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.logConfig

Type: attribute set

Default: { }

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.postgres.database

the postgresql database to use

Type: string

Default: "cdbsync"

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.postgres.generatePGPASS

generate pgpass

Type: boolean

Default: true

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.postgres.port

the postgresql port

Type: signed integer

Default: 5432

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.postgres.socketdir

the path to the postgresql socket

Type: string

Default: "/run/postgresql"

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.postgres.user

the postgresql user to use

Type: string

Default: "cexplorer"

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.profiling

Enable GHC profiling.

Type: boolean

Default: false

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.restoreSnapshot

Restore a snapshot before starting cardano-db-sync, if the snasphot file given by the option exist. Snapshot file is deleted after restore.

Type: null or string

Default: null

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.restoreSnapshotSha

SHA256 checksum of the snapshot to restore

Type: null or string

Default: null

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.restoreSnapshotSigKey

Key ID for verifying the snaspshot signature. (Signature check disabled if null)

Type: null or string

Default: null

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.rtsArgs

Extra CLI args, to be surrounded by “+RTS”/“-RTS”

Type: list of string

Default: [ ]

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.socketPath

Type: null or path

Default: null

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.stateDir

Type: null or string

Default: "/var/lib/cexplorer"

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix

services.cardano-db-sync.takeSnapshot

Take snapshot before starting cardano-db-sync, “once” (skip if there is one already), “always” (removing previous snapshot), or “never”.

Type: one of “never”, “once”, “always”

Default: "never"

Declared by: - https://github.com/IntersectMBO/cardano-db-sync/tree/master/nix/nixos/cardano-db-sync-service.nix