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

services/horizon: Refactor handling of stellar-core-binary-path #3101

Merged

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Oct 6, 2020

Containers and configurations should be allowed to set --stellar-core-binary-path regardless of the behavior we want from Horizon.

  1. Do not assume that a non-empty --stellar-core-binary-path (or --remote-captive-core-url) implies captive core should be used (use the pre-existing --enable-captive-core-ingestion as a tollgate instead).
  2. Allow setting both --remote-captive-core-url and --stellar-core-binary-path simultaneously, associating a higher priority to the URL.

Fixes #2973

@2opremio 2opremio requested a review from a team October 6, 2020 15:45
@cla-bot cla-bot bot added the cla: yes label Oct 6, 2020
Containers and configurations should be allowed to set
`--stellar-core-binary-path` regardless of the behavior we want
from Horizon.

1. Do not assume that a non-empty `--stellar-core-binary-path` (or
   `--remote-captive-core-url`) implies captive core should be used
   (use the pre-existing `--enable-captive-core-ingestion` as a tollgate
   instead).
2. Allow setting both `--remote-captive-core-url` and `--stellar-core-binary-path` simultaneously, associating a higher priority to the URL.
@2opremio 2opremio force-pushed the fix-captive-core-flag-utilization branch from b7cec24 to 6f45d4a Compare October 6, 2020 15:52
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.

Ignore --stellar-core-binary-path when --enable-captive-core not set
2 participants