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

Add cache for unsupported transactions when parsing raw mempool #2855

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

ouziel-slama
Copy link
Contributor

@ouziel-slama ouziel-slama commented Dec 16, 2024

  • Double-check the spelling and grammar of all strings, code comments, etc.
  • Double-check that all code is deterministic that needs to be
  • Add tests to cover any new or revised logic
  • Ensure that the test suite passes
  • Update the project release notes
  • Update the project documentation, as appropriate, with a corresponding Pull Request in the Documentation repository


def restore(self):
if os.path.exists(self.cache_path):
with open(self.cache_path, "r") as f:

Check warning

Code scanning / pylint

Using open without explicitly specifying an encoding.

Using open without explicitly specifying an encoding.
Copy link
Member

@adamkrellenstein adamkrellenstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any other times we have to clear the cache? major version bumps? bootstraps?

)

def backup(self):
with open(self.cache_path, "w") as f:

Check warning

Code scanning / pylint

Using open without explicitly specifying an encoding.

Using open without explicitly specifying an encoding.
@ouziel-slama ouziel-slama merged commit 00348e0 into develop Dec 16, 2024
13 of 16 checks passed
@ouziel-slama ouziel-slama deleted the rawmempool branch December 16, 2024 17:28
@ouziel-slama
Copy link
Contributor Author

Are there any other times we have to clear the cache? major version bumps? bootstraps?

on version change when needed.. I added an issue for that here #2856

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.

3 participants