diff --git a/cmd/export_effects.go b/cmd/export_effects.go index 778f545d..401cbfa6 100644 --- a/cmd/export_effects.go +++ b/cmd/export_effects.go @@ -11,7 +11,7 @@ import ( var effectsCmd = &cobra.Command{ Use: "export_effects", Short: "Exports the effects data over a specified range", - Long: "Exports the effects data over a specified range to an output file." + Long: "Exports the effects data over a specified range to an output file.", Run: func(cmd *cobra.Command, args []string) { cmdLogger.SetLevel(logrus.InfoLevel) endNum, strictExport, isTest, isFuture, extra := utils.MustCommonFlags(cmd.Flags(), cmdLogger) diff --git a/internal/utils/main.go b/internal/utils/main.go index aed4881b..a59c9a6a 100644 --- a/internal/utils/main.go +++ b/internal/utils/main.go @@ -522,7 +522,7 @@ func CreateBackend(start, end uint32, archiveURLs []string) (historyArchiveBacke var mainArchiveURLs = []string{ "https://history.stellar.org/prd/core-live/core_live_001", "https://history.stellar.org/prd/core-live/core_live_002", - //"https://history.stellar.org/prd/core-live/core_live_003", + "https://history.stellar.org/prd/core-live/core_live_003", } // testnet is only used for local testing with new Protocol features @@ -538,7 +538,7 @@ var futureArchiveURLs = []string{ } func CreateHistoryArchiveClient(archiveURLS []string) (historyarchive.ArchiveInterface, error) { - return historyarchive.NewArchivePool(archiveURLS, historyarchive.ConnectOptions{}) + return historyarchive.NewArchivePool(archiveURLS, historyarchive.ConnectOptions{UserAgent: "stellar-etl/1.0.0"}) } // GetLatestLedgerSequence returns the latest ledger sequence @@ -661,6 +661,7 @@ func (e EnvironmentDetails) CreateCaptiveCoreBackend() (*ledgerbackend.CaptiveSt NetworkPassphrase: e.NetworkPassphrase, HistoryArchiveURLs: e.ArchiveURLs, UseDB: false, + UserAgent: "stellar-etl/1.0.0", }, ) return backend, err