BoostryJP / ibet-Wallet-API

A powerful API suite for seamlessly building ibet blockchain wallet systems 🛠
https://ibet.jp/ibet-for-fin
Apache License 2.0
9 stars 0 forks source link

[FEATURE] EventsQuery search range upper limit #1295

Closed YoshihitoAso closed 1 year ago

YoshihitoAso commented 1 year ago

Is your feature request related to a problem? Please describe.

For EventsQuery, currently there is no upper limit for the search range of blockFrom/blockTo. In most cases, when the search range is large, a timeout (10 sec) occurs in node connection.

Describe the solution you'd like

I would like to have an upper bound on the blockFrom/blockTo search range. I think that the upper limit is about 10000 blocks as a level that will surely prevent timeout.