go icon indicating copy to clipboard operation
go copied to clipboard

Stellar's public monorepo of go code

Results 260 go issues
Sort by recently updated
recently updated
newest added

In https://github.com/stellar/stellar-core/pull/3750 the `offline-close` close command was added to stellar-core. This command allows stellar-core to fast forward from wherever it currently is by N ledgers, closing them with no content...

horizon

### What problem does your feature solve? There is no default `WriteTimeout` in the setup of http server. If the server instance is used using a configuration without `WriteTimeout` it...

### What version are you using? horizon 2.25.0 ### What did you do? I had a situation where captivecore core instance experienced problems and horizon could not talk to the...

horizon
bug

This is an epic tracking the overall implementation of the reaping solution proposed in [Improving Reap Performance of History Lookup Tables](https://docs.google.com/document/d/1RiW5vCqEAy-evteAc5Ap5NRZsJ16jN7nJn4igUazMJs/edit#) 1. https://github.com/stellar/go/issues/4864 2. https://github.com/stellar/go/issues/4865 3. https://github.com/stellar/go/issues/4866 4. https://github.com/stellar/go/issues/4867 5....

horizon
reap
cdp-horizon-scrum

After implementing the reaping solution we should run two horizon instances with 1 year and 1 month retention respectively. We should compare performance of ingestion between the horizon instances against...

horizon
reap

Update the [reaping goroutine](https://github.com/stellar/go/blob/master/services/horizon/internal/reap/system.go#L85) so that it deletes rows in the history lookup tables which are outside the retention window. This should be as simple as executing a `DELETE` statement...

horizon
reap

Whenever we call [CreateAccounts](https://github.com/stellar/go/blob/master/services/horizon/internal/db2/history/account.go#L27-L80) , [CreateHistoryClaimableBalances](https://github.com/stellar/go/blob/master/services/horizon/internal/db2/history/history_claimable_balances.go#L22-L68) , [CreateAssets](https://github.com/stellar/go/blob/master/services/horizon/internal/db2/history/asset.go#L36), and [CreateHistoryLiquidityPools](https://github.com/stellar/go/blob/master/services/horizon/internal/db2/history/history_liquidity_pools.go#L21-L77) functions we should update the `latest_referenced_ledger` column during ingestion. It is safe to overwrite the column when we're ingesting the...

horizon
reap

We need to add a `latest_referenced_ledger` column and an index on that column to the following history lookup tables: - `history_accounts` - `history_claimable_balances` - `histor_assets` - `history_liquidity_pools` For more context,...

horizon
reap

In [Improving Reap Performance of History Lookup Tables](https://docs.google.com/document/d/1RiW5vCqEAy-evteAc5Ap5NRZsJ16jN7nJn4igUazMJs/edit#bookmark=id.age4mwii22xq) I estimated that it would take 22 days to scan through all the rows of the history_claimable_balances table with the [ReapLookupTables](https://github.com/stellar/go/blob/master/services/horizon/internal/db2/history/main.go#L843) function....

horizon
reap

### What problem does your feature solve? CLI requests to futurenet are failing for contracts that are compiled with an SDK that uses a env interface greater than futurenet. Eventually...