Closed JamesHinshelwood closed 3 days ago
The database query to calculate block availability is very slow (8 seconds on the devnet). Therefore, we now only perform this query once at start-up. We keep the result in a RangeMap which we keep up-to-date whenever a new block is added.
RangeMap
The database query to calculate block availability is very slow (8 seconds on the devnet). Therefore, we now only perform this query once at start-up. We keep the result in a
RangeMap
which we keep up-to-date whenever a new block is added.