Horizon v2.31.0
2.31.0
What's Changed
If you are using a custom captive-core config and setting Horizon CAPTIVE_CORE_USE_DB=false
, then need to make sure to set EXPERIMENTAL_BUCKETLIST_DB=false
in the captive core config toml to be compatible with stellar-core versions 21 and earlier
Breaking Changes
- Change ingestion filtering logic to store transactions if any filter matches on it. (5303)
- The previous behaviour was to store a tx only if both asset and account filters match together. So even if a tx matched an account filter but failed to match an asset filter, it would not be stored by Horizon.
- Captive-core configuration parameters updated to align with stellar-core v21 (5333)
- BucketlistDB is now the default database for stellar-core, deprecating the usage of
EXPERIMENTAL_BUCKETLIST_DB
in captive core configuration toml. - A new mandatory parameter
DEPRECATED_SQL_LEDGER_STATE
(default: false) is required by stellar-core on its captive core configuration toml file. if the toml provided byCAPTIVE_CORE_CONFIG_PATH
does not have this new setting, Horizon will add it automatically, therefore, no action required. - If using
EXPERIMENTAL_BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT
orEXPERIMENTAL_BUCKETLIST_DB_INDEX_CUTOFF
in captive core configuration toml, they must be renamed toBUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT
andBUCKETLIST_DB_INDEX_CUTOFF
respectively.
- BucketlistDB is now the default database for stellar-core, deprecating the usage of
Added
- Bump XDR definitions (5289), (5330)
- Add new async transaction submission endpoint (5188)
- Add
horizon_ingest_errors_total
metric key (5302) - Add transaction hash to txsub timeout response (5328)
- Add new captive-core flags for V1 Meta (5309)
- Add version check for protocol 21 (5346)
- Improve horizon history reaper (5331). New reaper configuration flags
REAP_FREQUENCY
- the frequency in units of ledgers for how often history is reaped.
Fixed
- Fix the following ingestion error:
error preparing range: error starting prepare range: the previous Stellar-Core instance is still running
(5307)