Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: metrics/relayer: monitor block height #2653

Open
popcnt1 opened this issue Sep 19, 2024 · 0 comments
Open

proposal: metrics/relayer: monitor block height #2653

popcnt1 opened this issue Sep 19, 2024 · 0 comments
Assignees
Labels
proposal New external API or other notable changes

Comments

@popcnt1
Copy link
Collaborator

popcnt1 commented Sep 19, 2024

Proposal Details

block height metrics(mainnet/testnet):

  1. bitcoin_network
  2. rooch_bitcoin_node
  3. rooch_executed

alert:
when delta > threshold

  1. bitcoin_network - rooch_bitcoin_node > 3
  2. rooch_bitcoin_node - rooch_executed > bitcoin_reorg_block_count + 3

approach:

  1. get rooch's best block: rooch move view --function 0x4::pending_block::get_best_block
  2. compare with https://mempool.space
@popcnt1 popcnt1 added the proposal New external API or other notable changes label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal New external API or other notable changes
Projects
Status: No status
Development

No branches or pull requests

2 participants