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

Only calculate owner addresses once per block #2561

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

Conversation

Bushstar
Copy link
Member

@Bushstar Bushstar commented Oct 10, 2023

Summary

  • Only calculate owner addresses once per block. Addition of a set of CScript addresses added to CCustomCSView in ConnectBlock. When addresses are calculated they are added to this set, before calculating addresses this set is checked if it already contains the address and can then skip doing it again.

Implications

  • Storage

    • Database reindex required
    • Database reindex optional
    • Database reindex not required
    • None
  • Consensus

    • Network upgrade required
    • Includes backward compatible changes
    • Includes consensus workarounds
    • Includes consensus refactors
    • None

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

Successfully merging this pull request may close these issues.

None yet

2 participants