diff --git a/docker/stellar-core.cfg b/docker/stellar-core.cfg index 31a037cb..449e0806 100644 --- a/docker/stellar-core.cfg +++ b/docker/stellar-core.cfg @@ -40,10 +40,10 @@ VALIDATORS=[ # Stellar.org history store [HISTORY.sdf1] -get="curl -sf http://history.stellar.org/prd/core-live/core_live_001/{0} -o {1}" +get="curl -sf -A stellar-etl/1.0.0 http://history.stellar.org/prd/core-live/core_live_001/{0} -o {1}" [HISTORY.sdf2] -get="curl -sf http://history.stellar.org/prd/core-live/core_live_002/{0} -o {1}" +get="curl -sf -A stellar-etl/1.0.0 http://history.stellar.org/prd/core-live/core_live_002/{0} -o {1}" [HISTORY.sdf3] -get="curl -sf http://history.stellar.org/prd/core-live/core_live_003/{0} -o {1}" +get="curl -sf -A stellar-etl/1.0.0 http://history.stellar.org/prd/core-live/core_live_003/{0} -o {1}" diff --git a/internal/input/changes.go b/internal/input/changes.go index 36853654..7dc7dfaa 100644 --- a/internal/input/changes.go +++ b/internal/input/changes.go @@ -51,6 +51,7 @@ func PrepareCaptiveCore(execPath string, tomlPath string, start, end uint32, env NetworkPassphrase: env.NetworkPassphrase, HistoryArchiveURLs: env.ArchiveURLs, UseDB: false, + UserAgent: "stellar-etl/1.0.0", }, ) if err != nil {