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

standalone: Add transaction sanity check. #2949

Merged

Commits on May 27, 2022

  1. standalone: Add transaction sanity check.

    This adds a new exported function to the blockchain/standalone module
    named CheckTransactionSanity which can be used to perform basic
    transaction sanity checks.
    
    It also updates the documentation and includes comprehensive tests.
    
    The primary motivation for this change is that there are several
    consumers that currently make use of this functionality and it lives in
    the blockchain package which is slated to made internal and therefore
    would otherwise become inaccessible to external consumers.
    
    Another nice benefit of making this logic available via the
    blockchain/standalone module is that it intentionally requires way less
    dependencies which is ideal for consumers.
    davecgh committed May 27, 2022
    Configuration menu
    Copy the full SHA
    0f26059 View commit details
    Browse the repository at this point in the history