Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"heavyDelThd": "300000000000",
"maxBlockSize": "2000000",
"maxTxSize": "4096",
"maxHeaderSize": "2000000",
"maxProposalSize": "700",
"mpcThd": "20000000000000",
"scriptVersion": 0,
"slotDuration": "2000",
"softforkRule": {
"initThd": "900000000000000",
"minThd": "600000000000000",
"thdDecrement": "50000000000000"
},
"txFeePolicy": {
"multiplier": "43946000000",
"summand": "155381000000000"
},
"unlockStakeEpoch": "18446744073709551615",
"updateImplicit": "10000",
"updateProposalThd": "100000000000000",
"updateVoteThd": "1000000000000"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

echo "Starting cardano-node run with PID $$: cardano-node run"
echo "--config ./state-cluster%%INSTANCE_NUM%%/config-bft1.json"
echo "--database-path ./state-cluster%%INSTANCE_NUM%%/db-bft1"
echo "--topology ./state-cluster%%INSTANCE_NUM%%/topology-bft1.json"
echo "--host-addr 127.0.0.1"
echo "--port %%NODE_PORT_BASE%%"
echo "--socket-path ./state-cluster%%INSTANCE_NUM%%/bft1.socket $*"

echo "..or, once again, in a single line:"
echo "cardano-node run --config ./state-cluster%%INSTANCE_NUM%%/config-bft1.json --database-path ./state-cluster%%INSTANCE_NUM%%/db-bft1 --topology ./state-cluster%%INSTANCE_NUM%%/topology-bft1.json --host-addr 127.0.0.1 --port %%NODE_PORT_BASE%% --socket-path ./state-cluster%%INSTANCE_NUM%%/bft1.socket $*"


exec cardano-node run --config ./state-cluster%%INSTANCE_NUM%%/config-bft1.json --database-path ./state-cluster%%INSTANCE_NUM%%/db-bft1 --topology ./state-cluster%%INSTANCE_NUM%%/topology-bft1.json --host-addr 127.0.0.1 --port %%NODE_PORT_BASE%% --socket-path ./state-cluster%%INSTANCE_NUM%%/bft1.socket "$@"
116 changes: 116 additions & 0 deletions cardano_node_tests/cluster_scripts/conway_fast/dbsync-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Explorer DB Node configuration

NetworkName: localnet

EnableLogMetrics: False
EnableLogging: True
EnableFutureGenesis: True

# The default port is 8080
# PrometheusPort: 8080

# The config file for the node we are connecting to. If this is not the correct
# config, it will likely lead to db-sync throwing up weird error messages from
# the consensus layer.
# The path to the node config file is relative to this config file.
NodeConfigFile: config-bft1.json

# ------------------------------------------------------------------------------
# Logging configuration follows.

# global filter; messages must have at least this severity to pass:
minSeverity: Info

# global file rotation settings:
rotation:
rpLogLimitBytes: 5000000
rpKeepFilesNum: 10
rpMaxAgeHours: 24

# these backends are initialized:
setupBackends:
- AggregationBK
- KatipBK
# - EditorBK
# - EKGViewBK

# if not indicated otherwise, then messages are passed to these backends:
defaultBackends:
- KatipBK

# if wanted, the GUI is listening on this port:
# hasGUI: 12787

# if wanted, the EKG interface is listening on this port:
# hasEKG: 12788

# here we set up outputs of logging in 'katip':
setupScribes:
- scKind: StdoutSK
scName: stdout
scFormat: ScText
scRotation: null

# if not indicated otherwise, then log output is directed to this:
defaultScribes:
- - StdoutSK
- stdout

# more options which can be passed as key-value pairs:
options:
cfokey:
value: "Release-1.0.0"
mapSubtrace:
benchmark:
contents:
- GhcRtsStats
- MonotonicClock
subtrace: ObservableTrace
'#ekgview':
contents:
- - tag: Contains
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: StartsWith
contents: '#ekgview.#aggregation.cardano.epoch-validation.benchmark'
- - tag: Contains
contents: diff.RTS.gcNum.timed.
subtrace: FilterTrace
'cardano.epoch-validation.utxo-stats':
# Change the `subtrace` value to `Neutral` in order to log
# `UTxO`-related messages during epoch validation.
subtrace: NoTrace
'#messagecounters.aggregation':
subtrace: NoTrace
'#messagecounters.ekgview':
subtrace: NoTrace
'#messagecounters.switchboard':
subtrace: NoTrace
'#messagecounters.katip':
subtrace: NoTrace
'#messagecounters.monitoring':
subtrace: NoTrace
'cardano.#messagecounters.aggregation':
subtrace: NoTrace
'cardano.#messagecounters.ekgview':
subtrace: NoTrace
'cardano.#messagecounters.switchboard':
subtrace: NoTrace
'cardano.#messagecounters.katip':
subtrace: NoTrace
'cardano.#messagecounters.monitoring':
subtrace: NoTrace
mapBackends:
cardano.epoch-validation.benchmark:
- AggregationBK
'#aggregation.cardano.epoch-validation.benchmark':
- EKGViewBK
mapSeverity:
db-sync-node.Subscription: Error
db-sync-node.Mux: Error
db-sync-node: Info
Loading
Loading