babylonchain / staking-indexer

A tool that extracts BTC staking relevant data from the Bitcoin blockchain
Other
3 stars 4 forks source link

Indexer identifying staking transaction expiration #55

Open vitsalis opened 5 months ago

vitsalis commented 5 months ago

Currently, the indexer does not handle active staking transaction expiration, which works only if the staking transactions expire in a very long time. However, this limits out options for unbonding time which might lead to additional concerns. One solution would be to connect the expiry checker with the indexer, and before processing a new block, first check whether any active transactions have expired on that block. There might be other solutions.