Skip to content

Commit a07154c

Browse files
committed
add dolos to local-env
1 parent 7dfdfda commit a07154c

File tree

6 files changed

+290
-366
lines changed

6 files changed

+290
-366
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[upstream]
2+
peer_address = "0.0.0.0:32000"
3+
network_magic = 42
4+
is_testnet = true
5+
6+
[storage]
7+
version = "v1"
8+
path = "/data"
9+
max_wal_history = 10000
10+
max_chain_history = 10000
11+
12+
[genesis]
13+
byron_path = "/shared/byron/genesis.json"
14+
shelley_path = "/shared/shelley/genesis.json"
15+
alonzo_path = "/shared/shelley/genesis.alonzo.json"
16+
conway_path = "/shared/conway/genesis.conway.json"
17+
18+
[chain]
19+
type = "cardano"
20+
21+
[chain.track]
22+
account_state = true
23+
asset_state = true
24+
pool_state = true
25+
epoch_state = true
26+
drep_state = true
27+
proposal_logs = true
28+
tx_logs = true
29+
account_logs = true
30+
pool_logs = true
31+
epoch_logs = true
32+
33+
[sync]
34+
pull_batch_size = 100
35+
36+
[submit]
37+
prune_height = 200
38+
39+
[serve.grpc]
40+
listen_address = "[::]:50051"
41+
42+
[serve.minibf]
43+
listen_address = "[::]:3000"
44+
45+
[logging]
46+
max_level = "INFO"
47+
include_tokio = false
48+
include_pallas = false
49+
include_grpc = false
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
echo "Waiting for Cardano chain to start..."
4+
5+
while true; do
6+
if [ -f "/shared/cardano.ready" ]; then
7+
break
8+
else
9+
sleep 1
10+
fi
11+
done
12+
13+
echo "Cardano chain ready. Starting Dolos..."
14+
15+
exec dolos daemon --config=/dolos.toml

0 commit comments

Comments
 (0)