Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancements for Read RPC: Compatibility with near-indexer and Handli…
…ng Optimistic Blocks (near#10692) Hello everyone! This pull request addresses two urgent tasks related to our project's [Read RPC](https://github.com/near/read-rpc) functionality. [Issue 1](near/read-rpc#188): Making our state-indexer compatible with the near-indexer to eliminate the 3-second delay caused by [Lake-framework](https://github.com/near/near-lake-framework-rs). This compatibility enhancement ensures smoother and more efficient operation of our system by removing unnecessary delays. [Issue 2](near/read-rpc#186): Enhancing our service to handle requests for optimistic blocks directly, without proxying to nodes. This optimization streamlines the process, improving response times and overall system performance. To achieve these tasks, modifications have been made to the near-indexer. Specifically, the `build_streamer_message` method has been made public to facilitate the creation of `StreamerMessage` for optimistic blocks. This pull request aims to enhance the reliability, efficiency, and performance of our Read RPC functionality, addressing critical needs within our project.
- Loading branch information