Releases: drift-labs/gateway
v1.2.3
v1.2.2
Fixes
- Make
--extra-rpcs
non-optional (again) - handle margin calculations for accounts in high-leverage mode
v1.2.1
Fixes:
- fix issue where
--extra-rpcs
was non-optional
v1.2.0
Changes
-
endpoints which send txs now accept a
?ttl=<SECONDS>
parameter to control how long gateway will rebroadcast a tx until it is either confirmed or timed out (see #88) by default this is 4s/~10 slots -
New flag
--extra-rpcs
used to allow gateway to broadcast txs via multiple RPC providers simultaneously. This can help to improve a txs chance of confirmation (#67)
v1.1.1
Fixes
- allow gateway to fallback to network queries when a market/oracle subscriptions does not exist ("it just works")
- users can debug slow queries with
--verbose
e.g. in the following output the query is making network fetch for perp market 24.
[2024-10-24T03:47:58Z INFO gateway] 127.0.0.1 | 200 | GET /v2/positionInfo/24 HTTP/1.1 | (546.571000ms)
[2024-10-24T03:48:01Z DEBUG rpc] fetch market: perp/24
[2024-10-24T03:48:01Z DEBUG rpc] fetch oracle account: perp/24
starting gateway with --markets jup-perp
(i.e perp/24) would improve performance
v1.1.0
This release greatly reduces the number of network connections made by gateway.
Users can provide the new flag --markets sol-perp,sol,wbtc
on startup to indicate which markets will be traded.
Gateway will use these flags and any open positions to determine appropriate network subscriptions.
Changes
- Gateway makes minimal network subscriptions by default. Alleviates the issue with user's facing 429s / rate limits (#86 )
INIT_RPC_THROTTLE
env can be set to some int (in seconds) to control request rate during gateway start phase
v1.0.4
Changes
- adds a priority fee subscriber, before it was on-demand. should reduce latency for tx sending endpoints
- Built from drift-rs 1.0 release
- anchor-lang version unpinned
- solana-client crates updated to v2.x.x versions
Fixes
- Allows support for more RPC providers e.g. helius non-dedicated plans, quicknode (#52). less reliance on getProgramAccounts
Other
- Gateway can be built with any rust stable version. no more requirement for <= 1.76.0
however, requirement for x86_64 arch/toolchain remains
v1.0.3
v1.0.2
v1.0.1
QoL updates for event subscription
- allow more backpressure
- fix issue where events with empty tx signatures were returned