Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lighthorizon: Sync with upstream master branch #4404

Merged
merged 114 commits into from
May 24, 2022

Commits on Feb 8, 2022

  1. services/ticker: ingest assets optimizations (stellar#4218)

    * ticker ingest assets optimizations
    
    * Update services/ticker/internal/actions_asset.go
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    
    * Update services/ticker/internal/scraper/asset_scraper.go
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    
    * Update services/ticker/internal/scraper/main.go
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    
    * remove commented code
    
    * remove pointer passing of FinalAsset
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    stfung77 and leighmcculloch authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    995905d View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Configuration menu
    Copy the full SHA
    78f4336 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. Make sure we test reingestion for all possible operations (stellar#4231)

    This change ensures that all existing operations are reingested
    and that all future operations are covered(by going through
    xdr.OperationTypeToStringMap)
    2opremio authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    2cce28d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7fde58 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. services/horizon: Release DB connection in /paths when no longer need…

    …ed (stellar#4228)
    
    Release DB connection to the pool as soon as it's no longer needed in
    `/paths/*`.
    
    Horizon starts `REPEATABLE READ` transaction in `StateMiddleware` to ensure that
    queries return consistent (at the same ledger) data when sending multiple
    queries. However, the tx is held in `/paths/*` for entire request time, even
    though the path finding algorithm is not using a DB.
    bartekn authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    d2521af View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. services/horizon: Exclude trades with >10% rounding slippage from tra…

    …de aggregations (stellar#4178)
    
    * Exclude trades with >10% rounding_slippage from trade aggregations
    
    * Fixing tests
    
    * Add db.NullRat for null bigrats in the db
    
    * Add integration tests for rounding slippage filtering in trade aggs
    
    * Add --rounding-slippage-filter flag
    
    * Fix typo
    
    * Review feedback
    
    * note div-by-zero
    
    * Track the base and counter reserves on each trade so we can sanity-check ingest results
    
    * Review feedback
    
    * re-use orderbook package to calculate rounding slippage
    
    * Clean up test a bit
    
    * Missed a few test updates
    
    * Clarify terminology around slippage to fix calculations
    
    * Add an extra column we might need in order to calculate rounding slippage later
    
    * Disable roundingSlippage calc for /paths
    
    * OPTIMIZE ALLOCATIONS :robot-face:
    
    * Workaround for stellar#4203
    
    * Add changelog entry
    
    * RoundingSlippage should be in bips not megabips
    
    * remove redundant if clauses
    
    * Fixing test
    
    * Fix flag description
    
    * remove trade reserves tracking for debugging
    
    * Add some comments to clarify slippage calculations
    Paul Bellamy authored Feb 21, 2022
    Configuration menu
    Copy the full SHA
    f427028 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Configuration menu
    Copy the full SHA
    906e5bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bb9ab2 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Fix StreamAllLiquidityPools and StreamAllOffers (stellar#4236)

    Co-authored-by: Paul Bellamy <[email protected]>
    tamirms and Paul Bellamy authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    e125e7b View commit details
    Browse the repository at this point in the history
  2. update changelog for 2.15.0

    Paul Bellamy committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    6e8b4e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f9a595 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Configuration menu
    Copy the full SHA
    13ea996 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Fix typo in changelog

    Paul Bellamy committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    ee782b6 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'release-horizon-v2.15.0'

    Paul Bellamy committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    a2dab49 View commit details
    Browse the repository at this point in the history
  3. Merge pull request stellar#4249 from stellar/merge-horizon-2.15.0

    Merge Horizon 2.15.0 back to Master
    Paul Bellamy authored Feb 28, 2022
    Configuration menu
    Copy the full SHA
    fee9199 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. services/horizon: Add LedgerHashStore to Captive-Core config (stellar…

    …#4251)
    
    This commit revers LedgerHashStore removed from Horizon's CaptiveCoreConfig in:
    b7fde58. This change makes it impossible to PrepareRange using Captive-Core if
    there is any other ingestion instance running because CaptiveCoreBackend tries
    to load the hash of the ledger from archives when LedgerHashStore is not set.
    But ledgers are published every 5 minutes so they contain the hash of the latest
    ledger only for a brief amount of time (the moment when checkpoint is
    published).
    bartekn authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    498a3b3 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2022

  1. Configuration menu
    Copy the full SHA
    64d93b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bfe748 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d833c02 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Add note to the changelog about write iops

    Paul Bellamy committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    6788832 View commit details
    Browse the repository at this point in the history
  2. Adding changelog entry for 4251

    Paul Bellamy committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    e29c780 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into release-horizon-v2.15.1

    Paul Bellamy authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    d892615 View commit details
    Browse the repository at this point in the history
  4. Merge pull request stellar#4258 from stellar/release-horizon-v2.15.1

    Merge horizon v2.15.1 release branch back to master
    Paul Bellamy authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    697ab03 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Configuration menu
    Copy the full SHA
    b6a65b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. all: [GitHub actions] Reset the module and build cache in master/prot…

    …ected (stellar#4266)
    
    * Reset the module and build cache in master/protected
    
    Before, we:
    
    1. Didn't use the build cache in the master branch. This caused the cache
       to not be updated. This caused PRs to rerun all the tests.
    
    2. Didn't reset the go module cache. This would eventually cause the cache
       to accumulate orphan dependencies when we remove them.
    
    * Update .github/actions/setup-go/action.yml
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    
    * Prioritize the master cache over caches from other branches
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    2opremio and leighmcculloch authored Mar 11, 2022
    Configuration menu
    Copy the full SHA
    d8713d6 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2022

  1. Configuration menu
    Copy the full SHA
    512e11a View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. all: More go-setup github action fixes (stellar#4274)

    * More go-setup github action fixes
    
    * Address review feedback
    2opremio authored Mar 14, 2022
    Configuration menu
    Copy the full SHA
    9b3cb40 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. xdr: add instructions for generating xdr (stellar#4280)

    Add a readme for the xdr package describing how to generate xdr.
    
    I frequently forget and have to figure it out each time. This might help someone else too.
    
    The examples use docker so that it is a quick copy/paste for most people. We use docker frequently so most of us have docker. There's a good chance that less of us have ruby setup in a good state locally.
    
    I also added the ref to the Rakefile because I also forget how to specify a different source location for downloading XDR and if the ref was always specified it would be easier to just edit it.
    leighmcculloch authored Mar 15, 2022
    Configuration menu
    Copy the full SHA
    3d935af View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. services/ticker: cache tomls during scraping (stellar#4286)

    Cache TOMLs to during scraping to some degree. Caching is local to each routine that is scraping and not shared across those routines, so it is possible to still get duplicate requests. Cache usage is logged.
    
    The asset scraper may end up repeatedly scraping the same issuer's TOML many times if the issuer has issued many assets. This is not great since any scraper should attempt to respect the resources of hosts as much as possible.
    
    The cache is in-memory and per routine because the cache is only required temporarily, and to introduce an external cache, such as redis, would be overkill.
    
    Cache usage is logged so that it can be inspected and understood.
    leighmcculloch authored Mar 16, 2022
    Configuration menu
    Copy the full SHA
    e5837ff View commit details
    Browse the repository at this point in the history
  2. services/ticker: use log fields during asset ingestion (stellar#4288)

    Use log fields in logs in the asset ingestion job of Ticker and include TOML url in logs.
    
    To make filtering and analyzing logs easier.
    leighmcculloch authored Mar 16, 2022
    Configuration menu
    Copy the full SHA
    225b4ba View commit details
    Browse the repository at this point in the history
  3. services/ticker: reduce size of toml cache in memory (stellar#4289)

    Change the maximum size of the toml cache used during asset ingestion in Ticker to a single toml, and sort the assets by their TOML URLs when loading.
    
    If we sort assets by their TOML URLs we only need to store one toml in the cache, the last one. This reduces the amount of memory required.
    leighmcculloch authored Mar 16, 2022
    Configuration menu
    Copy the full SHA
    b45b1ba View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Configuration menu
    Copy the full SHA
    079fe75 View commit details
    Browse the repository at this point in the history
  2. all: Add Protocol 19 XDR and update StrKey to support Signed Payloads (

    …stellar#4279)
    
    * Add Protocol 19 XDR: raw and generated
    * Update codebase to use new XDR for predicates/timebounds
    * Add stringification method for Preconditions
    * Add encode/decode helper for CAP-40 signed payloads
    * Add Horizon DB migration: signers can be longer now
    * Disable generating the V3 extension on accounts
    Shaptic authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    fc8b9c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. Replace keybase with publicnode in the stellar core config (stellar#4291

    )
    
    Signed-off-by: Satyam Zode <[email protected]>
    
    Co-authored-by: Satyam Zode <[email protected]>
    satyamz and satyamz authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    b4d7327 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81c7eec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    105173d View commit details
    Browse the repository at this point in the history
  4. Rename methods and functions in submission system (stellar#4298)

    It's the first time I get into this code and the naming has made it
    hard to understand. So, I decided to make the naming more
    understandable.
    2opremio authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    7df8601 View commit details
    Browse the repository at this point in the history
  5. Merge pull request stellar#4299 from stellar/master

    horizon: Merge master into horizon-protocol-19 branch
    2opremio authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    5580e6e View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. PR feedback (stellar#4300)

    Paul Bellamy authored Mar 22, 2022
    Configuration menu
    Copy the full SHA
    e2a78e0 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    af1aaa0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6eca07 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. Configuration menu
    Copy the full SHA
    b6605cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67f991f View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. txnbuild: Add support for new CAP-21 preconditions. (stellar#4303)

    Adds support for new CAP-21 preconditions with a simple, but breaking API
    change:
    
    TransactionParams.Timebounds -> TransactionParams.Preconditions.TimeBounds
    
    You can now pass a lot more preconditions to a Transaction (including
    timebounds), and these are managed by the new Preconditions object. All of the
    XDR abstractions are hidden away behind this object.
    Shaptic authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    649016c View commit details
    Browse the repository at this point in the history
  2. services/horizon: Support new CAP-21 transaction conditions (stellar#…

    …4297)
    
    * Add cap-21 transaction preconditions
    
    * Replace xdr.TransactionEnvelope.TimeBounds -> .Preconditions function
    
    * Rename Signers -> ExtraSigners for more consistent naming
    
    * Store the new precondition fields in the DB
    
    * Render the new precondition fields in the resourceadapter
    
    * ./gogenerate.sh
    
    * use a pointer so omitempty works
    
    * more consistent naming
    
    * Keep Timebounds helper
    
    * PR feedback
    
    * tidy transaction precondition helpers
    
    * typo fixes
    
    * remove dead param
    
    * use bigint so we have enough space for a uint32
    
    * use text instead of varchar, to avoid future migrations
    
    * Updating scenario sqls
    
    * need to load the preconditions from the db
    
    * Temporary passing data for v2 preconditions transaction insertion test
    
    * Update xdr/transaction_envelope_test.go
    
    Co-authored-by: George <[email protected]>
    
    * Update services/horizon/internal/db2/history/transaction_ledger_bounds.go
    
    Co-authored-by: George <[email protected]>
    
    * PR feedback
    
    Co-authored-by: George <[email protected]>
    Paul Bellamy and Shaptic authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    9fdd7ff View commit details
    Browse the repository at this point in the history
  3. txnbuild: Complete rename, avoid using XDR types in `TransactionParam…

    …s`. (stellar#4307)
    
    * Timebounds -> TimeBounds, Ledgerbounds -> LedgerBounds
    * Duration -> int64, SignerKey -> string
    Shaptic authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    6d0f666 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. all: Update Protocol 19 XDR to the latest (stellar#4308)

    * Update XDR to latest from sisuresh/stellar-core#cap21-40-2
    * Update codebase to make cb predicates use Int64s again
    Shaptic authored Mar 26, 2022
    Configuration menu
    Copy the full SHA
    da091b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. services/horizon: Add a rate limit for path finding requests. (stella…

    …r#4310)
    
    Add a per second rate limit for path finding requests backed by https://pkg.go.dev/golang.org/x/time/rate
    tamirms authored Mar 28, 2022
    Configuration menu
    Copy the full SHA
    463d2b9 View commit details
    Browse the repository at this point in the history
  2. clients/horizonclient: fix multi-parameter url for claimable balance …

    …query (stellar#4248)
    
    * Add cursor and limit parameters to the ClaimableBalanceRequest
    * Close stellar#4247
    iateadonut authored Mar 28, 2022
    Configuration menu
    Copy the full SHA
    489c091 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Configuration menu
    Copy the full SHA
    abd5fb7 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Configuration menu
    Copy the full SHA
    4bdb8f3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request stellar#4315 from stellar/master

    horizon: Merge master into horizon-protocol-19 branch
    2opremio authored Apr 4, 2022
    Configuration menu
    Copy the full SHA
    f943540 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5ca7f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1377c84 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. all: Change outdated CircleCI build badge (stellar#4324)

    Use the GitHub actions Go workflow badge (liking to the master push Go workflow page)
    2opremio authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    159ebff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45b6f52 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Configuration menu
    Copy the full SHA
    486c02f View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. stellar#4305: Add integration test for extra signers using tx precond…

    …itions
    
    Added additional round trip verification by re-querying preconditions on tx after submission, per pr feedback
    sreuland authored Apr 11, 2022
    Configuration menu
    Copy the full SHA
    f009dcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2e3a23 View commit details
    Browse the repository at this point in the history
  3. Merge pull request stellar#4330 from sreuland/release_2.16.0_notes

    Port Release 2.16.0 notes back to master
    sreuland authored Apr 11, 2022
    Configuration menu
    Copy the full SHA
    cc8f56d View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. all: remove go.list and related docs (stellar#4328)

    Co-authored-by: Leigh McCulloch <[email protected]>
    MishraShivendra and leighmcculloch authored Apr 12, 2022
    Configuration menu
    Copy the full SHA
    9a2f098 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9ee067 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f22bc32 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Configuration menu
    Copy the full SHA
    690705b View commit details
    Browse the repository at this point in the history
  2. Merge pull request stellar#4332 from sreuland/p19_precondition_tests

    services/horizon/integration: Added more integration tests for coverage of preconditions on transactions
    sreuland authored Apr 13, 2022
    Configuration menu
    Copy the full SHA
    7cd3256 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2b0266 View commit details
    Browse the repository at this point in the history
  4. Horizon v2.16.1 CHANGELOG (stellar#4333) (stellar#4336)

    Co-authored-by: Bartek Nowotarski <[email protected]>
    bartekn authored Apr 13, 2022
    Configuration menu
    Copy the full SHA
    3072ec4 View commit details
    Browse the repository at this point in the history
  5. Revert "Pin go versions temporarily" (stellar#4338)

    This reverts commit c83df6a.
    bartekn authored Apr 13, 2022
    Configuration menu
    Copy the full SHA
    d5332a2 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. services/horizon: Use bigint over timestamp to accommodate large …

    …years (stellar#4337)
    
    * Merge Protocol 19 migrations into a single file
    * Actually generate V3 account extensions
    * Change accounts.sequence_time to be bigint over timestamp:
    
    This is necessary because PostgreSQL puts "reasonable" limitations
    on how dates can be represented. Because the state verifier test
    will generate random int64s for the V3 account extension field
    introduced in CAP-21, this will blow up on inserting into the DB
    with errors like:
    
        pq: date/time field value out of range: "120911623444-02-01 21:35:20Z"
    
    because PostgreSQL only allows years up to 5874897
    (https://stackoverflow.com/a/36446977).
    
    Technically, since this field is not user-controlled and comes
    directly from Stellar Core, we would not see this in practice.
    
    However, it's a more durable fix to stop the extra layer of
    "interpretation" of this value and just treat it like it is:
    a 64-bit integer that happens to represent a UNIX timestamp.
    Shaptic authored Apr 14, 2022
    Configuration menu
    Copy the full SHA
    55ab073 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. xdr: Update xdrgen (stellar#4341)

    Paul Bellamy authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    8be872a View commit details
    Browse the repository at this point in the history
  2. services/horizon: Change min_account_sequence_age column from `bigi…

    …nt` to string (stellar#4339)
    
    * `minSeqAge` can be unsigned in the XDR
    * Update codebase to conform to new data type: null.Int -> null.String
    * Fix time-based tests to be tz-agnostic + work w/ uint64
    Shaptic authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    4dd082b View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    24e64d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13f957a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    911b0e1 View commit details
    Browse the repository at this point in the history
  4. Merge stellar/horizon-protocol-19 into master (stellar#4340)

    * all: Add Protocol 19 XDR and update StrKey to support Signed Payloads (stellar#4279)
    * services/horizon: Support new account fields for protocol-19. (stellar#4294)
    * xdr, keypair: Add helpers to create CAP-40 decorated signatures (stellar#4302)
    * services/horizon: Update txsub queue to account for new CAP-21 preconditions (stellar#4301)
    * txnbuild: Add support for new CAP-21 preconditions. (stellar#4303)
    
    Adds support for new CAP-21 preconditions with a simple, but breaking API
    change:
    
    TransactionParams.Timebounds -> TransactionParams.Preconditions.TimeBounds
    
    You can now pass a lot more preconditions to a Transaction (including
    timebounds), and these are managed by the new Preconditions object. All of the
    XDR abstractions are hidden away behind this object.
    
    * services/horizon: Support new CAP-21 transaction conditions (stellar#4297)
    * txnbuild: Complete rename, avoid using XDR types in `TransactionParams`. (stellar#4307)
    * all: Update Protocol 19 XDR to the latest (stellar#4308)
    * horizon: Set up protocol 19 integration tests infrastructure (stellar#4312)
    * horizon: Test new protocol 19 account fields (stellar#4322)
    * horizon: Add integration test for extra signers using tx preconditions (stellar#4305)
    * horizon: Add transaction submission test for Protocol 19 (stellar#4327)
    * services/horizon: Use `bigint` over `timestamp` to accommodate large years (stellar#4337)
    
    This is necessary because PostgreSQL puts "reasonable" limitations
    on how dates can be represented. Because the state verifier test
    will generate random int64s for the V3 account extension field
    introduced in CAP-21, this will blow up on inserting into the DB
    with errors like:
    
        pq: date/time field value out of range: "120911623444-02-01 21:35:20Z"
    
    because PostgreSQL only allows years up to 5874897
    (https://stackoverflow.com/a/36446977).
    
    Technically, since this field is not user-controlled and comes
    directly from Stellar Core, we would not see this in practice.
    
    However, it's a more durable fix to stop the extra layer of
    "interpretation" of this value and just treat it like it is:
    a 64-bit integer that happens to represent a UNIX timestamp.
    
    * services/horizon: Change `min_account_sequence_age` column from `bigint` to string (stellar#4339)
    * Add changelog details and prep v10.0.0 SDK release
    
    Co-authored-by: Alfonso Acosta <[email protected]>
    Co-authored-by: erika-sdf <[email protected]>
    Co-authored-by: Paul Bellamy <[email protected]>
    Co-authored-by: Shawn Reuland <[email protected]>
    Co-authored-by: shawn <[email protected]>
    Co-authored-by: George <[email protected]>
    6 people authored Apr 19, 2022
    Configuration menu
    Copy the full SHA
    9f968df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd4ae14 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    b4d5609 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    18ab1d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec61581 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. Configuration menu
    Copy the full SHA
    8125679 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    229fb05 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    e8214f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c775e3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    586a6a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a4eea8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c9d3b4a View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2022

  1. Configuration menu
    Copy the full SHA
    453586e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d40d8fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb2eca3 View commit details
    Browse the repository at this point in the history
  4. services/horizon: Improve transaction precondition omitempty behavi…

    …or (stellar#4360)
    
    * Omit max_ledger when it's 0
    * Drops minSeqAge from response when it's 0:
    
    Because we use a string for the field (to work around languages
    that don't natively support uint64 values) in the JSON response,
    but the field is a non-pointer in the XDR, it will always be set
    and will be 0 by default.
    
    Since it's a duration, 0 is effectively "not set", and so it
    should be omitted from the resulting precondition.
    
    Caveat: if someone explicitly sets it to 0 when building their tx,
    this is equivalent to not setting it, so they may be confused
    about its omission, but this is working as intended.
    Shaptic authored Apr 29, 2022
    Configuration menu
    Copy the full SHA
    df25775 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. Configuration menu
    Copy the full SHA
    d732775 View commit details
    Browse the repository at this point in the history
  2. services/horizon: Merge stable v2.17.0 back into master: (stellar#4363)

    * Use UNIX timestamps instead of RFC3339 strings for timebounds. (stellar#4361)
    Shaptic authored May 2, 2022
    Configuration menu
    Copy the full SHA
    a384ff6 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. xdrgen: remove gemfile and rakefile to just use docker for the xdrgen (

    …stellar#4366)
    
    * remove gemfile and rakefile to just use docker for the xdrgen
    
    * Fetch xdr/*.x from github
    
    * add make xdr-clean and xdr-update
    
    * Update Makefile
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    
    * move xdr go lint frontmatter to xdrgen
    
    * Rebuild with new xdrgen frontmatter
    
    * lock the xdrgen commit we use
    
    Co-authored-by: Leigh McCulloch <[email protected]>
    Paul Bellamy and leighmcculloch authored May 3, 2022
    Configuration menu
    Copy the full SHA
    bcbfa04 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Configuration menu
    Copy the full SHA
    32c7530 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. Configuration menu
    Copy the full SHA
    0253dce View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. GHA: Bump Core version to v19.0.1 in Horizon workflows. (stellar#4378)

    * Update version in exp/tools/dump-ledger-state to latest
    Shaptic authored May 10, 2022
    Configuration menu
    Copy the full SHA
    429ecee View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. horizon: build docker image with --no-cache flag

    ### What
    
    Add `--no-cache` flag to horizon docker build.
    
    ### Why
    
    We provide stellar-horizon package version as parameter but we don't do that for core.
    This means we may end up using cached layer for package installs and this may result
    in older core being installed
    
    ### Testing
    
    The change was tested locally using:
    ```
    VERSION=2.17.0-267 make docker-build
    ```
    jacekn committed May 11, 2022
    Configuration menu
    Copy the full SHA
    5c2be91 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. services/horizon, clients/horizonclient: Allow filtering ingested tra…

    …nsactions by account or asset. (stellar#4277)
    
    Co-authored-by: Alfonso Acosta <[email protected]>
    Co-authored-by: Bartek Nowotarski <[email protected]>
    Co-authored-by: George <[email protected]>
    4 people authored May 12, 2022
    Configuration menu
    Copy the full SHA
    14ebb04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6425818 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80c35b1 View commit details
    Browse the repository at this point in the history
  4. Push stellar/ledger-state-diff images from Github actions (stellar#4380)

    The stellar/ledger-state-diff jobs are failing on testnet because the latest image corresponds
    to the git commit 697ab03 from March, 2022.
    That version is not compatible with protocol 19.
    tamirms authored May 12, 2022
    Configuration menu
    Copy the full SHA
    c58b073 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c743549 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2022

  1. Merge pull request stellar#4379 from jacekn/cache

    horizon: build docker image with --no-cache flag
    jacekn authored May 16, 2022
    Configuration menu
    Copy the full SHA
    3d6dedd View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Configuration menu
    Copy the full SHA
    7605a74 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. tools/alb-replay: Add new features to alb-replay (stellar#4384)

    * Allow opening gzip log files directly
    * Allow filtering requests in the log file by path and by status code
    * Add quiet mode (which only logs failing requests)
    2opremio authored May 19, 2022
    Configuration menu
    Copy the full SHA
    5fa5149 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    156db13 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. support/db, services/horizon/internal: Configure postgres client conn…

    …ection timeouts for read only db (stellar#4390)
    
    Configure postgres client connection timeouts for read only database sessions
    tamirms authored May 20, 2022
    Configuration menu
    Copy the full SHA
    e96fc25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    daeecfc View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. services/horizon/internal/db2/history: Implement StreamAllOffers usin…

    …g batches (stellar#4397)
    
    The query to get all rows in the offers table currently takes more than 10 seconds to execute.
    Given that the horizon request timeout is 10 seconds, we need to reimplement StreamAllOffers to use batching.
    tamirms authored May 24, 2022
    Configuration menu
    Copy the full SHA
    5a0686a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24f2cc5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    256ebdd View commit details
    Browse the repository at this point in the history
  4. Update changelog

    tamirms committed May 24, 2022
    Configuration menu
    Copy the full SHA
    e0b4d32 View commit details
    Browse the repository at this point in the history
  5. Merge pull request stellar#4400 from stellar/horizon-db-optimizations

    horizon: Merge horizon-db-optimizations into master
    2opremio authored May 24, 2022
    Configuration menu
    Copy the full SHA
    8212530 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    56ebd7e View commit details
    Browse the repository at this point in the history