Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsuccessful/caching not witness status #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bragov4ik
Copy link
Owner

Actually this cache doesn't seem to improve the performance.
In some cases, the performance drops by a few percents, in other, it increases by the same amount.
Overall, not a reasonable improvement, considering a mess it introduced with types for witness statuses.

It makes sense, since inside is_unique_famous_witness already uses cached is_famous_witness and it checks only events from a single round

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant