Skip to content

Commit

Permalink
exp/ledgerexporter: Drop unneeded dependency on historyarchive. (#4778
Browse files Browse the repository at this point in the history
)

* Also, fix up bad merge in the captive core config
  • Loading branch information
Shaptic authored Jan 11, 2024
1 parent 423fa1f commit ed7ae81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions exp/lighthorizon/build/ledgerexporter/captive-core-pubnet.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -191,16 +191,8 @@ ADDRESS = "stellar2.franklintempleton.com:11625"
HISTORY = "curl -sf https://stellar-history-usc.franklintempleton.com/azuscshf401/{0} -o {1}"

[[VALIDATORS]]
<<<<<<<< HEAD:exp/lighthorizon/build/ledgerexporter/captive-core-pubnet.cfg
NAME="wirexSG"
ADDRESS="sg.stellar.wirexapp.com"
HOME_DOMAIN="wirexapp.com"
PUBLIC_KEY="GAB3GZIE6XAYWXGZUDM4GMFFLJBFMLE2JDPUCWUZXMOMT3NHXDHEWXAS"
HISTORY="curl -sf http://wxhorizonasiastga1.blob.core.windows.net/history/{0} -o {1}"
========
NAME = "FT_SCV_3"
HOME_DOMAIN = "www.franklintempleton.com"
PUBLIC_KEY = "GA7DV63PBUUWNUFAF4GAZVXU2OZMYRATDLKTC7VTCG7AU4XUPN5VRX4A"
ADDRESS = "stellar3.franklintempleton.com:11625"
HISTORY = "curl -sf https://stellar-history-ins.franklintempleton.com/azinsshf401/{0} -o {1}"
>>>>>>>> master:services/horizon/internal/configs/captive-core-pubnet.cfg
3 changes: 1 addition & 2 deletions exp/services/ledgerexporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"time"

"github.com/aws/aws-sdk-go/service/s3"
"github.com/stellar/go/historyarchive"
"github.com/stellar/go/ingest/ledgerbackend"
"github.com/stellar/go/network"
supportlog "github.com/stellar/go/support/log"
Expand Down Expand Up @@ -60,7 +59,7 @@ func main() {
core, err := ledgerbackend.NewCaptive(captiveConfig)
logFatalIf(err, "Could not create captive core instance")

target, err := historyarchive.ConnectBackend(
target, err := storage.ConnectBackend(
*targetUrl,
storage.ConnectOptions{
Context: context.Background(),
Expand Down

0 comments on commit ed7ae81

Please sign in to comment.