neo-go icon indicating copy to clipboard operation
neo-go copied to clipboard

Properly handle blocked/unblocked committee members in Neo cache

Open AnnaShaleva opened this issue 1 year ago • 1 comments

Current Behavior

Neo committee and validators cache is being updated only if vote-related or transfer-related transactions were included into block. We don't recalculate cache if Policy blocked/unblocked some accounts.

Expected Behavior

We should recalculate Neo cache wrt Policy changes. Cache won't be as optimized as it is now, but it will work properly with this change.

This bug is not critical since committee members blocking/unblocking is not a hot path on public networks.

AnnaShaleva avatar May 20 '24 07:05 AnnaShaleva

Cache won't be as optimized as it is now

I doubt it'll be noticeable in practice.

roman-khimov avatar Jul 16 '24 10:07 roman-khimov