You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logErr(err, "failed to load the oldest known exp ledger state from history DB")
return
}
ledger.SetState(next)
}
In the code above, instead of reading from core's database, we should fetch this value from Horizon's DB - we discuss the possibility of adding this value to the key_value_store and have the front-end instances fetch the value from there.
We'll put the responsibility of updating this value in the ingesting instances. We can take the following approach:
Use core's http end-point if Horizon if Horizon is still syncing/ingesting.
Once Horizon has catched up with core, update the value every time a new ledger is processed instead of reading from core's http end-point.
What alternatives are there?
Remove this field from Horizon's root resource.
The text was updated successfully, but these errors were encountered:
We are in the process of removing Horizon's dependency on Stellar Core database. This is one of the places where we still use it.
go/services/horizon/internal/app.go
Lines 204 to 236 in 28355c0
In the code above, instead of reading from core's database, we should fetch this value from Horizon's DB - we discuss the possibility of adding this value to the
key_value_store
and have the front-end instances fetch the value from there.We'll put the responsibility of updating this value in the ingesting instances. We can take the following approach:
What alternatives are there?
Remove this field from Horizon's root resource.
The text was updated successfully, but these errors were encountered: