Skip to content

Conversation

@ingenlabsltd
Copy link

@ingenlabsltd ingenlabsltd commented May 20, 2025

  • Use latest block from xrplcluster.com
  • Only override start_block_number by checking the difference of upper and lower local node block by certain threshold. (300000 blocks)
  • Allow force override and configurable threshold

@ingenlabsltd
Copy link
Author

ingenlabsltd commented May 20, 2025

Just gonna open this pull request in here.. Sometimes if I do xrpl verifier restart and the block isn't available anymore at the local node due to online_delete I manually need to adjust the start_block_number to prevent indexing error. This patch fixes it dynamically with certain block difference threshold to force use the latest start block number.

-- The script assumes that you have already synced the node atleast 14 days of data and probably atleast 14 days of indexed data for it to trigger the update_start_block_number

@ingenlabsltd ingenlabsltd changed the title Dynamic adjust start_block_number for XRPL Indexer to Prevent Indexing error due to online_delete Dynamically adjust start_block_number for XRPL Indexer to Prevent Indexing error due to online_delete May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant