|
| 1 | +# https://dolos.txpipe.io/configuration |
| 2 | +[upstream] |
| 3 | +{% if dolos_network == "preprod" %} |
| 4 | +{% set network_magic = 1 %} |
| 5 | +network_magic = {{ network_magic }} |
| 6 | +peer_address = "preprod-node.world.dev.cardano.org:3001" |
| 7 | +is_testnet = true |
| 8 | +{% elif dolos_network == "preview" %} |
| 9 | +{% set network_magic = 2 %} |
| 10 | +network_magic = {{ network_magic }} |
| 11 | +peer_address = "preview-node.play.dev.cardano.org:3001" |
| 12 | +is_testnet = true |
| 13 | +{% elif dolos_network == "sanchonet" %} |
| 14 | +{% set network_magic = 4 %} |
| 15 | +network_magic = {{ network_magic }} |
| 16 | +peer_address = "sanchonet-node.play.dev.cardano.org:3001" |
| 17 | +is_testnet = true |
| 18 | +{% else %} |
| 19 | +{% set network_magic = 764824073 %} |
| 20 | +network_magic = {{ network_magic }} |
| 21 | +peer_address = "backbone.mainnet.cardanofoundation.org:3001" |
| 22 | +is_testnet = false |
| 23 | +{% endif %} |
| 24 | + |
| 25 | +[storage] |
| 26 | +path = "/data/db" |
| 27 | +wal_size = 1000 |
| 28 | + |
| 29 | +[relay] |
| 30 | +listen_address = "[::]:30013" |
| 31 | +magic = {{ network_magic }} |
| 32 | + |
| 33 | +[sync] |
| 34 | +pull_batch_size = 100 |
| 35 | + |
| 36 | +[submit] |
| 37 | +prune_height = 200 |
| 38 | + |
| 39 | +[genesis] |
| 40 | +byron_path = "/config/byron-genesis.json" |
| 41 | +shelley_path = "/config/shelley-genesis.json" |
| 42 | +alonzo_path = "/config/alonzo-genesis.json" |
| 43 | + |
| 44 | +[mithril] |
| 45 | +{% if dolos_network == "preprod" %} |
| 46 | +aggregator = "https://aggregator.release-preprod.api.mithril.network/aggregator" |
| 47 | +genesis_key = "5b3132372c37332c3132342c3136312c362c3133372c3133312c3231332c3230372c3131372c3139382c38352c3137362c3139392c3136322c3234312c36382c3132332c3131392c3134352c31332c3233322c3234332c34392c3232392c322c3234392c3230352c3230352c33392c3233352c34345d" |
| 48 | +{% elif dolos_network = "preview" %} |
| 49 | +aggregator = "https://aggregator.prerelease-preview.api.mithril.network/aggregator" |
| 50 | +genesis_key = "5b3132372c37332c3132342c3136312c362c3133372c3133312c3231332c3230372c3131372c3139382c38352c3137362c3139392c3136322c3234312c36382c3132332c3131392c3134352c31332c3233322c3234332c34392c3232392c322c3234392c3230352c3230352c33392c3233352c34345d" |
| 51 | +{% elif dolos_network = "sanchonet" %} |
| 52 | +aggregator = "https://aggregator.prerelease-sanchonet.api.mithril.network/aggregator" |
| 53 | +genesis_key = "5b3132372c37332c3132342c3136312c362c3133372c3133312c3231332c3230372c3131372c3139382c38352c3137362c3139392c3136322c3234312c36382c3132332c3131392c3134352c31332c3233322c3234332c34392c3232392c322c3234392c3230352c3230352c33392c3233352c34345d" |
| 54 | +{% else %} |
| 55 | +aggregator = "https://aggregator.release-mainnet.api.mithril.network/aggregator" |
| 56 | +genesis_key = "5b3139312c36362c3134302c3138352c3133382c31312c3233372c3230372c3235302c3134342c32372c322c3138382c33302c31322c38312c3135352c3230342c31302c3137392c37352c32332c3133382c3139362c3231372c352c31342c32302c35372c37392c33392c3137365d" |
| 57 | +{% endif %} |
| 58 | + |
| 59 | +[serve.grpc] |
| 60 | +listen_address = "[::]:50051" |
| 61 | + |
| 62 | +[serve.ouroboros] |
| 63 | +listen_path = "/ipc/dolos.socket" |
| 64 | +magic = {{ network_magic }} |
| 65 | + |
| 66 | +[logging] |
| 67 | +max_level = "info" |
| 68 | +include_pallas = false |
| 69 | +include_grpc = false |
0 commit comments