babylonlabs-io / vigilante

Other
3 stars 1 forks source link

bstracker: Use DB for persistence #99

Open filippos47 opened 1 week ago

filippos47 commented 1 week ago

Currently, we load all delegations in memory. This might not be scalable for millions of delegations. How about introducing a DB, like other daemons?

Version: v0.15.0

Lazar955 commented 1 week ago

We also spawn go routines for monitoring the spending of staking tx output, so potentially 1m go routines, meaning 4GB RAM being used for that