Changes
- Remove
--ingest-failed-transactionsflag. From now on Horizon will always ingest failed transactions. WARNING: If your application is using Horizon DB directly (not recommended!) remember that now it will also contain failed txs. (#2702). - Add transaction set operation count to
history_ledger(#2690).
Extend ingestion to store the total number of operations in the transaction set and expose it in the ledger resource viatx_set_operation_count. This feature allows you to assess the used capacity of a transaction set. - Fix
/metricsend-point (#2717). - Gracefully handle incorrect assets in the query parameters of GET
/offers(#2634). - Fix logging message in OrderBookStream (#2699).
- Fix data race in root endpoint (#2745).
Experimental
-
Add experimental support for database reingestion using a Stellar Core subprocess instead of a persistent Stellar Core database (#2695).
Stellar Core v12.3.0 added an experimental feature which allows replaying ledger's metadata in-memory. This feature speeds up reingestion and starts paving the way to remove the dependency between Stellar Core's database and Horizon.
For now, this is only supported while running
horizon db reingest. To try out this new experimental feature, you need to specify the following parameters:--enable-captive-core-ingestionorENABLE_CAPTIVE_CORE_INGESTION=true.--stellar-core-binary-pathorSTELLAR_CORE_BINARY_PATH.
SDK Maintainers: action needed
- Add the new field
tx_set_operation_countto theledgerresource (#2690). This field can be anumberornull.