Skip to content
Merged
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
51 changes: 51 additions & 0 deletions dev/local-environment/configurations/dolos/dolos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[upstream]
peer_address = "cardano-node-1:32000"
network_magic = 42
is_testnet = true

[storage]
version = "v1"
path = "/data"
max_wal_history = 10000
max_chain_history = 10000

[genesis]
byron_path = "/shared/byron/genesis.json"
shelley_path = "/shared/shelley/genesis.json"
alonzo_path = "/shared/shelley/genesis.alonzo.json"
conway_path = "/shared/conway/genesis.conway.json"

[chain]
type = "cardano"

[chain.track]
account_state = true
asset_state = true
pool_state = true
epoch_state = true
drep_state = true
proposal_logs = true
tx_logs = true
account_logs = true
pool_logs = true
epoch_logs = true

[sync]
pull_batch_size = 100

[submit]
prune_height = 200

[serve.grpc]
listen_address = "[::]:50051"

[serve.minibf]
listen_address = "[::]:3000"

[logging]
max_level = "DEBUG"
include_tokio = true
include_pallas = true
include_grpc = true
include_trp = true
include_minibf = true
15 changes: 15 additions & 0 deletions dev/local-environment/configurations/dolos/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

echo "Waiting for Cardano chain to start..."

while true; do
if [ -f "/shared/cardano.ready" ]; then
break
else
sleep 1
fi
done

echo "Cardano chain ready. Starting Dolos..."

exec dolos daemon --config=/dolos.toml
Loading
Loading