babylonchain / staking-indexer

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

overflow calculation #48

Closed jrwbabylonlab closed 5 months ago

jrwbabylonlab commented 5 months ago

The eligibility status represents the result of this check: https://babylon-chain.atlassian.net/wiki/spaces/BABYLON/pages/262013082/Phase-1+Mainnet+Protocol+WIP#3.2.-New-Staking-Transactions

This PR mostly deal with the staking cap calculation. For the rest of the checks, it shall be handled in seperate PR with proper tests https://github.com/babylonchain/staking-indexer/issues/47