Horizon v0.21.0 rc1
Pre-release
Pre-release
Release Candidate. Do not use in production.
Database migration notes
This version adds a new index on a table used by experimental ingestion system. If it has not been enabled, migration will be instant. If you migrate from a previous version with experimental ingestion system enabled database migration can take a couple minutes.
Changes
/paths/strict-send
can now accept adestination_account
parameter. Ifdestination_account
is provided then the endpoint will return all payment paths which terminate with an asset held bydestination_account
. Note that the endpoint will acceptdestination_account
ordestination_assets
but not both.destination_assets
is a comma separated list of assets encoded asnative
orcode:issuer
./paths/strict-receive
can now accept asource_assets
parameter instead ofsource_account
parameter. Ifsource_assets
is provided the endpoint will return all payment paths originating from an asset insource_assets
. Note that the endpoint will acceptsource_account
orsource_assets
but not both.source_assets
is a comma separated list of assets encoded asnative
orcode:issuer
.- Add experimental support for
/offers
. To enable it, set--enable-experimental-ingestion
CLI param orENABLE_EXPERIMENTAL_INGESTION=true
env variable. - When experimental ingestion is enabled a state verification routine is started every 64 ledgers to ensure a local state is the same as in history buckets. This can be disabled by setting
--ingest-disable-state-verification
CLI param orINGEST-DISABLE-STATE-VERIFICATION
env variable. - Add flag to apply pending migrations before running horizon. If there are pending migrations, previously you needed to run
horizon db migrate up
before runninghorizon
. Those two steps can be combined into one with the--apply-migrations
flag (APPLY_MIGRATIONS
env variable). - Improved the speed of state ingestion in experimental ingestion system.
- Fixed a bug in "Signers for Account" (experimental) transaction meta ingesting code.
- Fixed performance issue in Effects related endpoints.
- Fixed DoS vector in Go HTTP/2 implementation.
- Dropped support for Go 1.10, 1.11.
Check Beta Testing New Ingestion System if you want to test new ingestion system.