forked from cosmos/relayer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added range tx search when applicable (#228)
* feat: added range query check and support when applicable * chore: used logger * chore: removed unwanted header checks and fixed docker file * chore: reduced blocks to sync * chore: added config var block-rpc-addr which when available will be used to fetch tx blocks to sync faster else fallbacks to normal slow one * fix: used block height when using range block rpc * fix: fixed issue of skipping blocks when error occurred * fix: added retry when fetching client state which resulted in packets missing procesing * fix: ignored client state errors for now * fix: code refactorings and Pr feedbacks * fix: issue with max blocks in case of empty array * feat: made blocks configuratble and use the block-rpc for most cases decreasing the api usage * feat: added error logs * feat: fixed logs * fix: fixed chain rpc lagging issue * fix: fixed retry issue in case of mempool full * fix: reset lastqueried block if provider returns smaller value * fix: fixed query to adjust last saved height * fix: increased offset
- Loading branch information
Showing
5 changed files
with
157 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.