Skip to content

0.1.34

Compare
Choose a tag to compare
@bmuddha bmuddha released this 22 Oct 18:00
· 60 commits to master since this release
3cb5341

Highlights:

  1. Some minor error result consistency improvements (SOL-33)
  2. 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)
  3. Added new metric to track the number of batch requests called batch_requests which is just a normal integer counter.
  4. 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.
  5. Improved cache hit rate for program related accounts, this is done via sharing the data which was cached by getProgramAccounts with getAccountInfo. But the cache hit is not guaranteed for now, because getProgramAccounts responses don't necessarily contain context with slot, which is required by getAccountInfo requests. So in order for cache hit to occur, one of the related accounts to getProgramAccounts 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