Closed cindyyan317 closed 17 hours ago
Attention: Patch coverage is 93.54839%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 68.15%. Comparing base (
d26c93a
) to head (243929b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
1052
Feature ledger_index
Return the latest closed ledger index before the given date. Without any database change, this PR binary search from valid range. For the full history node, the range is less than 9,000,000 now. The O(n) -> logN should be 27. Comparing with other handlers, it is acceptable.
Example input:
Example output: