-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_ogmios-datum-cache.sh
executable file
·28 lines (24 loc) · 1.31 KB
/
start_ogmios-datum-cache.sh
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
#!/usr/bin/env bash
# ODC needs a running ogmios instance to work. Start it with ./start_ogmios_<network>.sh
./bin/ogmios-datum-cache \
--db-port 5432 \
--db-host localhost \
--db-user odc \
--db-password odc \
--db-name ogmios_datum_cache \
--server-port 8027 \
--server-api "odcuser:odcpass" \
--ogmios-address "localhost" \
--ogmios-port 1337 \
# ./bin/ogmios-datum-cache --db-port 5432 --db-host localhost --db-user odc --db-password odc --db-name ogmios_datum_cache --server-port 8027 --server-api "usr:pwd" --ogmios-address "localhost" --ogmios-port 1337
# Usage: ogmios-datum-cache (--db-port PORT --db-host HOST_NAME
# --db-user USER_NAME [--db-password PASSWORD]
# --db-name DB_NAME |
# --db-connection POSTGRES_LIBPQ_CONNECTION_STRING)
# --server-port PORT
# --server-api SERVER_CONTROL_API_TOKEN
# --ogmios-address ADDRESS --ogmios-port PORT
# [--block-slot INT --block-hash HASH | --from-origin |
# --from-tip] [--block-filter FILTER] [--use-latest]
# [--queue-size NATURAL] [--log-level LOG_LEVEL]
# [--old-ogmios]