Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing a custom file as a template configuration #19

Merged
merged 1 commit into from
Mar 20, 2019
Merged

Allow passing a custom file as a template configuration #19

merged 1 commit into from
Mar 20, 2019

Conversation

KtorZ
Copy link
Contributor

@KtorZ KtorZ commented Mar 18, 2019

This allows for passing a custom configuration from a yaml file
with the following format:

genesis: 89D9B5A5B8DDC8D7E5A6795E9774D97FAF1EFEA59B2CAF7EAF9F8C5B32059DF4
genesis_prev: 5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb
epoch_stability_depth: 2160
protocol_magic: 764824073
epoch_start: 0
peers:
  - iohk-hosts: relays.cardano-mainnet.iohk.io:3000
  - hermes: http://hermes.dev.iohkdev.io/mainnet

where every peer could be in theory any relay nodes; This would enable
connecting the http-bridge to a local cluster of node in order to
perform various task of integration testing.

This allows for passing a custom configuration from a yaml file
with the following format:

```yaml
genesis: 89D9B5A5B8DDC8D7E5A6795E9774D97FAF1EFEA59B2CAF7EAF9F8C5B32059DF4
genesis_prev: 5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb
epoch_stability_depth: 2160
protocol_magic: 764824073
epoch_start: 0
peers:
  - iohk-hosts: relays.cardano-mainnet.iohk.io:3000
  - hermes: http://hermes.dev.iohkdev.io/mainnet
```

where every peer could be in theory any relay nodes; This would enable
connecting the http-bridge to a local cluster of node in order to
perform various task of integration testing.
@vincenthz
Copy link
Member

looking good, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants