pragmaxim-com / ergo-uexplorer

Supplementary ergo chain explorer/analyzer with Scala/ZIO
MIT License
15 stars 1 forks source link

MultiMap + Supernode persistable Map implementations #4

Closed pragmaxim closed 1 year ago

pragmaxim commented 1 year ago

FeeContract addresses, miner-fee addresses, etc... cannot be persisted as common addresses as they can grow to millions of boxes. this implementation seamlessly handles supernode addresses as separate persistable Maps so that indexing these addresses does not affect performance.

Currently up to 1000 supernodes is handled as performance has been tested with that ... 1000th supernode is an address with ~ 4000 boxes (regardless of being spent).