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_id
field fromhistory_trades
table 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
--ingest
flag is set by default. If--captive-core-config-path
is 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
/paths
endpoint to take liquidity pools into account when searching for possible routes between assets (3818). - Multiple performance improvements in
/paths
: 3816, 3965, 3933. - Requests to
/paths
are now cancelled, respecting--connection-timeout
flag 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
, oldProcessorsRunDuration
is deprecated (3940). - Logs during state ingesiton now display
progress
value which is percentage progress indicator (3946).