Skip to content

Commit

Permalink
Add useragent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chowbao committed Jan 18, 2024
1 parent ef553e5 commit 4a20e63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/stellar-core.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
1 change: 1 addition & 0 deletions internal/input/changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4a20e63

Please sign in to comment.