0.1.34
Highlights:
- Some minor error result consistency improvements (SOL-33)
- Support added for batch requests (with multiple subqueries), but for now those requests aren't handled by cacher and passed on directly to validators, and as a consequence their results are not cached either (SOL-29)
- Added new metric to track the number of batch requests called
batch_requests
which is just a normal integer counter. - Web application firewall was added as an optional feature, in order to use it one has to provide a file containing filtering rules, written in Lua language, via
--rules
flag. See the example file on how to write rules. - Improved cache hit rate for program related accounts, this is done via sharing the data which was cached by
getProgramAccounts
withgetAccountInfo
. But the cache hit is not guaranteed for now, becausegetProgramAccounts
responses don't necessarily contain context with slot, which is required bygetAccountInfo
requests. So in order for cache hit to occur, one of the related accounts togetProgramAccounts
should be sent via websockets (as a notification), and thus updating the owner program's slot. This mechanism should reduce the amount of active subscriptions (but probably not much).
What's Changed
- Invalid parameters error: consistency with validator by @bobs4462 in #179
- Added support for batch requests by @bobs4462 in #178
- WAF by @polachok in #156
- Added default slot for getProgramAccount requests by @bobs4462 in #180
Full Changelog: 0.1.33...0.1.34