ssv icon indicating copy to clipboard operation
ssv copied to clipboard

Message validation ConsensusState eviction

Open nkryuchkov opened this issue 1 year ago • 2 comments

Evict state entries older than 2 epochs

nkryuchkov avatar Dec 12 '23 13:12 nkryuchkov

@y0sher @nkryuchkov

what do you think to replace the ttlhash with a map that every slot we lock, unset the key from 64 slots ago, and then unlock?

moshe-blox avatar Feb 12 '24 15:02 moshe-blox

@moshe-blox but what if there's a slot with no messages?

nkryuchkov avatar Feb 12 '24 17:02 nkryuchkov

@nkryuchkov @moshe-blox I think we should adjust this to fit alan/no-fork.

y0sher avatar Jul 15 '24 19:07 y0sher

@y0sher Perhaps we need to consider trying to change ttlcache with an array or something like that

nkryuchkov avatar Jul 16 '24 10:07 nkryuchkov