babylonchain / staking-indexer

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

TVL calculation does not tolerate crashes #61

Closed gitferry closed 5 months ago

gitferry commented 5 months ago

Currently, the confirmed TVL is updated per transaction. When the indexer bootstraps in the middle of processing a block, the tvl it gets is the one that includes processed staking txs. To avoid this, we should skip processing these staking txs

gitferry commented 5 months ago

addressed by #62