Upgrading to this version from <= v2.8.3 will trigger a state rebuild. During this process (which will take at least 10 minutes), Horizon will not ingest new ledgers.
Protocol 18 support: This release adds support for Protocol 18 (CAP 38: Automated Market Makers).
DB Schema Migration
- This release comes with a DB migration removing
offer_idfield fromhistory_tradestable and adding new tables related to AMM. It should not take more than 15 minutes to complete the migration.
Breaking changes
- There are multiple breaking changes that will activate on Protocol 18 upgrade. Please check the Horizon Liquidity Pool API doc or the Apiary Mock for more information. Please upgrade to the latest SDKs that are backward compatible.
- The
--ingestflag is set by default. If--captive-core-config-pathis not set, the config file is generated based on network passhprase (3783).
Changes
- CAP 38: Automated Market Makers) support. All the API changes have been outlined in Horizon Liquidity Pool API doc.
- Update
/pathsendpoint to take liquidity pools into account when searching for possible routes between assets (3818). - Multiple performance improvements in
/paths: 3816, 3965, 3933. - Requests to
/pathsare now cancelled, respecting--connection-timeoutflag value (3081). - Multiple performance improvements to state ingestion processors: 3945, 3956, 3963, 3953, 3944.
- Add missing tx result codes in
txsub(3866). - Add new metric
ProcessorsRunDurationSummary, oldProcessorsRunDurationis deprecated (3940). - Logs during state ingesiton now display
progressvalue which is percentage progress indicator (3946).